On Wed, Mar 05, 2025 at 10:33:04PM +0000, Luck, Tony wrote: > >>> 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. > Right, I was thinking something similar. Basically, replace single action (enum) with multiple possible actions (flags/bitmask). And we can have a mask for a "class" of actions for general cases. Thanks, Yazen