mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yazen Ghannam <yazen.ghannam@amd.com>
To: <linux-edac@vger.kernel.org>
Cc: <linux-kernel@vger.kernel.org>, <tony.luck@intel.com>,
	<x86@kernel.org>, Yazen Ghannam <yazen.ghannam@amd.com>
Subject: [PATCH v2 2/3] x86/mce, EDAC/mce_amd: Update CS bank type naming
Date: Sat, 7 Mar 2026 11:33:15 -0500	[thread overview]
Message-ID: <20260307163316.345923-3-yazen.ghannam@amd.com> (raw)
In-Reply-To: <20260307163316.345923-1-yazen.ghannam@amd.com>

Recent documentation updated the "CS" bank type name from "Coherent
Slave" to "Coherent Station".

Apply this change in the kernel also.

Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
---
 arch/x86/include/asm/mce.h    | 2 +-
 arch/x86/kernel/cpu/mce/amd.c | 2 +-
 drivers/edac/mce_amd.c        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/x86/include/asm/mce.h b/arch/x86/include/asm/mce.h
index 83899711da4e..576a4b6e83ea 100644
--- a/arch/x86/include/asm/mce.h
+++ b/arch/x86/include/asm/mce.h
@@ -349,7 +349,7 @@ enum smca_bank_types {
 	 * Keep in alphanumeric order, numerals before letters.
 	 * Exception: Keep "V2, etc." with their originals.
 	 */
-	SMCA_CS,	/* Coherent Slave */
+	SMCA_CS,	/* Coherent Station */
 	SMCA_CS_V2,
 	SMCA_DE,	/* Decoder Unit */
 	SMCA_EX,	/* Execution Unit */
diff --git a/arch/x86/kernel/cpu/mce/amd.c b/arch/x86/kernel/cpu/mce/amd.c
index 44e490119b89..86f51415283c 100644
--- a/arch/x86/kernel/cpu/mce/amd.c
+++ b/arch/x86/kernel/cpu/mce/amd.c
@@ -95,7 +95,7 @@ static DEFINE_PER_CPU_READ_MOSTLY(struct smca_bank[MAX_NR_BANKS], smca_banks);
 static DEFINE_PER_CPU_READ_MOSTLY(u8[N_SMCA_BANK_TYPES], smca_bank_counts);
 
 static const char * const smca_names[] = {
-	[SMCA_CS ... SMCA_CS_V2]	= "coherent_slave",
+	[SMCA_CS ... SMCA_CS_V2]	= "coherent_station",
 	[SMCA_DE]			= "decode_unit",
 	[SMCA_EX]			= "execution_unit",
 	[SMCA_FP]			= "floating_point",
diff --git a/drivers/edac/mce_amd.c b/drivers/edac/mce_amd.c
index 7fba230cb9e1..54ad56f2a9e0 100644
--- a/drivers/edac/mce_amd.c
+++ b/drivers/edac/mce_amd.c
@@ -689,7 +689,7 @@ static void decode_mc6_mce(struct mce *m)
 }
 
 static const char * const smca_long_names[] = {
-	[SMCA_CS ... SMCA_CS_V2]	= "Coherent Slave",
+	[SMCA_CS ... SMCA_CS_V2]	= "Coherent Station",
 	[SMCA_DE]			= "Decode Unit",
 	[SMCA_EX]			= "Execution Unit",
 	[SMCA_FP]			= "Floating Point Unit",
-- 
2.53.0


  parent reply	other threads:[~2026-03-07 16:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-07 16:33 [PATCH v2 0/3] New SMCA bank types Yazen Ghannam
2026-03-07 16:33 ` [PATCH v2 1/3] x86/mce, EDAC/mce_amd: Reorder SMCA bank type enums Yazen Ghannam
2026-03-08 10:20   ` Borislav Petkov
2026-03-10 12:46     ` Yazen Ghannam
2026-03-11 12:41       ` Borislav Petkov
2026-03-12 10:42   ` [tip: ras/core] " tip-bot2 for Yazen Ghannam
2026-03-07 16:33 ` Yazen Ghannam [this message]
2026-03-12 10:42   ` [tip: ras/core] x86/mce, EDAC/mce_amd: Update CS bank type naming tip-bot2 for Yazen Ghannam
2026-03-07 16:33 ` [PATCH v2 3/3] x86/mce, EDAC/mce_amd: Add new SMCA bank types Yazen Ghannam
2026-03-12 10:41   ` [tip: ras/core] " tip-bot2 for Yazen Ghannam
2026-03-11 13:19 ` [PATCH v2 0/3] New " Borislav Petkov
2026-03-11 18:57   ` Yazen Ghannam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260307163316.345923-3-yazen.ghannam@amd.com \
    --to=yazen.ghannam@amd.com \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tony.luck@intel.com \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®