• Ard Biesheuvel's avatar
    efi/x86: Ensure that EFI_RUNTIME_MAP is enabled for kexec · aba7e066
    Ard Biesheuvel authored
    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: default avatarKirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
    aba7e066
Kconfig 97.3 KB