The example code in the IA32 SDM recommends to synchronize the CPU
after machine check handling. So do that here.
[ Impact: Spec compliance ]
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Don't clear MCG_STATUS here because it's only defined for
* exceptions.
*/
+
+ sync_core();
}
EXPORT_SYMBOL_GPL(machine_check_poll);
mce_wrmsrl(MSR_IA32_MCG_STATUS, 0);
out2:
atomic_dec(&mce_entry);
+ sync_core();
}
EXPORT_SYMBOL_GPL(do_machine_check);