[PATCH v2 1/3] scsi: ufs: core: Introduce mcq ops to config cqid

Bart Van Assche bvanassche at acm.org
Tue May 30 16:54:29 PDT 2023


On 5/29/23 19:32, Po-Wen Kao wrote:
> MCQ sq/cq mapping is not just one for one, could many for one.
> This patch allow host driver to change the mapping, assign cqid
> for each hw queue.

What use case do you have in mind for associating multiple submission 
queues with a single completion queue?

No matter what the use case is, I think that which submission queues are 
associated with a completion queue is independent of the host driver and 
hence that such logic should exist in the UFS core instead of in a host 
driver.

Bart.



More information about the Linux-mediatek mailing list