Skip to contentSkip to conversation

EFI fixes for v5.14-rc4

GIT PULL Applied Ard Biesheuvel 2 participants 2 messages Aug 3, 2021 – Aug 10, 2021 EFI

lore
Share & tools
lore

Ard Biesheuvel

author maintainer
#0 lore raw

The 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)

Cc Ingo Molnar <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Benjamin Herrenschmidt <[email protected]>

----------------------------------------------------------------
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(-)
#1 lore raw

[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.

---