]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
scsi: ufs: core: mcq: Add support to allocate multiple queues
authorAsutosh Das <quic_asutoshd@quicinc.com>
Fri, 13 Jan 2023 20:48:41 +0000 (12:48 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 14 Jan 2023 02:03:36 +0000 (21:03 -0500)
commit57b1c0ef89ac9d9e7475df7843aeb7672ebcd197
tree692fbc3c040a4e6c44dc72e5ab6f0c8b0ea9a817
parent0cab4023ec7b49b18145f74ab8389678d6d58878
scsi: ufs: core: mcq: Add support to allocate multiple queues

Multi-circular queue (MCQ) has been added in UFSHC v4.0 standard in
addition to the Single Doorbell mode.  The MCQ mode supports multiple
submission and completion queues.  Add support to allocate and configure
the queues.  Add module parameters support to configure the queues.

Co-developed-by: Can Guo <quic_cang@quicinc.com>
Signed-off-by: Can Guo <quic_cang@quicinc.com>
Signed-off-by: Asutosh Das <quic_asutoshd@quicinc.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/Makefile
drivers/ufs/core/ufs-mcq.c [new file with mode: 0644]
drivers/ufs/core/ufshcd-priv.h
drivers/ufs/core/ufshcd.c
include/ufs/ufshcd.h