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

Bart Van Assche
2025-09-24T21:51:36Z

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.