summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSourabh Jain <sourabhjain@linux.ibm.com>2026-07-27 11:04:16 +0530
committerMadhavan Srinivasan <maddy@linux.ibm.com>2026-08-03 14:05:55 +0530
commitfb43ba4256543ce18ca0540fc37022bda438a293 (patch)
treecb01ac807cc7afb74d1793d671a36707aaa550b1 /tools
parente65b526affa621b50646cafdf6b06505af07032e (diff)
powerpc/crash: stop watchdogs before booting kdump kernel
On pseries LPAR systems, watchdog timers configured from userspace can remain active after a kernel panic. When a panic triggers kdump, the crashing kernel jumps directly to the kdump kernel without stopping active watchdogs. As a result, the watchdogs remain active after the kdump kernel starts. If dump capture takes longer than the watchdog timeout, PHYP resets the LPAR before the dump is fully captured, causing dump capture to fail. Fix this by issuing the `H_WATCHDOG` hcall during the crash shutdown sequence to stop all active watchdogs before booting the kdump kernel. Cc: stable@vger.kernel.org Fixes: 69472ffa6575 ("watchdog/pseries-wdt: initial support for H_WATCHDOG-based watchdog timers") Reported-by: Mahesh Kumar G <mahe657@linux.ibm.com> Suggested-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com> Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com> Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20260727053416.276317-4-sourabhjain@linux.ibm.com
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions