New bluesmoke patch available, implements MCE-without-MCA support
Quoted 7 lines · H. Peter Anvin
This implements support for MCE on chips which don't support MCA (in addition to enabling MCA for non-Intel chips, like Athlon, which supports MCA.)
I would appreciate it if people who have chips with MCE but no MCA -- this includes older AMD chips and some Cyrix chips at the very least -- would please be so kind and try this out.
I have a K6-III which announces MCE but not MCA, so I was going to test this on that machine.
However, both the K6-III manual and the K6 BIOS guide state quite clearly that the K6 family only has a "stub" MCE implementation. The MCE capability is announced, there are two MCE-related MSRs, and there is a CR4.MCE flag, but none of it actually _does_ anything.
The new CPU detection code should probably clear FEATURE_MCE for K6 CPUs. (We might consider it an AMD bug, but in their defense, they do state that the stub implementation was done for "compatibility" reasons.)
/Mikael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 14 lines · Mikael Pettersson
Quoted 7 lines · H. Peter Anvin
This implements support for MCE on chips which don't support MCA (in addition to enabling MCA for non-Intel chips, like Athlon, which supports MCA.)
I would appreciate it if people who have chips with MCE but no MCA -- this includes older AMD chips and some Cyrix chips at the very least -- would please be so kind and try this out.
I have a K6-III which announces MCE but not MCA, so I was going to test this on that machine.
Quoted 9 lines
However, both the K6-III manual and the K6 BIOS guide state quite clearly that the K6 family only has a "stub" MCE implementation. The MCE capability is announced, there are two MCE-related MSRs, and there is a CR4.MCE flag, but none of it actually _does_ anything.
The new CPU detection code should probably clear
FEATURE_MCEfor K6 CPUs. (We might consider it an AMD bug, but in their defense, they do state that the stub implementation was done for "compatibility" reasons.)
Actually, that's just fine. It won't cause any harm; all that will mean is that it will never raise #MC. Remember that a CPU should, in proper operation, never raise #MC anyway!
Their implementation is a legal (albeit useless) implementation of MCE. No need to special-case it.
-hpa
Signature · 7 lines
<[email protected]> at work, <[email protected]> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/