Re: [PATCH] PM: sleep: Add DPM watchdog to late/early/noirq phases
Tzung-Bi Shih <[email protected]>
| Newsgroups | org.kernel.vger.linux-pm,dev.linux.lists.driver-core,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Aug 21, 2026 at 10:06:48AM -0700, Mayank Rungta wrote: > Extend the DPM watchdog to wrap device_suspend_late, device_suspend_noirq, > device_resume_early, and device_resume_noirq 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. > > Signed-off-by: Mayank Rungta <[email protected]> Reviewed-by: Tzung-Bi Shih <[email protected]>