mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] EDAC/amd64: Add support for family 19h, models 40h-4fh
@ 2025-11-24 18:13 Devang Vyas
  2025-11-25 12:18 ` Borislav Petkov
  0 siblings, 1 reply; 6+ messages in thread
From: Devang Vyas @ 2025-11-24 18:13 UTC (permalink / raw)
  To: yazen.ghannam, bp, tony.luck, linux-edac, linux-kernel
  Cc: Devang Vyas, Ramesh Garidapuri

This patch updates the EDAC driver to include support
for AMD SoC family 19h models 40h-4fh to support
Ryzen 6000 CPUs/APUs ("Rembrandt").

The added changes enhance the ability to detect and
report memory errors on systems that utilize AMD SoCs
from the specified family.

Co-developed-by: Ramesh Garidapuri <ramesh.garidapuri@amd.com>
Signed-off-by: Ramesh Garidapuri <ramesh.garidapuri@amd.com>
Signed-off-by: Devang Vyas <devangnayanbhai.vyas@amd.com>
---
 drivers/edac/amd64_edac.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c
index 2391f3469961..6cf0b6d7b5ec 100644
--- a/drivers/edac/amd64_edac.c
+++ b/drivers/edac/amd64_edac.c
@@ -3863,6 +3863,9 @@ static int per_family_init(struct amd64_pvt *pvt)
 				pvt->max_mcs		= 8;
 			}
 			break;
+		case 0x40 ... 0x4f:
+			pvt->max_mcs			= 4;
+			break;
 		case 0x60 ... 0x6f:
 			pvt->flags.zn_regs_v2		= 1;
 			break;
-- 
2.25.1


^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH] EDAC/amd64: Add support for family 19h, models 40h-4fh
@ 2025-11-23 14:27 Devang Vyas
  2025-11-23 15:33 ` Borislav Petkov
  0 siblings, 1 reply; 6+ messages in thread
From: Devang Vyas @ 2025-11-23 14:27 UTC (permalink / raw)
  To: yazen.ghannam, bp, tony.luck, james.morse, mchehab, rric,
	linux-edac, linux-kernel
  Cc: Devang Vyas, Ramesh Garidapuri

Co-developed-by: Ramesh Garidapuri <ramesh.garidapuri@amd.com>
Signed-off-by: Ramesh Garidapuri <ramesh.garidapuri@amd.com>
Signed-off-by: Devang Vyas <devangnayanbhai.vyas@amd.com>
---
 drivers/edac/amd64_edac.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c
index a17f3c0cdfa6..2f6c3c4ed557 100644
--- a/drivers/edac/amd64_edac.c
+++ b/drivers/edac/amd64_edac.c
@@ -3878,6 +3878,10 @@ static int per_family_init(struct amd64_pvt *pvt)
 				pvt->max_mcs		= 8;
 			}
 			break;
+		case 0x40 ... 0x4f:
+			pvt->ctl_name                   = "F19h_M40h";
+			pvt->max_mcs                    = 4;
+			break;
 		case 0x50 ... 0x5f:
 			pvt->ctl_name			= "F19h_M50h";
 			break;
-- 
2.25.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-11-25 12:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-24 18:13 [PATCH] EDAC/amd64: Add support for family 19h, models 40h-4fh Devang Vyas
2025-11-25 12:18 ` Borislav Petkov
  -- strict thread matches above, loose matches on Subject: below --
2025-11-23 14:27 Devang Vyas
2025-11-23 15:33 ` Borislav Petkov
2025-11-23 16:41   ` Vyas, Devang nayanbhai
2025-11-23 17:57     ` Borislav Petkov

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®