From: Venkatesh Pallipadi Make P6 MCA initialization code complaint with guidelines in IA-32 SDM Vol3. Bank 0 control register should not be set by OS and clear status registers on all banks on reset. This will prevent false MCE alarms on the systems that has some non-MCE information left-over in MC0_STATUS on reboot. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Andrew Morton --- arch/i386/kernel/cpu/mcheck/p6.c | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff -puN arch/i386/kernel/cpu/mcheck/p6.c~x86-bug-fix-in-p6-machine-check-initialization arch/i386/kernel/cpu/mcheck/p6.c --- devel/arch/i386/kernel/cpu/mcheck/p6.c~x86-bug-fix-in-p6-machine-check-initialization 2005-10-11 00:34:42.000000000 -0700 +++ devel-akpm/arch/i386/kernel/cpu/mcheck/p6.c 2005-10-11 00:34:42.000000000 -0700 @@ -102,11 +102,16 @@ void __devinit intel_p6_mcheck_init(stru wrmsr(MSR_IA32_MCG_CTL, 0xffffffff, 0xffffffff); nr_mce_banks = l & 0xff; - /* Don't enable bank 0 on intel P6 cores, it goes bang quickly. */ - for (i=1; i