lkml.org 
[lkml]   [2021]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[tip: efi/core] x86/efi: Log 32/64-bit mismatch with kernel as an error
The following commit has been merged into the efi/core branch of tip:

Commit-ID: bb11580f61b6c4ba5c35706abd927c8ac8c32852
Gitweb: https://git.kernel.org/tip/bb11580f61b6c4ba5c35706abd927c8ac8c32852
Author: Paul Menzel <pmenzel@molgen.mpg.de>
AuthorDate: Sat, 15 May 2021 10:14:04 +02:00
Committer: Ard Biesheuvel <ardb@kernel.org>
CommitterDate: Sat, 22 May 2021 14:09:07 +02:00

x86/efi: Log 32/64-bit mismatch with kernel as an error

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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c
index 8a26e70..147c30a 100644
--- a/arch/x86/platform/efi/efi.c
+++ b/arch/x86/platform/efi/efi.c
@@ -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();
\
 
 \ /
  Last update: 2021-05-23 12:05    [W:0.026 / U:0.820 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site