Re: backport AMD K7 MCE changes.

From: Andi Kleen
Date: Fri Oct 03 2003 - 16:10:21 EST


Dave Jones <davej@xxxxxxxxxx> writes:
> */
> - if(c->x86 == 6 || c->x86 == 15)
> +
> + if(c->x86 == 6 || c->x86 == 15) {
> + startbank = 1;

Can you please add comments to such magic changes ?

I still think we should not do anything without an official errata.

The K7 actually has two MCE enable registers: a mask that is only
supposed to be programmed by the BIOS and works around bugs and the
standardized IA32 register controlled by the OS. I suspect your case
only happens with some buggy BIOS that doesn't program the shadow mask
correctly. This would imply that it would make more sense to test it
and program it correctly based on a known good value.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/