Re: [PATCH v1 1/1] scsi: ufs: full reinit upon resume if link was off
From: Stanley Chu
Date: Sun Mar 29 2020 - 20:35:20 EST
Hi Can,
On Fri, 2020-03-27 at 19:27 -0700, Can Guo wrote:
> From: Asutosh Das <asutoshd@xxxxxxxxxxxxxx>
>
> During suspend, if the link is put to off, it would require
> a full initialization during resume. This patch resets and
> restores both the hba and the card during initialization.
>
> Signed-off-by: Asutosh Das <asutoshd@xxxxxxxxxxxxxx>
> Signed-off-by: Can Guo <cang@xxxxxxxxxxxxxx>
Personally I like this patch because the re-initialization performance
is improved in my test platform with my patch "scsi: ufs: set device as
active power mode after resetting device" working together. But I am not
sure if every vendor is happy about this.
Anyway,
Acked-by: Stanley Chu <stanley.chu@xxxxxxxxxxxx>