RE: [PATCH 1/2] x86: mce: kdump: use under_crashdumping to turn off MCE in all CPUs together

From: Luck, Tony
Date: Tue Feb 24 2015 - 13:20:47 EST


> I'd even venture a guess and say that clearing CR4.MCE should be enough
> but I *think* that doesn't prevent errors from being logged. Just to be
> extra sure, you should clear MCG_CTL bits too. It all depends on what
> exactly you want to do.

I'm not sure - the broadcast MCE will still arrive at that cpu - and with CR4.MCE==0, it will shutdown.
Not sure if that just affects that logical thread, or if it pulls a signal line to take down the whole machine.

-Tony