Re: [PATCH] scsi: ufs: qcom: Perform read back after writing reset bit

From: Andrew Halaney
Date: Mon Dec 11 2023 - 14:52:06 EST


On Mon, Dec 11, 2023 at 09:59:25AM -0800, Bart Van Assche wrote:
>
> On 12/8/23 12:19, Andrew Halaney wrote:
> > The recommendation for ensuring this bit has taken effect on the
> > device is to perform a read back to force it to make it all the way
> > to the device. This is documented in device-io.rst [... ]
> There are more mb()'s that need to be replaced, namely the mb() calls in
> ufshcd_system_restore() and ufshcd_init().

I'll poke at those in v2 (or in a separate series if this is scooped up
prior).

Thanks,
Andrew