krishnanadh / rpms / rasdaemon

Forked from rpms/rasdaemon a year ago
Clone

Blame SOURCES/7937f0d6c2aaaed096f3a3d306416743c0dcb7a4.patch

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