EFI fixes for v5.14-rc4
Ard Biesheuvel
maintainerThe following changes since commit 47e1e233e9d822dfda068383fb9a616451bda703:
efi/mokvar: Reserve the table only if it is in boot services data (2021-07-20 09:28:09 +0200)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git tags/efi-urgent-for-v5.14-rc4
for you to fetch changes up to c32ac11da3f83bb42b986702a9b92f0a14ed4182:
efi/libstub: arm64: Double check image alignment at entry (2021-08-03 07:43:13 +0200)
----------------------------------------------------------------
EFI fixes for v5.14-rc2:
A batch of fixes for the arm64 stub image loader:
- fix a logic bug that can make the random page allocator fail spuriously
- force reallocation of the Image when it overlaps with firmware reserved memory regions
- fix an oversight that defeated on optimization introduced earlier where images loaded at a suitable offset are never moved if booting without randomization
- complain about images that were not loaded at the right offset by the firmware image loader.
----------------------------------------------------------------
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
Benjamin Herrenschmidt (1):
arm64: efi: kaslr: Fix occasional random alloc (and boot) failure
drivers/firmware/efi/libstub/arm64-stub.c | 71 +++++++++++++++++++++++++----- drivers/firmware/efi/libstub/randomalloc.c | 2 + 2 files changed, 63 insertions(+), 10 deletions(-)
[tip: efi/urgent] Merge tag 'efi-urgent-for-v5.14-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi into efi/urgent
The following commit has been merged into the efi/urgent branch of tip:
The following commit has been merged into the efi/urgent branch of tip:
Commit-ID: 55203550f9afb027389bd24ce85bd90044c3aa81 Gitweb: https://git.kernel.org/tip/55203550f9afb027389bd24ce85bd90044c3aa81 Author: Thomas Gleixner <[email protected]> AuthorDate: Tue, 10 Aug 2021 10:24:49 +02:00 Committer: Thomas Gleixner <[email protected]> CommitterDate: Tue, 10 Aug 2021 10:24:49 +02:00
Merge tag 'efi-urgent-for-v5.14-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi into efi/urgent
Pull EFI fixes from Ard Biesheuvel:
A batch of fixes for the arm64 stub image loader:
- fix a logic bug that can make the random page allocator fail spuriously
- force reallocation of the Image when it overlaps with firmware reserved memory regions
- fix an oversight that defeated on optimization introduced earlier where images loaded at a suitable offset are never moved if booting without randomization
- complain about images that were not loaded at the right offset by the firmware image loader.
---