summaryrefslogtreecommitdiff
path: root/drivers/firmware
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2023-08-02 18:17:04 +0300
committerArd Biesheuvel <ardb@kernel.org>2023-09-11 09:37:50 +0300
commitaba7e066c738d4b349413a271b2a236aa55bacbc (patch)
tree1d6ba1aa94a5530955a4beb176ed5d50f58f2580 /drivers/firmware
parent762f169f5d9b92f057ad2c27ec4e3849b743239a (diff)
downloadlinux-aba7e066c738d4b349413a271b2a236aa55bacbc.tar.xz
efi/x86: Ensure that EFI_RUNTIME_MAP is enabled for kexec
CONFIG_EFI_RUNTIME_MAP needs to be enabled in order for kexec to be able to provide the required information about the EFI runtime mappings to the incoming kernel, regardless of whether kexec_load() or kexec_file_load() is being used. Without this information, kexec boot in EFI mode is not possible. The CONFIG_EFI_RUNTIME_MAP option is currently directly configurable if CONFIG_EXPERT is enabled, so that it can be turned on for debugging purposes even if KEXEC is not enabled. However, the upshot of this is that it can also be disabled even when it shouldn't. So tweak the Kconfig declarations to avoid this situation. Reported-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions