]> Git Repo - linux.git/commit - drivers/pci/pcie/portdrv.c
PCI/portdrv: Support multiple interrupts for MSI as well as MSI-X
authorGabriele Paoloni <[email protected]>
Tue, 23 May 2017 14:23:58 +0000 (15:23 +0100)
committerBjorn Helgaas <[email protected]>
Fri, 16 Jun 2017 23:04:13 +0000 (18:04 -0500)
commita1d5f18cafe6b81696e60ca4901709d2f807362c
tree8f7cbc9c642cdd9fe11185d3429c74e9bfa1a416
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
PCI/portdrv: Support multiple interrupts for MSI as well as MSI-X

Root Ports can generate several different interrupts using either MSI or
MSI-X, but we only support that for MSI-X.  Ports that support MSI but not
MSI-X are currently limited to sharing a single interrupt.

Rename pcie_port_enable_msix() to pcie_port_enable_irq_vec() and extend it
to support multiple interrupts using either MSI-X (preferred) or MSI.

Signed-off-by: Gabriele Paoloni <[email protected]>
[bhelgaas: changelog, reword comments, simplify PME/hotplug no-MSI logic]
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
drivers/pci/pcie/portdrv.h
drivers/pci/pcie/portdrv_core.c
This page took 0.08463 seconds and 4 git commands to generate.