x86/efi: Log 32/64-bit mismatch with kernel as an error
authorPaul Menzel <pmenzel@molgen.mpg.de>
Sat, 15 May 2021 08:14:04 +0000 (10:14 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Sat, 22 May 2021 12:09:07 +0000 (14:09 +0200)
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>
arch/x86/platform/efi/efi.c

index 8a26e70..147c30a 100644 (file)
@@ -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();