Re: [PATCH v2 1/1] scsi: ufs: full reinit upon resume if link was off

From: Martin K. Petersen
Date: Fri Apr 17 2020 - 17:29:08 EST



Can,

> During suspend, if the link is put to off, it would require a full
> initialization during resume. This patch resets and restores both the
> host and the card during initialization, otherwise, host only reset
> and restore may fail occasionally.

Applied to 5.8/scsi-queue, thanks!

> Signed-off-by: Asutosh Das <asutoshd@xxxxxxxxxxxxxx>
> Signed-off-by: Can Guo <cang@xxxxxxxxxxxxxx>
> Reviewed-by: Bean Huo <beanhuo@xxxxxxxxxx>
> Reviewed-by: Alim Akhtar <alim.akhtar@xxxxxxxxxxx>
> Acked-by: Stanley Chu <stanley.chu@xxxxxxxxxxxx>
>
> Change since v1:
> - Incorporated Alim's comments.
>
> ---
> drivers/scsi/ufs/ufshcd.c | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)

Don't forget to put the changelog after the "---" separator.

--
Martin K. Petersen Oracle Linux Engineering