RE: [PATCH v2 2/5] x86/mce: dump error msg from severities

From: Luck, Tony
Date: Wed Mar 05 2025 - 17:34:02 EST


>>> 2) I'd like to see a patch for a stack trace for the unrecoverable case.
>>
>> Could you provide any reference link to your previous patch?
>
> https://lore.kernel.org/all/20220922195136.54575-1-tony.luck@xxxxxxxxx/

Yazen has some cleanups to the severity code under consideration
here:

https://github.com/AMDESE/linux/commit/cf0b8a97240abf0fbd98a91cd8deb262f827721b


I wonder if a slightly different approach with the "mce_action" that Yazen
defines being a bitmask of options, instead of an enum, would be possible?

If that happened, then adding a "dump the call stack to the console" option
would fit neatly into the scheme.

-Tony