Re: [PATCH] x86, mce: disable MCE if cpu has no MCE banks

From: Andi Kleen
Date: Wed Oct 28 2009 - 09:44:32 EST


Valdis.Kletnieks@xxxxxx wrote:
On Wed, 28 Oct 2009 06:24:45 BST, Andi Kleen said:

mce: CPU supports 0 MCE banks
That message can be just removed I think. I don't see much value in it
because the value is in sysfs and when you see the CPU type you can easily
determine it anyways.

Maybe it should only print a message if it finds an unexpected number of banks?
"Hey dood - we're on a Core3.5 and there should be 6 banks here, but the
hardware says there's only 4. What's up with that?"

The kernel doesn't know what number of banks are expected, just humans do.

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