All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/efi: Log 32/64-bit mismatch with kernel as an error
@ 2021-05-15  8:14 Paul Menzel
  2021-05-22 12:09 ` Ard Biesheuvel
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Menzel @ 2021-05-15  8:14 UTC (permalink / raw)
  To: Ard Biesheuvel, Darren Hart, Andy Shevchenko, Thomas Gleixner,
	Ingo Molnar, Borislav Petkov, x86, H. Peter Anvin
  Cc: Paul Menzel, linux-efi, platform-driver-x86, linux-kernel

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>
---
 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 8a26e705cb06..147c30a81f15 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();
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] x86/efi: Log 32/64-bit mismatch with kernel as an error
  2021-05-15  8:14 [PATCH] x86/efi: Log 32/64-bit mismatch with kernel as an error Paul Menzel
@ 2021-05-22 12:09 ` Ard Biesheuvel
  0 siblings, 0 replies; 2+ messages in thread
From: Ard Biesheuvel @ 2021-05-22 12:09 UTC (permalink / raw)
  To: Paul Menzel
  Cc: Darren Hart, Andy Shevchenko, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, X86 ML, H. Peter Anvin, linux-efi,
	platform-driver-x86, Linux Kernel Mailing List

On Sat, 15 May 2021 at 10:14, Paul Menzel <pmenzel@molgen.mpg.de> wrote:
>
> 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>
> ---
>  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 8a26e705cb06..147c30a81f15 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();
> --
> 2.31.1
>

Queued up now, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-22 12:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-15  8:14 [PATCH] x86/efi: Log 32/64-bit mismatch with kernel as an error Paul Menzel
2021-05-22 12:09 ` Ard Biesheuvel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.