Skip to contentSkip to conversation

EDAC/amd64: Add support for family 19h, models 40h-4fh

PATCH In review Devang Vyas 2 participants 4 messages Nov 23, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 EDAC/amd64: Add support for family 19h, models 40h-4fh

---
 drivers/edac/amd64_edac.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/edac/amd64_edac.c +4 -0
index a17f3c0cdfa6..2f6c3c4ed557 100644
@@ -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;
Signature · 1 line
2.25.1
maintainer
#1 lore raw

On Sun, Nov 23, 2025 at 07:57:45PM +0530, Devang Vyas wrote:

-ENOCOMMITMESSAGE

Use the commit message to explain why those need to load the EDAC driver at all.

Quoted 13 lines
---
 drivers/edac/amd64_edac.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/edac/amd64_edac.c +0 -0
index a17f3c0cdfa6..2f6c3c4ed557 100644

drivers/edac/amd64_edac.c static int per_family_init(struct amd64_pvt *pvt) · line 3887

Quoted 10 lines
drivers/edac/amd64_edac.c +4 -0
@@ -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;

EDAC patches need to be done against:

https://git.kernel.org/pub/scm/linux/kernel/git/ras/ras.git

the edac-for-next branch.

Thx.

Signature · 4 lines
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
#2 lore raw

[AMD Official Use Only - AMD Internal Distribution Only]

Hello,

Do I need to raise the patch at below?

https://git.kernel.org/pub/scm/linux/kernel/git/ras/ras.git

edac-for-next branch

Please confirm?

Thanks & Regards,
Devang Vyas

-----Original Message-----
From: Borislav Petkov <[email protected]>
Sent: Sunday, November 23, 2025 9:03 PM
To: Vyas, Devang nayanbhai <[email protected]>
Cc: Ghannam, Yazen <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Garidapuri, Ramesh <[email protected]>; Limonciello, Mario <[email protected]>
Subject: Re: [PATCH] EDAC/amd64: Add support for family 19h, models 40h-4fh

On Sun, Nov 23, 2025 at 07:57:45PM +0530, Devang Vyas wrote:

-ENOCOMMITMESSAGE

Use the commit message to explain why those need to load the EDAC driver at all.

Quoted 13 lines
---
 drivers/edac/amd64_edac.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/edac/amd64_edac.c +0 -0
index a17f3c0cdfa6..2f6c3c4ed557 100644
@@ -3878,6 +3878,10 @@ static int per_family_init(struct amd64_pvt *pvt)
                              pvt->max_mcs            = 8;

drivers/edac/amd64_edac.c static int per_family_init(struct amd64_pvt *pvt)

Quoted 10 lines
drivers/edac/amd64_edac.c +4 -1
                      }
                      break;
+             case 0x40 ... 0x4f:
+                     pvt->ctl_name                   = "F19h_M40h";
+                     pvt->max_mcs                    = 4;
+                     break;
              case 0x50 ... 0x5f:
                      pvt->ctl_name                   = "F19h_M50h";
                      break;
--

EDAC patches need to be done against:

https://git.kernel.org/pub/scm/linux/kernel/git/ras/ras.git

the edac-for-next branch.

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette

maintainer
#3 lore raw

Hi,

Quoted 1 line · Devang nayanbhai

[AMD Official Use Only - AMD Internal Distribution Only]

This is clearly not internal distribution only.

Quoted 7 lines

Do I need to raise the patch at below?

https://git.kernel.org/pub/scm/linux/kernel/git/ras/ras.git

edac-for-next branch

Please confirm?

I just told you exactly that, wasn't that clear?

Also, please do not top-post - this is not internal email. The proper etiquette on public mailing lists is to put your reply *below* the mail text you're replying to.

There's a quick howto which I'm carrying in my signature exactly for newbies to kernel development:

https://people.kernel.org/tglx/notes-about-netiquette

Please educate yourself.

Also, as previously mentioned:

Quoted 5 lines · Devang Vyas

-ENOCOMMITMESSAGE

Use the commit message to explain why those need to load the EDAC driver at all.

Make sure your patch has a commit message.

Thx.

Signature · 4 lines
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette