efi/x86: Remove runtime table address from kexec EFI setup data
authorArd Biesheuvel <ardb@kernel.org>
Mon, 20 Jan 2020 15:15:00 +0000 (16:15 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Sun, 23 Feb 2020 20:59:42 +0000 (21:59 +0100)
commit0a67361dcdaa29dca1e77ebac919c62e93a8b3bc
treef543d862b4efdbd79f2fd68da97d6edd29e0baac
parent06c0bd93434c5b9b284773f90bb054aff591d5be
efi/x86: Remove runtime table address from kexec EFI setup data

Since commit 33b85447fa61946b ("efi/x86: Drop two near identical versions
of efi_runtime_init()"), we no longer map the EFI runtime services table
before calling SetVirtualAddressMap(), which means we don't need the 1:1
mapped physical address of this table, and so there is no point in passing
the address via EFI setup data on kexec boot.

Note that the kexec tools will still look for this address in sysfs, so
we still need to provide it.

Tested-by: Tony Luck <tony.luck@intel.com> # arch/ia64
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/x86/include/asm/efi.h
arch/x86/kernel/kexec-bzimage64.c
arch/x86/platform/efi/efi.c