diff options
author | Dan Williams <dan.j.williams@intel.com> | 2013-11-13 16:29:52 -0800 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2013-11-14 11:04:42 -0800 |
commit | 4c5d9619e06b960d14f5640341f40e71f78801c2 (patch) | |
tree | 3eff1516e4facdcfb7b96238d549d38ca7f4e6b3 /drivers/dma/ioat/dma_v3.c | |
parent | 09ec0f583f40bbecdf011b504dda9c1160fe0277 (diff) | |
download | op-kernel-dev-4c5d9619e06b960d14f5640341f40e71f78801c2.zip op-kernel-dev-4c5d9619e06b960d14f5640341f40e71f78801c2.tar.gz |
ioat: kill msix_single_vector support
Once we have determined that we will not have all of our desired msix
vectors there is no point in attempting a single msix allocation. The
driver will already need to read registers to determine the source of
the interrupt the fact that it is msix is moot. Fallback directly to
msi.
Reported-by: Alexander Gordeev <agordeev@redhat.com>
Cc: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/ioat/dma_v3.c')
-rw-r--r-- | drivers/dma/ioat/dma_v3.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/dma/ioat/dma_v3.c b/drivers/dma/ioat/dma_v3.c index f8170de..3861663 100644 --- a/drivers/dma/ioat/dma_v3.c +++ b/drivers/dma/ioat/dma_v3.c @@ -1468,13 +1468,6 @@ static int ioat3_irq_reinit(struct ioatdma_device *device) pci_disable_msix(pdev); break; - case IOAT_MSIX_SINGLE: - msix = &device->msix_entries[0]; - chan = ioat_chan_by_index(device, 0); - devm_free_irq(&pdev->dev, msix->vector, chan); - pci_disable_msix(pdev); - break; - case IOAT_MSI: chan = ioat_chan_by_index(device, 0); devm_free_irq(&pdev->dev, pdev->irq, chan); |