** Changed in: linux-oem-6.11 (Ubuntu Noble) Status: In Progress => Fix Committed
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2115171 Title: Print last reset reason into kernel log on AMD Zen platforms Status in HWE Next: New Status in linux package in Ubuntu: Fix Released Status in linux-oem-6.11 package in Ubuntu: Invalid Status in linux-oem-6.14 package in Ubuntu: Invalid Status in linux source package in Noble: Won't Fix Status in linux-oem-6.11 source package in Noble: Fix Committed Status in linux-oem-6.14 source package in Noble: In Progress Status in linux source package in Plucky: In Progress Status in linux-oem-6.11 source package in Plucky: Invalid Status in linux-oem-6.14 source package in Plucky: Invalid Status in linux source package in Questing: Fix Released Status in linux-oem-6.11 source package in Questing: Invalid Status in linux-oem-6.14 source package in Questing: Invalid Bug description: [ SRU Justification ] [ Impact ] To help debugging on AMD Zen and newer systems. [ Test Plan ] 1. Reboot to the -proposed kernel, 2. check the dmesg for pattern "x86/amd: Previous system reset reason [0x%08lx]: %s\n". The possible values can be found in https://docs.kernel.org/arch/x86/amd-debugging.html#random-reboot-issues. For a normal reboot, it should be: ``` $ sudo dmesg|grep 'reset reason' x86/amd: Previous system reset reason [0x00080800]: software wrote 0x6 to reset control register 0xCF9 ``` [ Where problems could occur ] The proposed fixes are mostly refactoring without function change. [ Other Info ] Nominate for v6.11 and up. ========== original bug report ========== For the 6.16 kernel cycle a patch series [1] has been submitted that will print the last reset reason into the kernel logs. This is very helpful information for finding patterns of problems so that they can be reproduced and dug into. Proposed fixes in v6.16-rc1: ab8131028710d (tip/x86/platform) x86/CPU/AMD: Print the reason for the last reset cafb22242bfb7 Documentation: Add AMD Zen debugging document 7094702a9e6d1 platform/x86/amd/pmc: Use FCH_PM_BASE definition 624b0d5696a89 i2c: piix4, x86/platform: Move the SB800 PIIX4 FCH definitions to <asm/amd/fch.h> 7e173eb82ae97 i2c: piix4: Make CONFIG_I2C_PIIX4 dependent on CONFIG_X86 [1] https://lore.kernel.org/linux- doc/20250501214147.2488164-1-supe...@kernel.org/T/#m929cf0ee6bf08fb2b392b6c246c405d842bb89b3 To manage notifications about this bug go to: https://bugs.launchpad.net/hwe-next/+bug/2115171/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp