Re: [PATCH v2 4/5] Documentation/arch/x86/amd-debugging: Add example for reset register
From: Ilpo Järvinen
Date: Mon May 11 2026 - 08:56:26 EST
On Sat, 9 May 2026, Daniel Gibson wrote:
> To me it wasn't clear how I get the information stored in the reset
> register, or how to identify the messages in the syslog mentioned there.
Please rewrite the entire changelog text. Don't write it from your own
perspective (no "I" / "We") but describe it as a problem/defiancy in the
documentation.
> Mario Limonciello sent me an example line which illustrates what to
> look for and I added it to the AMD debugging documentation, with a short
> explanation.
Change e.g. to:
Add an example how the reset reason is presented into AMD debugging
documentation.
As Mario mentioned, persons suggesting something can be put to
Suggested-by tag.
> Signed-off-by: Daniel Gibson <daniel@xxxxxxxxx>
> ---
> Documentation/arch/x86/amd-debugging.rst | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/Documentation/arch/x86/amd-debugging.rst b/Documentation/arch/x86/amd-debugging.rst
> index d92bf59d62c7..3176a1240fee 100644
> --- a/Documentation/arch/x86/amd-debugging.rst
> +++ b/Documentation/arch/x86/amd-debugging.rst
> @@ -366,3 +366,8 @@ There are 6 classes of reasons for the reboot:
> This information is read by the kernel at bootup and printed into
> the syslog. When a random reboot occurs this message can be helpful
> to determine the next component to debug.
> +
> +For example, if bit 19 was set, you will get a message like this in the log on
> +next bootup::
> +
> + x86/amd: Previous system reset reason [0x00080000]: software wrote 0x6 to reset control register 0xCF9
The diff itself looks fine.
--
i.