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

From: Martin K. Petersen
Date: Mon Sep 19 2016 - 16:46:56 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.

Brian, Gabriel: Please test and review. Thanks!

--
Martin K. Petersen Oracle Linux Engineering