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? 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.