** Description changed:

+ [ 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/[email protected]/T/#m929cf0ee6bf08fb2b392b6c246c405d842bb89b3

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2115171

Title:
  Print last reset reason into kernel log on AMD Zen platforms

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2115171/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to