On 10/2/22 14:21, Bean Huo wrote:
Yes, install the whole series of changes, ufshcd_link_recovery() will
be called during the system is in suspending in the case of SSU
timeouts. in this case, outstanding_tasks should be 0?
Hi Bean,
'outstanding_tasks' needs to be changed into 'outstanding_reqs' in patch
8/8. My understanding is that ufshcd_link_recovery() calls
ufshcd_complete_requests() indirectly. That causes the bits
corresponding to completed requests to be cleared from outstanding_reqs
but does not guarantee that outstanding_reqs will be zero.
Thanks,
Bart.