]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4d257fad4ce504c364a74f67d61a8ce779658670
treef543d862b4efdbd79f2fd68da97d6edd29e0baac
parented5fad3cd8c5936f3555c75d123d66f55102d620
efi/x86: Remove runtime table address from kexec EFI setup data

Since commit 43076c947b42449a ("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