[tip: x86/fred] x86/fred: Remove kernel log message when initializing exceptions

tip-bot2 for Sohil Mehta posted 1 patch 2 days, 16 hours ago
arch/x86/kernel/fred.c | 3 ---
1 file changed, 3 deletions(-)
[tip: x86/fred] x86/fred: Remove kernel log message when initializing exceptions
Posted by tip-bot2 for Sohil Mehta 2 days, 16 hours ago
The following commit has been merged into the x86/fred branch of tip:

Commit-ID:     f0958d588e6de263224ca92087b45ce72fa25c91
Gitweb:        https://git.kernel.org/tip/f0958d588e6de263224ca92087b45ce72fa25c91
Author:        Sohil Mehta <sohil.mehta@intel.com>
AuthorDate:    Wed, 25 Mar 2026 16:01:49 -07:00
Committer:     Borislav Petkov (AMD) <bp@alien8.de>
CommitterDate: Fri, 27 Mar 2026 16:38:24 +01:00

x86/fred: Remove kernel log message when initializing exceptions

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 | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/x86/kernel/fred.c b/arch/x86/kernel/fred.c
index e736b19..117aa06 100644
--- a/arch/x86/kernel/fred.c
+++ b/arch/x86/kernel/fred.c
@@ -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