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

From: Mario Limonciello
Date: Tue Apr 08 2025 - 14:34:41 EST


On 4/8/2025 1:28 PM, Dave Hansen wrote:
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";

?

Good catch.

If we're in agreement in the value of having the strings in the kernel and then also in this table I'll make sure both sets of strings are the same.