Skip to content

Commit

Permalink
x86/efi: Log 32/64-bit mismatch with kernel as an error
Browse files Browse the repository at this point in the history
Log the message

    No EFI runtime due to 32/64-bit mismatch with kernel

as an error condition, as several things like efivarfs won’t work
without the EFI runtime.

Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
  • Loading branch information
pmenzel authored and Ard Biesheuvel committed May 22, 2021
1 parent edbd1bc commit bb11580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/platform/efi/efi.c
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ void __init efi_init(void)
*/

if (!efi_runtime_supported())
pr_info("No EFI runtime due to 32/64-bit mismatch with kernel\n");
pr_err("No EFI runtime due to 32/64-bit mismatch with kernel\n");

if (!efi_runtime_supported() || efi_runtime_disabled()) {
efi_memmap_unmap();
Expand Down

0 comments on commit bb11580

Please sign in to comment.