Re: [PATCH -mm] x86 port lockless MCE quirky bank0

From: Andi Kleen
Date: Tue May 17 2005 - 15:27:02 EST


> + if ((c->x86_vendor == X86_VENDOR_AMD ||
> + c->x86_vendor == X86_VENDOR_INTEL) && c->x86 == 6) {
> + /*
> + * Intel P6 cores go bang quickly when bank0 is enabled.
> + * Some Athlons cause spurious MCEs when bank0 is enabled.
> + */
> + quirky_bank0 = 1;
> + }

That's wrong on K8 AMD machines at least. You need to check c->x86
there too.

And better would be to just do bank[0] = 0 instead of
adding the new variable.

-Andi

P.S.: Also Yu Luming can you please submit an updated patch that keeps mce.c
in arch/x86_64 like we discussed earlier?

-
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/