mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
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>
This commit is contained in:
committed by
Martin K. Petersen
parent
0cab4023ec
commit
57b1c0ef89
@@ -840,6 +840,8 @@ struct ufs_hba_monitor {
|
||||
* ee_ctrl_mask
|
||||
* @luns_avail: number of regular and well known LUNs supported by the UFS
|
||||
* device
|
||||
* @nr_hw_queues: number of hardware queues configured
|
||||
* @nr_queues: number of Queues of different queue types
|
||||
* @complete_put: whether or not to call ufshcd_rpm_put() from inside
|
||||
* ufshcd_resume_complete()
|
||||
* @ext_iid_sup: is EXT_IID is supported by UFSHC
|
||||
@@ -994,6 +996,8 @@ struct ufs_hba {
|
||||
u32 debugfs_ee_rate_limit_ms;
|
||||
#endif
|
||||
u32 luns_avail;
|
||||
unsigned int nr_hw_queues;
|
||||
unsigned int nr_queues[HCTX_MAX_TYPES];
|
||||
bool complete_put;
|
||||
bool ext_iid_sup;
|
||||
bool scsi_host_added;
|
||||
|
||||
Reference in New Issue
Block a user