linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] efistub: Lower default log level
@ 2025-07-08  7:30 Aaron Kling via B4 Relay
  2025-07-08  7:31 ` Aaron Kling
  0 siblings, 1 reply; 14+ messages in thread
From: Aaron Kling via B4 Relay @ 2025-07-08  7:30 UTC (permalink / raw)
  To: Ard Biesheuvel; +Cc: linux-efi, linux-kernel, Aaron Kling

From: Aaron Kling <webgeek1234@gmail.com>

Some uefi implementations will write the efistub logs to the display
over a splash image. This is not desirable for debug and info logs, so
lower the default efi log level to exclude them.

Suggested-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
---
 drivers/firmware/efi/libstub/printk.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/firmware/efi/libstub/printk.c b/drivers/firmware/efi/libstub/printk.c
index 3a67a2cea7bdf1aa215d48dbf9ece4ceec6e4c28..bc599212c05dd746a9c54abbbe61a4bf70f1a8c4 100644
--- a/drivers/firmware/efi/libstub/printk.c
+++ b/drivers/firmware/efi/libstub/printk.c
@@ -5,13 +5,13 @@
 #include <linux/ctype.h>
 #include <linux/efi.h>
 #include <linux/kernel.h>
-#include <linux/printk.h> /* For CONSOLE_LOGLEVEL_* */
+#include <linux/kern_levels.h>
 #include <asm/efi.h>
 #include <asm/setup.h>
 
 #include "efistub.h"
 
-int efi_loglevel = CONSOLE_LOGLEVEL_DEFAULT;
+int efi_loglevel = LOGLEVEL_NOTICE;
 
 /**
  * efi_char16_puts() - Write a UCS-2 encoded string to the console

---
base-commit: d7b8f8e20813f0179d8ef519541a3527e7661d3a
change-id: 20250708-efi-default-loglevel-4da5a36cac87

Best regards,
-- 
Aaron Kling <webgeek1234@gmail.com>



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

end of thread, other threads:[~2025-08-26 16:34 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-08  7:30 [PATCH] efistub: Lower default log level Aaron Kling via B4 Relay
2025-07-08  7:31 ` Aaron Kling
2025-07-15  1:35   ` Ard Biesheuvel
2025-08-16  6:52     ` Jan Kiszka
2025-08-24  0:31       ` Ard Biesheuvel
2025-08-24  6:47         ` Jan Kiszka
2025-08-25 10:44           ` Ard Biesheuvel
2025-08-25 16:34             ` Aaron Kling
2025-08-25 21:28               ` Ard Biesheuvel
2025-08-25 22:09                 ` Aaron Kling
2025-08-26  7:23                   ` Jan Kiszka
2025-08-26  8:16                     ` Ard Biesheuvel
2025-08-26 12:43                       ` Ard Biesheuvel
2025-08-26 16:34                         ` Aaron Kling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).