aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMeng Li <[email protected]>2023-08-14 09:06:16 +0000
committerWim Van Sebroeck <[email protected]>2023-08-19 15:36:19 +0000
commit486a64b29c5f43a9671713e781779863dda9bbc9 (patch)
treef620518a4d5fd8a43c516328ecc14d3b66cf6829 /tools/perf/scripts/python/stackcollapse.py
parentwatchdog: pm8916_wdt: Remove redundant of_match_ptr() (diff)
downloadkernel-486a64b29c5f43a9671713e781779863dda9bbc9.tar.gz
kernel-486a64b29c5f43a9671713e781779863dda9bbc9.zip
watchdog: core: stop watchdog when executing poweroff command
On some platforms, for example, Intel SoC FPGA platform, the watchdog is started in u-boot, and so kernel will create a timer and work to keep watchdog alive. But when user executes commands "poweroff" or "shutdown -h", the system is reset when watchdog triggers timeout even if WDOG_STOP_ON_REBOOT is set in watchdog driver. The root cause is that the watchdog is not stopped properly because the SYS_POWER_OFF case is not supported in notify callback function. So, add this case to stop watchdog when executing poweroff command. Signed-off-by: Meng Li <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions