Re: [PATCH v2 4/5] Documentation/arch/x86/amd-debugging: Add example for reset register
From: Mario Limonciello
Date: Sat May 09 2026 - 20:21:39 EST
On 5/8/26 20:31, Daniel Gibson wrote:
To me it wasn't clear how I get the information stored in the resetYou can drop this second paragraph and just add:
register, or how to identify the messages in the syslog mentioned there.
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.
Suggested-by: Mario Limonciello (AMD) <superm1@xxxxxxxxxx>
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