]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
x86/fred: Remove kernel log message when initializing exceptions
authorSohil Mehta <sohil.mehta@intel.com>
Wed, 25 Mar 2026 23:01:49 +0000 (16:01 -0700)
committerBorislav Petkov (AMD) <bp@alien8.de>
Fri, 27 Mar 2026 15:38:24 +0000 (16:38 +0100)
When FRED is enabled, its initialization message is printed for every CPU
during boot as well as during suspend-resume. This debug message can be noisy
and it isn't very useful unless someone is debugging FRED itself.

As FRED is enabled by default, remove the log message as mentioned in
the code comment.

Signed-off-by: Sohil Mehta <sohil.mehta@intel.com>
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://patch.msgid.link/20260325230151.1898287-4-hpa@zytor.com
arch/x86/kernel/fred.c

index e736b19e18de5fbf0e656c0b6c6ca152e672fde1..117aa06d25ca936ed93ca7bd659b02aedd17a65d 100644 (file)
@@ -27,9 +27,6 @@ EXPORT_PER_CPU_SYMBOL(fred_rsp0);
 
 void cpu_init_fred_exceptions(void)
 {
-       /* When FRED is enabled by default, remove this log message */
-       pr_info("Initialize FRED on CPU%d\n", smp_processor_id());
-
        /*
         * If a kernel event is delivered before a CPU goes to user level for
         * the first time, its SS is NULL thus NULL is pushed into the SS field