[PATCH 0/3] efi: Simply DT handoff from stub to kernel
Ard Biesheuvel <[email protected]>
| Newsgroups | dev.linux.lists.loongarch,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-efi |
|---|---|
| Message-ID | <[email protected]> |
Currently, 4 separate DT properties are used as an internal ABI to hand over the EFI memory map from the EFI stub to the kernel proper. This information is redundant, as the same information is already made available via a EFI configuration table. So replace those 4 DT properties with a single one that carries the address of this config table, and make it optional, so that it can be omitted in cases where the kernel is able to locate the table directly via its GUID. Cc: Huacai Chen <[email protected]> Cc: WANG Xuerui <[email protected]> Cc: [email protected] Ard Biesheuvel (3): efi: Turn boot memmap handling into shared code efi: Pass EFI boot memmap struct address to core kernel efi: Make the 'linux,uefi-boot-memmap' DT property optional Documentation/arch/arm/uefi.rst | 10 +-- arch/loongarch/kernel/efi.c | 10 +-- drivers/firmware/efi/efi.c | 4 + drivers/firmware/efi/fdtparams.c | 77 ++++++++++++++++++-- drivers/firmware/efi/libstub/fdt.c | 40 +--------- include/linux/efi.h | 3 + 6 files changed, 84 insertions(+), 60 deletions(-) -- 2.47.3