diff options
author | hygonsoc <hygonsoc@gmail.com> | 2019-05-17 01:45:15 +0800 |
---|---|---|
committer | hygonsoc <hygonsoc@gmail.com> | 2019-05-17 01:45:15 +0800 |
commit | 2274ad8979117369414cdd4cb9b5f6265f6ceff7 (patch) | |
tree | e20f9620cc20554c187fc826688c61afe5beb32f | |
parent | 0062f7cb3ff0f94709087ac302d502f5e39f6e60 (diff) | |
download | mcelog-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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 */ |