[PATCH] EDAC/mce_amd: Add missing long names for SMCA bank types
From: Guixiong Wei
Date: Thu Oct 08 2026 - 22:07:37 EST
Commit 47b744ea5e3c ("x86/MCE/AMD: Add new MA_LLC, USR_DP,
and USR_CP bank types") added three SMCA bank types after the bank long
names had been moved to the MCE decoder.
The new types were added to the enum, short-name table, and HWID/McaType
mapping, but not to smca_long_names[]. As a result, an error from any of
these banks is logged with "(null)" in place of the bank name.
Add the missing long names.
Fixes: 47b744ea5e3c ("x86/MCE/AMD: Add new MA_LLC, USR_DP, and USR_CP bank types")
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Guixiong Wei <weiguixiong@xxxxxxxxxxxxx>
---
drivers/edac/mce_amd.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/edac/mce_amd.c b/drivers/edac/mce_amd.c
index 7aee57a25b689..34a44769d1d0f 100644
--- a/drivers/edac/mce_amd.c
+++ b/drivers/edac/mce_amd.c
@@ -702,6 +702,7 @@ static const char * const smca_long_names[] = {
[SMCA_L2_CACHE] = "L2 Cache",
[SMCA_L3_CACHE] = "L3 Cache",
[SMCA_LS ... SMCA_LS_V2] = "Load Store Unit",
+ [SMCA_MA_LLC] = "Memory Attached Last Level Cache",
[SMCA_MP5] = "Microprocessor 5 Unit",
[SMCA_MPART] = "MPART Unit",
[SMCA_MPASP ... SMCA_MPASP_V2] = "MPASP Unit",
@@ -726,6 +727,8 @@ static const char * const smca_long_names[] = {
[SMCA_UMC] = "Unified Memory Controller",
[SMCA_UMC_V2] = "Unified Memory Controller v2",
[SMCA_USB] = "USB Unit",
+ [SMCA_USR_CP] = "Ultra Short Reach Control Plane Controller",
+ [SMCA_USR_DP] = "Ultra Short Reach Data Plane Controller",
[SMCA_WAFL_PHY] = "WAFL PHY Unit",
[SMCA_XGMI_PCS] = "Ext Global Memory Interconnect PCS Unit",
[SMCA_XGMI_PHY] = "Ext Global Memory Interconnect PHY Unit",
--
2.50.1 (Apple Git-155)