diff options
author | Grzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org> | 2021-06-18 21:50:32 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2021-08-22 10:28:08 +0200 |
commit | 60bcd91aafd22ef62cef9ae2037fa2e1d4da2fb3 (patch) | |
tree | 918b076b7d7ab529aa5f26f101864a6505ad4802 /tools/perf/scripts/python/stackcollapse.py | |
parent | c7b178dae139f8857edc50888cfbf251cd974a38 (diff) |
watchdog: introduce watchdog_dev_suspend/resume
The watchdog drivers often disable wdog clock during suspend and then
enable it again during resume. Nevertheless the ping worker is still
running and can issue low-level ping while the wdog clock is disabled
causing the system hang. To prevent such condition register pm notifier
in the watchdog core which will call watchdog_dev_suspend/resume and
actually cancel ping worker during suspend and restore it back, if
needed, during resume.
Signed-off-by: Grzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20210618195033.3209598-2-grzegorz.jaszczyk@linaro.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions