Skip to content

Commit

Permalink
x86, mce: port K7 bank 0 quirk to 64bit mce code
Browse files Browse the repository at this point in the history
Various K7 have broken bank 0s. Don't enable it by default

Port from the 32bit code.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
  • Loading branch information
Andi Kleen authored and H. Peter Anvin committed May 28, 2009
1 parent 06b7a7a commit 2e6f694
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/x86/kernel/cpu/mcheck/mce.c
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,12 @@ static void mce_cpu_quirks(struct cpuinfo_x86 *c)
*/
mce_bootlog = 0;
}
/*
* Various K7s with broken bank 0 around. Always disable
* by default.
*/
if (c->x86 == 6)
bank[0] = 0;
}

if (c->x86_vendor == X86_VENDOR_INTEL) {
Expand Down

0 comments on commit 2e6f694

Please sign in to comment.