[GIT PULL 0/5] EFI urgent fixes

From: Matt Fleming
Date: Fri May 26 2017 - 07:37:00 EST


Hi folks,

Please pull the following fixes. There are patches that resolve a few
boot crashes and some minor build and boot log cleanups.

The following changes since commit 08332893e37af6ae779367e78e444f8f9571511d:

Linux 4.12-rc2 (2017-05-21 19:30:23 -0700)

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 5d36982a80248b2dcce395e7fa4ba342e814ced1:

efi/bgrt: Skip efi_bgrt_init in case of non-efi boot (2017-05-26 11:27:38 +0100)

----------------------------------------------------------------
- Make the boot console quiet when using Xen on EFI by deleting a
pointless error message - Juergen Gross

- Silence harmless warnings emitted with GCC 7 - Arnd Bergmann

- Prevent a crash when booting kexec with the efi=old_map kernel
command line parameter by disabling EFI runtime services - Sai Praneeth

- Fix boot crash when using kaslr and efi=old_map. The crash is
caused because of assumptions about PAGE_OFFSET alignment which are
not true with kaslr enabled - Baoquan He

- Fix boot regression when a machine has an ACPI BGRT table and is
booted using BIOS, not EFI. - Dave Young

----------------------------------------------------------------
Arnd Bergmann (1):
efi: Remove duplicate 'const' specifiers

Baoquan He (1):
x86/efi: Correct ident mapping of efi old_map when kalsr enabled

Dave Young (1):
efi/bgrt: Skip efi_bgrt_init in case of non-efi boot

Juergen Gross (1):
efi: Don't issue error message when booted under xen

Sai Praneeth (1):
x86/efi: Disable runtime services on kexec kernel if booted with efi=old_map

arch/x86/platform/efi/efi.c | 6 ++-
arch/x86/platform/efi/efi_64.c | 79 +++++++++++++++++++++++++++----
arch/x86/platform/efi/quirks.c | 3 ++
drivers/firmware/efi/efi-bgrt.c | 3 ++
drivers/firmware/efi/libstub/secureboot.c | 4 +-
5 files changed, 83 insertions(+), 12 deletions(-)