]> xenbits.xensource.com Git - xen.git/commit
x86/mce_intel: detect and enable LMCE on Intel host
authorHaozhong Zhang <haozhong.zhang@intel.com>
Tue, 4 Jul 2017 08:43:32 +0000 (10:43 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 4 Jul 2017 08:43:32 +0000 (10:43 +0200)
commit76e7b4648769cc7a76a63e117336e736bf98b32d
treecdfb8f68cb22801072d9d0b88040e7bcbf3717d2
parent23dc72804bb39a74374557168de8f6dd9f0f6fdc
x86/mce_intel: detect and enable LMCE on Intel host

Enable LMCE if it's supported by the host CPU. If Xen boot parameter
"mce_fb = 1" is present, LMCE will be disabled forcibly.

Signed-off-by: Haozhong Zhang <haozhong.zhang@intel.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpu/mcheck/mce_intel.c
xen/arch/x86/cpu/mcheck/x86_mca.h
xen/include/asm-x86/msr-index.h