Re: [PATCH 2/6] ipr: use pci_irq_allocate_vectors

From: Martin K. Petersen
Date: Tue Oct 11 2016 - 16:18:36 EST


>>>>> "Christoph" == Christoph Hellwig <hch@xxxxxx> writes:

Christoph> Switch the ipr driver to use pci_alloc_irq_vectors. We need
Christoph> to two calls to pci_alloc_irq_vectors as ipr only supports
Christoph> multiple MSI-X vectors, but not multiple MSI vectors.

Christoph> Otherwise this cleans up a lot of cruft and allows to use a
Christoph> common request_irq loop for irq types, which happens to only
Christoph> iterate over a single line in the non MSI-X case.

Applied to 4.10/scsi-queue.

--
Martin K. Petersen Oracle Linux Engineering