Re: [PATCH 0/2] PM: runtime: Fix potential I/O hang
From: Bart Van Assche
Date: Wed Nov 26 2025 - 10:48:55 EST
On 11/26/25 3:31 AM, Rafael J. Wysocki wrote:
Please address the issue differently.
It seems unfortunate to me that __pm_runtime_barrier() can cause pm_request_resume() to hang. Would it be safe to remove the
cancel_work_sync() call from __pm_runtime_barrier() since
pm_runtime_work() calls functions that check disable_depth
when processing RPM_REQ_SUSPEND and RPM_REQ_AUTOSUSPEND? Would
this be sufficient to fix the reported deadlock?
Thanks,
Bart.