RE: Machine check recovery broken in v6.9-rc1

From: Luck, Tony
Date: Fri Apr 05 2024 - 11:05:53 EST


>> kernel BUG at include/linux/swapops.h:119
>>
>> 117 static inline unsigned long swp_offset_pfn(swp_entry_t entry)
>> 118 {
>> 119 VM_BUG_ON(!is_pfn_swap_entry(entry));
>> 120 return swp_offset(entry) & SWP_PFN_MASK;
>> 121 }
>>
>
> Do you have the full backtrace?

It's very garbled because multiple CPUs seem to be logging to the console together.

I've also got some more details.

1) Problems with recovery go back further than v6.8. Still looking to pin down where it started.
v6.0 seems good (can run hundreds of injections + consumptions).
2) It's connected to a BIOS setting that enables APEI logging. If I disable that, current
kernels don't have problems. v6.0 runs OK with this setting on or off.

I'm bisecting to find where the APEI issue begins.

-Tony