On Fri, Mar 20, 2015 at 09:35:26PM -0500, Aravind Gopalakrishnan wrote:
Other function pointers in the mce code like unexpected_machine_checkThe "WTF?!" would still fire and we don't want that.
and default_threshold_interrupt are assigned to the respective
function pointers when they are defined.
Also, I'm not sure about returning MCE_PANIC_SEVERITY by default.
I mean, the code for !(Intel || AMD) has worked just fine with the
original severities, i.e., mce_severity_intel() now.
So maybe we should assign mce_severity_intel() on static init of the
mce_severity pointer and override it only on AMD...
This keeps the old behaviour for other machines, in the manner of
letting sleeping dogs lie...