Re: [PATCH v5] scsi: ufs: core: handle PM commands timeout before SCSI EH

From: Martin K. Petersen

Date: Mon Jun 15 2026 - 22:26:51 EST


On Fri, 05 Jun 2026 19:20:34 +0800, Hongjie Fang wrote:

> A PM START STOP sent from the UFS well-known LU resume path can race with
> SCSI EH.
>
> The "wl resume" task flow is:
> __ufshcd_wl_resume()
> ufshcd_set_dev_pwr_mode(UFS_ACTIVE_PWR_MODE)
> ufshcd_execute_start_stop()
> scsi_execute_cmd()
> blk_execute_rq <-- wait
> scsi_check_passthrough() <-- may retry START STOP
>
> [...]

Applied to 7.2/scsi-queue, thanks!

[1/1] scsi: ufs: core: handle PM commands timeout before SCSI EH
https://git.kernel.org/mkp/scsi/c/01d5e237b339

--
Martin K. Petersen