[PATCH v3] ufs: core: Fix runtime suspend error deadlock

Martin K. Petersen martin.petersen at oracle.com
Mon Sep 29 13:52:10 PDT 2025


Peter,

> Resolve the deadlock issue during runtime suspend when an error
> triggers the error handler. Prevent the deadlock by checking
> pm_op_in_progress and performing a quick recovery. This approach
> ensures that the error handler does not wait indefinitely for runtime
> PM to resume, allowing runtime suspend to proceed smoothly.

Applied to 6.18/scsi-staging, thanks!

-- 
Martin K. Petersen



More information about the Linux-mediatek mailing list