Re: [PATCH V8 1/1] scsi: ufs: Let devices remain runtime suspended during system suspend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2021-10-27 at 16:06 +0300, Adrian Hunter wrote:
> If the UFS Device WLUN is runtime suspended and is in the same power
> 
> mode, link state and b_rpm_dev_flush_capable (BKOP or WB buffer flush
> etc)
> 
> state, then it can remain runtime suspended instead of being runtime
> 
> resumed and then system suspended.
> 
> 
> 
> The following patch has cleared the way for that to happen:
> 
>   scsi: core: pm: Only runtime resume if necessary
> 
> 
> 
> So amend the logic accordingly.
> 
> 
> 
> Note, the ufs-hisi driver uses different RPM and SPM, but it is made
> 
> explicit by a new parameter to suspend prepare.
> 
> 
> 
> Signed-off-by: Adrian Hunter <adrian.hunter@xxxxxxxxx>
> 
> Reviewed-by: Asutosh Das <asutoshd@xxxxxxxxxxxxxx>

Reviewed-by: Bean Huo <beanhuo@xxxxxxxxxx>




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux