Re: [PATCH v2 2/2] x86/CPU/AMD: Print the reason for the last reset

From: Dave Hansen
Date: Tue Apr 08 2025 - 14:28:30 EST


On 4/8/25 11:19, Mario Limonciello wrote:
> I think it's still valuable to have it in documentation for anyone who
> wants to read more about this.  As we get issues that come out of the
> woodwork I could see people punching the string into a search engine and
> then being spit at debugging.rst and we can adjust documentation to tell
> them what to do with it when it's not clear.

How would that work when the documentation:

> +31, Internal, SW sync flood event

and the string don't match:

> + if (value & BIT(31))
> + return "software sync flood event";

?