On 05/10/2017 17:27, Christoph Hellwig wrote:
On Thu, Oct 05, 2017 at 05:06:54PM +0100, John Garry wrote:
It's a HiSilicon hip07 (D05) platform. For this platform, the integrated
SAS controller is a platform device. This controller supports 16 hw queues.

That's v1 or v2 in drivers/scsi/hisi_sas?

That's v2 drivers/scsi/hisi_sas.


Seems like you need to implement the equivalent of the
pci_alloc_irq_vectors vector spreading for platform devices to get
your vectors properly assigned, and the have a blk_mq_of_map_queues
equivalent to blk_mq_pci_map_queues to map the queues based on the
interrupt assignment.

.

Right, I'll have a look.

But I am still interested in patch "blk-mq: map all HWQ also in hyperthreaded system" and what it is the intended mapping behaviour of blk_mq_of_map_queues() supposed to be. As I said originally, it does not always seem to follow the general principle of assigning close cores to the same queue.

Cheers,
John


Reply via email to