SCSI fixes for 6.4-rc1
Subsystems (2)
James Bottomley
maintainerSingle small fix for the UFS driver to fix a power management failure.
The patch is available here:
git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes
The short changelog is:
Keoseong Park (1):
scsi: ufs: core: Fix I/O hang that occurs when BKOPS fails in W-LUN suspend
And the diffstat:
drivers/ufs/core/ufshcd.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
With full diff below.
James
---
drivers/ufs/core/ufshcd.c +9 -1
@@ -9459,8 +9459,16 @@ static int __ufshcd_wl_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op)* that performance might be impacted. */ ret =ufshcd_urgent_bkops (hba); -if (ret) +if (ret) { +/* +* If return err in suspend flow, IO will hang. +* Trigger error handler and break suspend for +* error recovery. +*/ +ufshcd_force_error_recovery (hba); + ret = -EBUSY ; goto enable_scaling; + } }else {/* make sure that auto bkops is disabled */ ufshcd_disable_auto_bkops (hba);
The pull request you sent on Sat, 13 May 2023 19:24:24 -0400:
The pull request you sent on Sat, 13 May 2023 19:24:24 -0400:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.gitscsi-fixes
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/046206bad0f6a886e1f890c5fcb106d596971c95
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html