[PATCH v3 0/4] efi/arm64: work around Image placement issues

Ard Biesheuvel ardb at kernel.org
Mon Jul 26 07:51:52 PDT 2021


Ben reported that distro GRUB may fail to boot in some circumstances,
and tracked it down to an issue in the way distro GRUB allocates space
for the image. Due to an oversight (addressed in patch #2), this
condition is rarely triggered, but let's work around it in any case (#1)

Remaining patches add further warnings for conditions that are unlikely
to occur, but should not be ignored.

Build tested only.

Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>

Ard Biesheuvel (4):
  efi/libstub: arm64: Force Image reallocation if BSS was not reserved
  efi/libstub: arm64: Relax 2M alignment again for relocatable kernels
  efi/libstub: arm64: Warn when efi_random_alloc() fails
  efi/libstub: arm64: Double check image alignment at entry

 drivers/firmware/efi/libstub/arm64-stub.c | 71 +++++++++++++++++---
 1 file changed, 61 insertions(+), 10 deletions(-)

-- 
2.20.1




More information about the linux-arm-kernel mailing list