[PATCH v2] ufs: core: wlun suspend dev/link state error recovery
Martin K. Petersen
martin.petersen at oracle.com
Mon Apr 1 18:48:39 PDT 2024
On Fri, 29 Mar 2024 09:50:36 +0800, peter.wang at mediatek.com wrote:
> When wl suspend error occurs, for example, BKOP or SSU timeout, the host
> triggers an error handler and returns -EBUSY to break the wl suspend process.
> However, it is possible for the runtime PM to enter wl suspend again before
> the error handler has finished, and return -EINVAL because the device is
> in an error state. To address this, ensure that the rumtime PM waits for the
> error handler to finish, or trigger the error handler in such cases,
> because returning -EINVAL can cause the I/O to hang.
>
> [...]
Applied to 6.9/scsi-fixes, thanks!
[1/1] ufs: core: wlun suspend dev/link state error recovery
https://git.kernel.org/mkp/scsi/c/6bc5e70b1c79
--
Martin K. Petersen Oracle Linux Engineering
More information about the Linux-mediatek
mailing list