diff options
| author | Mayank Rungta <mrungta@google.com> | 2026-09-09 15:48:18 -0700 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-09-25 18:56:34 +0200 |
| commit | 33392343c74e417375b87032c66078a3bbc1dc91 (patch) | |
| tree | 9d9e4bcca004dc7627eec7a74cf5e4687341fe43 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 3b8650f2e8810f0baa48608c8dfe4f44120de123 (diff) | |
PM: sleep: Add DPM watchdog to prepare/late/early/noirq/complete phases
Extend the DPM watchdog to wrap device_prepare, device_suspend_late,
device_suspend_noirq, device_resume_noirq, device_resume_early, and
device_complete callbacks. If a driver hangs during these transitions,
the watchdog will fire and dump a stack trace to help identify the
offending driver.
To prevent false-positive timeouts, the watchdog is set only after
waiting for subordinate (during suspend) and superior (during resume)
devices. With this change, DPM watchdog coverage is extended across all
phases of system sleep transitions.
Signed-off-by: Mayank Rungta <mrungta@google.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link: https://patch.msgid.link/20260909224818.2177311-1-mrungta@google.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
