linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] efi/arm64: work around Image placement issues
@ 2021-07-26 10:09 Ard Biesheuvel
  2021-07-26 10:09 ` [PATCH v2 1/2] efi/libstub: arm64: Force Image reallocation if BSS was not reserved Ard Biesheuvel
  2021-07-26 10:09 ` [PATCH v2 2/2] efistub: arm64: relax 2M alignment again for relocatable kernels Ard Biesheuvel
  0 siblings, 2 replies; 4+ messages in thread
From: Ard Biesheuvel @ 2021-07-26 10:09 UTC (permalink / raw)
  To: linux-efi; +Cc: linux-arm-kernel, Ard Biesheuvel, Benjamin Herrenschmidt

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)

Build tested only.

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

Ard Biesheuvel (2):
  efi/libstub: arm64: Force Image reallocation if BSS was not reserved
  efistub: arm64: relax 2M alignment again for relocatable kernels

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

-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-26 11:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-26 10:09 [PATCH v2 0/2] efi/arm64: work around Image placement issues Ard Biesheuvel
2021-07-26 10:09 ` [PATCH v2 1/2] efi/libstub: arm64: Force Image reallocation if BSS was not reserved Ard Biesheuvel
2021-07-26 11:33   ` Benjamin Herrenschmidt
2021-07-26 10:09 ` [PATCH v2 2/2] efistub: arm64: relax 2M alignment again for relocatable kernels Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).