efi/arm64: work around Image placement issues
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 2 repliesIn review
- v22 patches 2 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | efi/libstub: arm64: Force Image reallocation if BSS was not reserveddrivers/ | +48 | 0 replies | |
| 2/4 | efi/libstub: arm64: Relax 2M alignment again for relocatable kernelsdrivers/ | +13 | 0 replies | |
| 3/4 | efi/libstub: arm64: Warn when efi_random_alloc() failsdrivers/ | +2 | 0 replies | |
| 4/4 | efi/libstub: arm64: Double check image alignment at entrydrivers/ | +4 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by.
| Patch | Benjamin Herrenschmidt |
|---|---|
| Series | T-b |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/4] efi/arm64: work around Image placement issues
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.
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(-)
Signature · 1 line
2.20.1