diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2020-01-20 16:15:00 +0100 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-02-23 21:59:42 +0100 |
commit | 0a67361dcdaa29dca1e77ebac919c62e93a8b3bc (patch) | |
tree | f543d862b4efdbd79f2fd68da97d6edd29e0baac /arch/x86/kernel | |
parent | 06c0bd93434c5b9b284773f90bb054aff591d5be (diff) | |
download | linux-0a67361dcdaa29dca1e77ebac919c62e93a8b3bc.tar.gz linux-0a67361dcdaa29dca1e77ebac919c62e93a8b3bc.tar.bz2 linux-0a67361dcdaa29dca1e77ebac919c62e93a8b3bc.zip |
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>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/kexec-bzimage64.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kernel/kexec-bzimage64.c b/arch/x86/kernel/kexec-bzimage64.c index f293d872602a..f400678bd345 100644 --- a/arch/x86/kernel/kexec-bzimage64.c +++ b/arch/x86/kernel/kexec-bzimage64.c @@ -142,7 +142,6 @@ prepare_add_efi_setup_data(struct boot_params *params, struct efi_setup_data *esd = (void *)sd + sizeof(struct setup_data); esd->fw_vendor = efi.fw_vendor; - esd->runtime = efi.runtime; esd->tables = efi.config_table; esd->smbios = efi.smbios; |