mbox series

[v2,0/3] Three minor fixes w.r.t suspend/resume

Message ID 1619408921-30426-1-git-send-email-cang@codeaurora.org
Headers show
Series Three minor fixes w.r.t suspend/resume | expand

Message

Can Guo April 26, 2021, 3:48 a.m. UTC
1st change can fix a possible OCP issue when AH8 error happens.
2nd and 3rd change can fix race conditions btw suspend/resume and other contexts.

Can Guo (3):
  scsi: ufs: Do not put UFS power into LPM if link is broken
  scsi: ufs: Cancel rpm_dev_flush_recheck_work during system suspend
  scsi: ufs: Narrow down fast pass in system suspend path

Change since V1:
- Incorporated Daejun's comment.

 drivers/scsi/ufs/ufshcd.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Comments

Daejun Park April 26, 2021, 5:47 a.m. UTC | #1
Hi Can Guo,

>1st change can fix a possible OCP issue when AH8 error happens.
>2nd and 3rd change can fix race conditions btw suspend/resume and other contexts.
> 
>Can Guo (3):
>  scsi: ufs: Do not put UFS power into LPM if link is broken
>  scsi: ufs: Cancel rpm_dev_flush_recheck_work during system suspend
>  scsi: ufs: Narrow down fast pass in system suspend path
> 
>Change since V1:
>- Incorporated Daejun's comment.
> 
> drivers/scsi/ufs/ufshcd.c | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
> 

This series looks good to me.
Reviewed-by: Daejun Park <daejun7.park@samsung.com>

Thanks,
Daejun
Martin K. Petersen April 29, 2021, 3:18 a.m. UTC | #2
On Sun, 25 Apr 2021 20:48:37 -0700, Can Guo wrote:

> 1st change can fix a possible OCP issue when AH8 error happens.

> 2nd and 3rd change can fix race conditions btw suspend/resume and other contexts.

> 

> Can Guo (3):

>   scsi: ufs: Do not put UFS power into LPM if link is broken

>   scsi: ufs: Cancel rpm_dev_flush_recheck_work during system suspend

>   scsi: ufs: Narrow down fast pass in system suspend path

> 

> [...]


Applied to 5.13/scsi-fixes, thanks!

[1/3] scsi: ufs: Do not put UFS power into LPM if link is broken
      https://git.kernel.org/mkp/scsi/c/23043dd87b15
[2/3] scsi: ufs: Cancel rpm_dev_flush_recheck_work during system suspend
      https://git.kernel.org/mkp/scsi/c/637822e63b79
[3/3] scsi: ufs: Narrow down fast pass in system suspend path
      https://git.kernel.org/mkp/scsi/c/ce4f62f9dd8c

-- 
Martin K. Petersen	Oracle Linux Engineering