Commit f103396
scsi: ufs: core: Update compl_time_stamp_local_clock after completing a cqe
lrbp->compl_time_stamp_local_clock is set to zero after sending a sqe
but it is not updated after completing a cqe. Thus the printed
information in ufshcd_print_tr() will always be zero.
Update lrbp->cmpl_time_stamp_local_clock after completing a cqe.
Log sample:
ufshcd-qcom 1d84000.ufshc: UPIU[8] - issue time 8750227249 us
ufshcd-qcom 1d84000.ufshc: UPIU[8] - complete time 0 us
Fixes: c30d8d0 ("scsi: ufs: core: Prepare for completion in MCQ")
Reviewed-by: Bean Huo <[email protected]>
Reviewed-by: Peter Wang <[email protected]>
Signed-off-by: liuderong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Avri Altman <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>1 parent 6918141 commit f103396
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5556 | 5556 | | |
5557 | 5557 | | |
5558 | 5558 | | |
| 5559 | + | |
5559 | 5560 | | |
5560 | 5561 | | |
5561 | 5562 | | |
| |||
0 commit comments