summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2025-02-15 01:43:44 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2025-02-19 04:51:32 +0300
commit4fa382be430421e1445f9c95c4dc9b7e0949ae8a (patch)
treea427ec9b36cc809b850a88145e5b657ba892c7d7 /tools/perf/scripts/python/exported-sql-viewer.py
parent5233e3235dec3065ccc632729675575dbe3c6b8a (diff)
downloadlinux-4fa382be430421e1445f9c95c4dc9b7e0949ae8a.tar.xz
scsi: ufs: core: Fix ufshcd_is_ufs_dev_busy() and ufshcd_eh_timed_out()
ufshcd_is_ufs_dev_busy(), ufshcd_print_host_state() and ufshcd_eh_timed_out() are used in both modes (legacy mode and MCQ mode). hba->outstanding_reqs only represents the outstanding requests in legacy mode. Hence, change hba->outstanding_reqs into scsi_host_busy(hba->host) in these functions. Fixes: eacb139b77ff ("scsi: ufs: core: mcq: Enable multi-circular queue") Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20250214224352.3025151-1-bvanassche@acm.org Reviewed-by: Peter Wang <peter.wang@mediatek.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions