aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhygonsoc <hygonsoc@gmail.com>2019-05-17 01:45:15 +0800
committerhygonsoc <hygonsoc@gmail.com>2019-05-17 01:45:15 +0800
commit2274ad8979117369414cdd4cb9b5f6265f6ceff7 (patch)
treee20f9620cc20554c187fc826688c61afe5beb32f
parent0062f7cb3ff0f94709087ac302d502f5e39f6e60 (diff)
downloadmcelog-2274ad8979117369414cdd4cb9b5f6265f6ceff7.tar.gz
add Hygon Dhyana support to not use mcelog,
as Hygon Dhyana(0x18h) share similiar arch with AMD Family 17h
-rw-r--r--mcelog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mcelog.c b/mcelog.c
index 3ea22cd..cabfe0d 100644
--- a/mcelog.c
+++ b/mcelog.c
@@ -554,6 +554,9 @@ int is_cpu_supported(void)
Eprintf("ERROR: AMD Processor family %d: mcelog does not support this processor. Please use the edac_mce_amd module instead.\n", family);
return 0;
}
+ } else if (!strcmp(vendor,"HygonGenuine")) {
+ Eprintf("ERROR: Hygon Processor family %d: mcelog does not support this processor. Please use the edac_mce_amd module instead.\n", family);
+ return 0;
} else if (!strcmp(vendor,"GenuineIntel"))
cputype = select_intel_cputype(family, model);
/* Add checks for other CPUs here */