scsi: ufs: core: Print trs for pending requests in MCQ mode
authorZiqi Chen <quic_ziqichen@quicinc.com>
Wed, 15 Mar 2023 07:31:52 +0000 (15:31 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 17 Mar 2023 03:15:30 +0000 (23:15 -0400)
commit127fd07da459379d39d5a048afbd3e51d00f3f60
tree22e94171a120fe48c2759041966af8dc0ec03669
parentcb38845d90fc4ad905aecd36ed85a75764d0b5fb
scsi: ufs: core: Print trs for pending requests in MCQ mode

We don't have outstanding_reqs bitmap in MCQ mode. Considering that the
queue depth may increase beyond 64 in the future, rework ufshcd_print_trs()
to get rid of bitmap usage so that we can print trs for pending requests in
both SDB and MCQ mode.

Signed-off-by: Ziqi Chen <quic_ziqichen@quicinc.com>
Link: https://lore.kernel.org/r/1678865517-43139-1-git-send-email-quic_ziqichen@quicinc.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c