diff options
author | Asutosh Das <quic_asutoshd@quicinc.com> | 2023-03-09 02:13:23 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-10 05:09:28 +0300 |
commit | c6001025d53ab56d7159cf313313c6b5bd250380 (patch) | |
tree | 4c71234c61e76af26deb21d7bc643b00fcc96388 /tools/perf/scripts/python/task-analyzer.py | |
parent | be03df3d4bfe7e8866d4aa43d62e648ffe884f5f (diff) | |
download | linux-c6001025d53ab56d7159cf313313c6b5bd250380.tar.xz |
scsi: ufs: mcq: Use active_reqs to check busy in clock scaling
Multi Circular Queue doesn't use outstanding_reqs. However, the UFS clock
scaling functions use outstanding_reqs to determine if there are requests
pending. When MCQ is enabled, this check always returns false.
Hence use active_reqs to check if there are pending requests.
Fixes: eacb139b77ff ("scsi: ufs: core: mcq: Enable multi-circular queue")
Signed-off-by: Asutosh Das <quic_asutoshd@quicinc.com>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://lore.kernel.org/r/a24e0d646aac70eae0fc5e05fac0c58bb7e6e680.1678317160.git.quic_asutoshd@quicinc.com
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