Re: [PATCH v4 1/3] power: reset: pscrr: add kernel panic reason tracking
From: Daniel Lezcano
Date: Wed Oct 07 2026 - 07:08:27 EST
On 8/5/26 10:54, Faruque Ansari wrote:
Kernel panic resets are not recorded in NVMEM, causing subsequentReviewed-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxxxxxxxx>
boots to report PSCR_UNKNOWN and making post-mortem analysis more
difficult.
Register a panic notifier to preserve the shutdown reason across
panic-triggered resets. Add PSCR_KERNEL_PANIC as a dedicated reset
reason code and its corresponding reason string to identify kernel
panic resets on subsequent boots.
Signed-off-by: Faruque Ansari <faruque.ansari@xxxxxxxxxxxxxxxx>
---