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

Bart Van Assche bvanassche at acm.org
Wed Sep 24 14:51:08 PDT 2025


On 9/24/25 2:26 AM, Peter Wang (王信友) wrote:
> Are you saying that after the runtime suspend timer expires,
> the error handler might be triggered just before runtime suspend?
> I don't think this can happen, since there shouldn't be anything
> triggering the error handler when the bus has been idle for a long
> time.
Hi Peter,

The UFS error handler is not only triggered by bus errors. It can also
be activated via debugfs. Do you agree that activation via debugfs can
happen concurrently with runtime suspend?

Thanks,

Bart.



More information about the Linux-mediatek mailing list