Re: [PATCH] efistub: add efi=quiet parameter to selectively silence efistub alone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 20 Jan 2025 at 09:53, Hendrik 'T4cC0re' Meyer <linux@xxxxxxx> wrote:
>
> > I'd prefer to just raise the verbosity level of those messages instead.
>
> Agreed. I'll send in a new patch setting the verbosity of those messages one
> above the default.
>

Actually, let's do it the other way around. Does the below work for you?



--- 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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux