RE: [PATCH v2] scsi:ufs:core: update compl_time_stamp_local_clock after complete a cqe

From: Avri Altman
Date: Fri Dec 06 2024 - 23:30:58 EST


> From: liuderong <liuderong@xxxxxxxx>
>
> For now, lrbp->compl_time_stamp_local_clock is set to zero
> after send a sqe, but it is not updated after complete a cqe,
> the printed information in ufshcd_print_tr will always be zero.
> So update lrbp->cmpl_time_stamp_local_clock after complete 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 <beanhuo@xxxxxxxxxx>
> Reviewed-by: Peter Wang <peter.wang@xxxxxxxxxxxx>
> Signed-off-by: liuderong <liuderong@xxxxxxxx>
Reviewed-by: Avri Altman <avri.altman@xxxxxxx>