[GIT PULL] x86/boot changes for v5.1

From: Ingo Molnar
Date: Thu Mar 07 2019 - 03:42:56 EST


Linus,

Please pull the latest x86-boot-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-boot-for-linus

# HEAD: 6f913de3231e1d70a871135b38219da7810df218 x86/boot/compressed/64: Do not read legacy ROM on EFI system

Most of the changes center around the difficult problem of KASLR pinning
down hot-removable memory regions. At the very early stage KASRL is
making irreversible kernel address layout decisions we don't have full
knowledge about the memory maps yet. So the changes from Chao Fan add
this (parsing the RSDP table early), together with fixes from Borislav
Petkov.

Thanks,

Ingo

------------------>
Borislav Petkov (4):
x86/boot: Build the command line parsing code unconditionally
x86/boot: Fix cmdline_find_option() prototype visibility
x86/boot: Fix randconfig build error due to MEMORY_HOTREMOVE
x86/boot: Correct RSDP parsing with 32-bit EFI

Chao Fan (7):
x86/boot: Copy kstrtoull() to boot/string.c
x86/boot: Add "acpi_rsdp=" early parsing
x86/boot: Search for RSDP in the EFI tables
x86/boot: Search for RSDP in memory
x86/boot: Early parse RSDP and save it in boot_params
x86/boot: Parse SRAT table and count immovable memory regions
x86/boot/KASLR: Limit KASLR to extract the kernel in immovable memory only

Kairui Song (1):
x86/kexec: Fill in acpi_rsdp_addr from the first kernel

Kirill A. Shutemov (1):
x86/boot/compressed/64: Do not read legacy ROM on EFI system


arch/x86/boot/compressed/Makefile | 2 +
arch/x86/boot/compressed/acpi.c | 338 ++++++++++++++++++++++++++++++++++
arch/x86/boot/compressed/cmdline.c | 4 -
arch/x86/boot/compressed/kaslr.c | 75 ++++++--
arch/x86/boot/compressed/misc.c | 3 +
arch/x86/boot/compressed/misc.h | 23 ++-
arch/x86/boot/compressed/pgtable_64.c | 19 +-
arch/x86/boot/string.c | 141 ++++++++++++++
arch/x86/boot/string.h | 1 +
arch/x86/kernel/kexec-bzimage64.c | 4 +-
10 files changed, 585 insertions(+), 25 deletions(-)
create mode 100644 arch/x86/boot/compressed/acpi.c