Skip to content

scsi: ufs: Do not exit reset of error functions unless operational

Adrian Hunter linux-scsi 1 version Applied

Status from this message: Applied to 5.16/scsi-staging, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2scsi: ufs: Do not exit ufshcd_reset_and_restore() unless operational or deaddrivers/scsi/ufs/ufshcd.c+23 -131 reply
2/2scsi: ufs: Do not exit ufshcd_err_handler() unless operational or deaddrivers/scsi/ufs/ufshcd.c+25 -54 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAvri altman
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] scsi: ufs: Do not exit reset of error functions unless operational

Hi

Callers of ufshcd_reset_and_restore() and ufshcd_err_handler() expect them to return in an operational state. However, the code does not check the state before exiting. Here are a couple of patches to correct that.

Adrian Hunter (2):
scsi: ufs: Do not exit ufshcd_reset_and_restore() unless operational or dead
scsi: ufs: Do not exit ufshcd_err_handler() unless operational or dead

 drivers/scsi/ufs/ufshcd.c | 66 ++++++++++++++++++++++++++++++++++-------------
 1 file changed, 48 insertions(+), 18 deletions(-)

Regards
Adrian