diff options
| author | Asutosh Das <[email protected]> | 2023-03-08 23:13:23 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2023-03-10 02:09:28 +0000 |
| commit | c6001025d53ab56d7159cf313313c6b5bd250380 (patch) | |
| tree | 4c71234c61e76af26deb21d7bc643b00fcc96388 /tools/perf/scripts/python/sctop.py | |
| parent | scsi: core: Fix a procfs host directory removal regression (diff) | |
| download | kernel-c6001025d53ab56d7159cf313313c6b5bd250380.tar.gz kernel-c6001025d53ab56d7159cf313313c6b5bd250380.zip | |
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 <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Link: https://lore.kernel.org/r/a24e0d646aac70eae0fc5e05fac0c58bb7e6e680.1678317160.git.quic_asutoshd@quicinc.com
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
