df8b6a
commit 7937f0d6c2aaaed096f3a3d306416743c0dcb7a4
df8b6a
Author: Muralidhara M K <muralimk@amd.com>
df8b6a
Date:   Wed Jul 28 01:52:12 2021 -0500
df8b6a
df8b6a
    rasdaemon: Support MCE for AMD CPU family 19h
df8b6a
    
df8b6a
    Add support for family 19h x86 CPUs from AMD.
df8b6a
    
df8b6a
    Signed-off-by: Muralidhara M K <muralimk@amd.com>
df8b6a
    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
df8b6a
df8b6a
diff --git a/ras-mce-handler.c b/ras-mce-handler.c
df8b6a
index 805004a..f2b53d4 100644
df8b6a
--- a/ras-mce-handler.c
df8b6a
+++ b/ras-mce-handler.c
df8b6a
@@ -208,7 +208,7 @@ static int detect_cpu(struct ras_events *ras)
df8b6a
 			mce->cputype = CPU_AMD_SMCA;
df8b6a
 			goto ret;
df8b6a
 		}
df8b6a
-		if (mce->family > 23) {
df8b6a
+		if (mce->family > 25) {
df8b6a
 			log(ALL, LOG_INFO,
df8b6a
 			    "Can't parse MCE for this AMD CPU yet %d\n",
df8b6a
 			    mce->family);