diff options
author | Bart Van Assche <bvanassche@acm.org> | 2024-10-22 12:31:02 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-10-25 15:01:11 -0400 |
commit | 2c73fb138da587597c2b02e72dcbeae18af60f4e (patch) | |
tree | a08959dcfdd15d47ca45ad4558463cac39a7d571 /tools/perf/scripts/python/task-analyzer.py | |
parent | 2a36646012fc58e6262435ff5d2c8c97456c253f (diff) | |
download | linux-2c73fb138da587597c2b02e72dcbeae18af60f4e.tar.gz linux-2c73fb138da587597c2b02e72dcbeae18af60f4e.tar.bz2 linux-2c73fb138da587597c2b02e72dcbeae18af60f4e.zip |
scsi: ufs: core: Improve ufshcd_mcq_sq_cleanup()
From the UFSHCI specification: "CleanUp Command Return Code (RTC): host
controller sets this return code to provide more details of the cleanup
process. It is valid only when CUS is 1." Hence, do not read RTC if the
CUS bitfield is zero.
Cc: Bao D. Nguyen <quic_nguyenb@quicinc.com>
Fixes: 8d7290348992 ("scsi: ufs: mcq: Add supporting functions for MCQ abort")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20241022193130.2733293-7-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions