diff options
| author | liuderong <[email protected]> | 2024-12-06 07:29:42 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2024-12-10 02:49:08 +0000 |
| commit | f103396ae31851d00b561ff9f8a32a441953ff8b (patch) | |
| tree | bcaf5b7772aed7755c46dc08f0551ccdff10a3da /drivers/platform/x86/intel/vsec.c | |
| parent | scsi: scsi_debug: Fix hrtimer support for ndelay (diff) | |
| download | kernel-f103396ae31851d00b561ff9f8a32a441953ff8b.tar.gz kernel-f103396ae31851d00b561ff9f8a32a441953ff8b.zip | |
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: c30d8d010b5e ("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]>
Diffstat (limited to 'drivers/platform/x86/intel/vsec.c')
0 files changed, 0 insertions, 0 deletions
