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
This commit is contained in:
Daniel Gibson 2026-06-24 14:43:25 +02:00 committed by Borislav Petkov (AMD)
parent e4632f592c
commit 33a581d800

View File

@ -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