[GIT PULL 0/9] EFI fixes for v5.7-rc

Ard Biesheuvel
2020-04-09T13:04:56Z

The following changes since commit 594e576d4b93b8cda3247542366b47e1b2ddc4dc:

efi/libstub/arm: Fix spurious message that an initrd was loaded (2020-03-29 12:08:18 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git tags/efi-urgent

for you to fetch changes up to 55a3cad6df4bff67280c4722ceb2a5ff4375eff9:

efi/x86: Don't remap text<->rodata gap read-only for mixed mode (2020-04-09 14:50:21 +0200)

----------------------------------------------------------------
EFI fixes for v5.7-rcX:
- a couple of mixed mode fixes for the changes made in v5.6
- a couple of fixes from Arvind to deal with buggy firmware that does not
load the PE/COFF kernel image based on the description in the PE/COFF
header, but simply copies it to memory
- add a clarification to the x86 boot protocol documentation regarding the
previous issue
- reduce the stack footprint of the new file I/O code, to suppress a
compiler warning
- use the right sprintf() flavor in the CPER code to prevent a potential
out of bounds write
- prevent a symbol reference from going out of range in the ARM startup code
- cosmetic fix for an issue reported by Coverity

----------------------------------------------------------------
Ard Biesheuvel (4):
efi/arm: Deal with ADR going out of range in efi_enter_kernel()
Documentation: efi/x86: clarify EFI handover protocol and its requirements
efi/libstub/file: merge filename buffers to reduce stack usage
efi/x86: Don't remap text<->rodata gap read-only for mixed mode

Arvind Sankar (2):
efi/x86: Move efi stub globals from .bss to .data
efi/x86: Always relocate the kernel for EFI handover entry

Colin Ian King (1):
efi/libstub/x86: remove redundant assignment to pointer hdr

Gary Lin (1):
efi/x86: Fix the deletion of variables in mixed mode

Takashi Iwai (1):
efi/cper: Use scnprintf() for avoiding potential buffer overflow

Documentation/x86/boot.rst | 21 ++++++++++++++++++---
arch/arm/boot/compressed/head.S | 3 ++-
arch/x86/platform/efi/efi_64.c | 16 ++++++++++++----
drivers/firmware/efi/cper.c | 2 +-
drivers/firmware/efi/libstub/efistub.h | 2 +-
drivers/firmware/efi/libstub/file.c | 27 ++++++++++++++-------------
drivers/firmware/efi/libstub/x86-stub.c | 18 +++++++++++-------
7 files changed, 59 insertions(+), 30 deletions(-)