WSL2-Linux-Kernel/drivers/ufs/core
Asutosh Das c6001025d5 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: eacb139b77 ("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>
2023-03-09 21:09:28 -05:00
..
Kconfig
Makefile scsi: ufs: core: mcq: Add support to allocate multiple queues 2023-01-13 21:03:36 -05:00
ufs-debugfs.c
ufs-debugfs.h
ufs-fault-injection.c
ufs-fault-injection.h
ufs-hwmon.c
ufs-mcq.c scsi: ufs: core: Fix kernel-doc syntax 2023-02-08 18:56:51 -05:00
ufs-sysfs.c scsi: ufs: core: Use is_visible to control UFS unit descriptor sysfs nodes 2022-10-27 02:20:50 +00:00
ufs-sysfs.h
ufs_bsg.c scsi: ufs: core: bsg: Fix sometimes-uninitialized warnings 2023-01-11 22:16:59 -05:00
ufs_bsg.h
ufshcd-crypto.c
ufshcd-crypto.h
ufshcd-priv.h scsi: ufs: core: Add Event Specific Interrupt configuration vendor specific ops 2023-01-13 21:10:25 -05:00
ufshcd.c scsi: ufs: mcq: Use active_reqs to check busy in clock scaling 2023-03-09 21:09:28 -05:00
ufshpb.c Merge patch series "scsi: ufs: core: Always read the descriptors with max length" 2022-12-30 21:48:47 +00:00
ufshpb.h