Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi

Pull SCSI fix from James Bottomley:
"A single small fix for the UFS driver to fix a power management
failure"

* tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
scsi: ufs: core: Fix I/O hang that occurs when BKOPS fails in W-LUN suspend

+9 -1
+9 -1
drivers/ufs/core/ufshcd.c
··· 9459 9459 * that performance might be impacted. 9460 9460 */ 9461 9461 ret = ufshcd_urgent_bkops(hba); 9462 - if (ret) 9462 + if (ret) { 9463 + /* 9464 + * If return err in suspend flow, IO will hang. 9465 + * Trigger error handler and break suspend for 9466 + * error recovery. 9467 + */ 9468 + ufshcd_force_error_recovery(hba); 9469 + ret = -EBUSY; 9463 9470 goto enable_scaling; 9471 + } 9464 9472 } else { 9465 9473 /* make sure that auto bkops is disabled */ 9466 9474 ufshcd_disable_auto_bkops(hba);