Re: [PATCH] x86/mce: Fix initialization error warning

From: Thomas Gleixner
Date: Tue Jan 17 2017 - 03:37:54 EST


On Tue, 17 Jan 2017, Borislav Petkov wrote:
> On Mon, Jan 16, 2017 at 06:13:39PM -0500, Prarit Bhargava wrote:
> > Yes, mce=off is the default for kdump:
>
> So fix kdump to disable MCA properly instead of sending me brown paper
> bags.

That's one thing, but OTOH we really can avoid the KERN_ERR level print out
for the case where mce is not available (for whatever reasons: HW / Virt /
command line ....).

The simple 2 liner I posted earlier in this thread does it nicely.

Thanks,

tglx