Message ID | 20180125103131.19168-1-ard.biesheuvel@linaro.org |
---|---|
Headers | show |
Series | efi/arm64: unmap the kernel during runtime service calls | expand |
On 1/25/2018 3:31 AM, Ard Biesheuvel wrote: > Note that capsule update has been omitted. This is a bit involved, and > I'd rather get some feedback before burning too many cycles on that. All > other services should be functional, with the caveat that EFI variable > names are now limited to 1024 [wide] characters, and UEFI variables > themselves to 64 KB. > I'm curious, why these limitations? We don't have any concern about the name length limitation at this time, but the variable size one is concerning. We have a feature which creates a variable greater than 64KB that we want to utilize from Linux. The size limitation would seem to prevent that. -- Jeffrey Hugo Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project. -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 29 January 2018 at 14:51, Jeffrey Hugo <jhugo@codeaurora.org> wrote: > On 1/25/2018 3:31 AM, Ard Biesheuvel wrote: > >> Note that capsule update has been omitted. This is a bit involved, and >> I'd rather get some feedback before burning too many cycles on that. All >> other services should be functional, with the caveat that EFI variable >> names are now limited to 1024 [wide] characters, and UEFI variables >> themselves to 64 KB. >> > > I'm curious, why these limitations? > Because mapping and unmapping things on the fly in the UEFI page tables is a bit complicated, although I need to do something of the kind for capsules anyway, so once I solve that, we can use the same approach for variables. > We don't have any concern about the name length limitation at this time, but > the variable size one is concerning. > > We have a feature which creates a variable greater than 64KB that we want to > utilize from Linux. The size limitation would seem to prevent that. > Well, the limit itself is rather arbitrary, and putting >64 KB into the fault tolerant, write ahead logging NOR flash seems mildly inappropriate to me. But you are right, the spec currently has no such limitations, so ideally, nor should the OS. -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html