Add K7 quirks to 64bit mce code In preparation for a merge. Signed-off-by: Andi Kleen --- arch/x86/kernel/cpu/mcheck/mce_64.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: linux/arch/x86/kernel/cpu/mcheck/mce_64.c =================================================================== --- linux.orig/arch/x86/kernel/cpu/mcheck/mce_64.c +++ linux/arch/x86/kernel/cpu/mcheck/mce_64.c @@ -479,7 +479,9 @@ static void __cpuinit mce_cpu_quirks(str by default and leave crap in there. Don't log. */ mce_bootlog = 0; } - + /* Bank 0 broken in some K7s */ + if (c->x86_vendor == X86_VENDOR_AMD && c->x86 == 6) + bank[0] = 0; } static void __cpuinit mce_cpu_features(struct cpuinfo_x86 *c)