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

Devang Vyas posted 1 patch 1 week, 1 day ago
There is a newer version of this series
drivers/edac/amd64_edac.c | 4 ++++
1 file changed, 4 insertions(+)
[PATCH] EDAC/amd64: Add support for family 19h, models 40h-4fh
Posted by Devang Vyas 1 week, 1 day ago
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
Re: [PATCH] EDAC/amd64: Add support for family 19h, models 40h-4fh
Posted by Borislav Petkov 1 week, 1 day ago
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.

> 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;
> -- 

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