RE: [PATCH 2/2] scsi: ufs: Workaround UFS devices that object to DeepSleep IMMED

From: Avri Altman
Date: Mon Oct 05 2020 - 04:10:32 EST



>
> The UFS specification says to set the IMMED (immediate) flag for the
> Start/Stop Unit command when entering DeepSleep. However some UFS
> devices object to that. Workaround that by retrying without IMMED.
> Whichever possibility works, the result is recorded for the next
> time.

As aforesaid, this patch might not be needed once IMMED is set to 0.
However, Any spec violation should come in a form of a quirk.
The driver is not supposed to figure out the peculiarities of each vendor.

Thanks
Avri