krishnanadh / rpms / rasdaemon

Forked from rpms/rasdaemon a year ago
Clone

Blame SOURCES/7937f0d6c2aaaed096f3a3d306416743c0dcb7a4.patch

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