Re: [PATCH] x86, mce: short output of MCE banks ownershipinformation

From: Ingo Molnar
Date: Thu Oct 29 2009 - 03:35:05 EST



* Hidetoshi Seto <seto.hidetoshi@xxxxxxxxxxxxxx> wrote:

> Maybe there would be more desirable ways, but I think that "compress
> messages shorter to bear heavy repeating" will be a good way at this
> time.

We really want to only print out relevant information. 128 lines of
identical output is not relevant. (or 2x 64 lines, or 4096 lines of
identical output)

So we only want to print MCE setup messages on the boot CPU. That gives
us 90% of the benefits already: we see the rough structure of the
hardware, and if the bootup has a problem with MCE initialization we get
relevant printouts that helps debugging.

Now, it's certainly true that with things like MCE bank sharing the MCE
setup output from different CPUs might not be identical all the time -
but the information is represented in other (topology) info anyway. (and
if not it wasnt all that important to begin with)

For non-boot CPUs we can perhaps add a mce=verbose (default-disabled)
mode of bootup that allows all CPUs to be printed - should there be any
problem with MCE details only visible on non-boot CPUs. (unlikely)

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