aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndi Kleen <github@halobates.de>2019-05-16 20:52:26 +0200
committerGitHub <noreply@github.com>2019-05-16 20:52:26 +0200
commit18a6fbb8dec99ca8f460a405bfa1a4fc30b181d0 (patch)
treee20f9620cc20554c187fc826688c61afe5beb32f
parent0062f7cb3ff0f94709087ac302d502f5e39f6e60 (diff)
parent2274ad8979117369414cdd4cb9b5f6265f6ceff7 (diff)
downloadmcelog-18a6fbb8dec99ca8f460a405bfa1a4fc30b181d0.tar.gz
Merge pull request #75 from hygonsoc/master
add Hygon Dhyana support to not use mcelog
-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 */