Skip to content

efi: Simply DT handoff from stub to kernel

Ard Biesheuvel linux-arm-kernel linux-efi loongarch 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3efi: Turn boot memmap handling into shared codearch/loongarch/kernel/efi.c drivers/firmware/efi/efi.c include/linux/efi.h+11 -61 reply
2/3efi: Pass EFI boot memmap struct address to core kernelDocumentation/arch/arm/uefi.rst drivers/firmware/efi/fdtparams.c drivers/firmware/efi/libstub/fdt.c+37 -527 replies
3/3efi: Make the 'linux,uefi-boot-memmap' DT property optionaldrivers/firmware/efi/fdtparams.c+38 -41 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchRichard Lyu
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] efi: Simply DT handoff from stub to kernel

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]>

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(-)
Signature · 1 line
2.47.3