x86/mce: correct the machine check vendor for Hygon
authorPu Wen <puwen@hygon.cn>
Tue, 24 Mar 2020 09:56:22 +0000 (10:56 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 24 Mar 2020 09:56:22 +0000 (10:56 +0100)
commit3ec1296ad3a823609eec479cb6c7ee493f6a888b
treed101bac4166cdf01d8e9a905c08354992cf67c6a
parentfdb96c8256422524a9dbc3b26d44c48829cf7029
x86/mce: correct the machine check vendor for Hygon

Currently the xl dmesg output on Hygon platforms will be
"(XEN) CPU0: AMD Fam18h machine check reporting enabled",
which is misleading as AMD does not have family 18h (Hygon
negotiated with AMD to confirm that only Hygon has family 18h).

To correct this, add Hygon machine check type and vendor string.

Signed-off-by: Pu Wen <puwen@hygon.cn>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpu/mcheck/mce.c
xen/arch/x86/cpu/mcheck/mce.h
xen/arch/x86/cpu/mcheck/mce_amd.c