x86/MCE: remove mcg_ctl and other adjustment for future vMCE
authorLiu, Jinsong <jinsong.liu@intel.com>
Tue, 7 Aug 2012 06:16:37 +0000 (08:16 +0200)
committerLiu, Jinsong <jinsong.liu@intel.com>
Tue, 7 Aug 2012 06:16:37 +0000 (08:16 +0200)
commit0106d2cfc412e32da890b4a7b528bf1de99aae2e
tree18f6025cfdd84b260814fda3571b4a0ad4fb8fe1
parent6e844c2af06f0b40885f0d8e9639c5732df5519c
x86/MCE: remove mcg_ctl and other adjustment for future vMCE

This is a middle-work patch, preparing for the future new vMCE model.
It removes mcg_ctl, disables MCG_CTL_P, and sets bank count to 2.

Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
Committed-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/vmce.c
xen/include/asm-x86/mce.h