RE: [RFC] #MC mess

From: Luck, Tony
Date: Tue Feb 18 2020 - 15:11:15 EST


> Then please rewrite the #MC entry code to deal with nested exceptions
> unmasking the MCE, very similr to NMI.

#MC doesn't work like NMI. It isn't enabled by IRET. Nested #MC cause an
immediate reset. Detection of nested case is by IA32_MCG_STATUS.MCIP.
We don't clear MCG_STATUS until we are ready to return from the machine
check handler.

-Tony