[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260109193348.1263515-1-superm1@kernel.org>
Date: Fri, 9 Jan 2026 13:33:47 -0600
From: "Mario Limonciello (AMD)" <superm1@...nel.org>
To: mario.limonciello@....com,
tglx@...utronix.de,
mingo@...hat.com,
bp@...en8.de,
dave.hansen@...ux.intel.com,
x86@...nel.org,
hpa@...or.com
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"Mario Limonciello (AMD)" <superm1@...nel.org>,
Yazen Ghannam <yazen.ghannam@....com>
Subject: [PATCH v3] x86/CPU/AMD: Prefix messages with x86/amd
To clarify which messages come from arch/x86/kernel/cpu/amd.c add
a prefix to all messages instead of just the previous reset reason.
Reviewed-by: Yazen Ghannam <yazen.ghannam@....com>
Signed-off-by: Mario Limonciello (AMD) <superm1@...nel.org>
---
v3:
* add tag, put in it's own series
---
arch/x86/kernel/cpu/amd.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index bc94ff1e250ad..c19c4ee74dd1f 100644
--- a/arch/x86/kernel/cpu/amd.c
+++ b/arch/x86/kernel/cpu/amd.c
@@ -1,4 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
+#define pr_fmt(fmt) "x86/amd: " fmt
+
#include <linux/export.h>
#include <linux/bitops.h>
#include <linux/elf.h>
@@ -1396,7 +1398,7 @@ static __init int print_s5_reset_status_mmio(void)
continue;
if (s5_reset_reason_txt[i]) {
- pr_info("x86/amd: Previous system reset reason [0x%08x]: %s\n",
+ pr_info("Previous system reset reason [0x%08x]: %s\n",
value, s5_reset_reason_txt[i]);
}
}
--
2.43.0
Powered by blists - more mailing lists