Blame SOURCES/7937f0d6c2aaaed096f3a3d306416743c0dcb7a4.patch

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