]> 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)
commitdb72896e179c206c827b779e7ac89acdea5dbbe7
treef543d862b4efdbd79f2fd68da97d6edd29e0baac
parent9889342a56a66f856dcb54e9ae50d63ae6ead6d6
efi/x86: Remove runtime table address from kexec EFI setup data

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