On 04/03/19 12:05, Xiaoyao Li wrote: > + > +static void ac_handler(struct ex_regs *regs) { > + report("Caught #AC exception because of split locked accesses", true); If split lock detection does not work, this would not fail. You can just set a boolean here, and in main pass it to "report". Paolo > + /* disable split lock detection */ > + wrmsr(MSR_TEST_CTL, rdmsr(MSR_TEST_CTL) & ~TEST_CTL_ENABLE_SPLIT_LOCK_DETECT);