RE: [PATCH v3] x86/mce: Try printing all machine check banks known before panic

From: Luck, Tony
Date: Fri Nov 21 2014 - 12:21:02 EST


> leave them in. Then you can read them out again on panic time. The mce
> log buffer will have to become a circular buffer or something like that.

This is a mixed bag. If there are a bunch of errors so that we overflow the buffer,
then general wisdom says that people want to see the first errors, as the later
ones may just be secondary effects from the earlier ones.

But - lots of systems don't run mcelog(8) daemon. So the buffer just fills
up with the first 32 errors (perhaps all relatively harmless corrected errors)
and then when some serious stuff happens we have no place to log :-)

Perhaps we need separate buffers for UC=0 and UC=1? Or something else??

-Tony