summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gibson <daniel@gibson.sh>2026-06-24 14:43:25 +0200
committerBorislav Petkov (AMD) <bp@alien8.de>2026-08-05 15:35:25 -0700
commit33a581d800670e5d91e99203536d15ef7451ad69 (patch)
treea902e175c1b70ecd188c0730a3d735234f4911fd
parente4632f592cc2d7f948fc62b441ddc75ef74372b3 (diff)
Documentation/arch/x86/amd-debugging: Add example for reset register
The amd debugging documentation didn't state how to identify kernel log lines with information from the reset register about the cause of a previous random reboot. Add an example. Suggested-by: Mario Limonciello (AMD) <superm1@kernel.org> Signed-off-by: Daniel Gibson <daniel@gibson.sh> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Link: https://patch.msgid.link/20260624124326.746525-2-daniel@gibson.sh
-rw-r--r--Documentation/arch/x86/amd-debugging.rst5
1 files changed, 5 insertions, 0 deletions
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