krishnanadh / rpms / rasdaemon

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