linux/Documentation/PCI
Christoph Hellwig 4ef33685aa PCI: Spread interrupt vectors in pci_alloc_irq_vectors()
Set the affinity_mask in the PCI device before allocating vectors so that
the affinity can be propagated through the MSI descriptor structures to the
core IRQ code.  To facilitate this, new __pci_enable_msi_range() and
__pci_enable_msix_range() helpers are factored out of their not prefixed
variants which assigning the new IRQ affinity mask in the PCI device so
that the low-level interrupt code can perform the interrupt affinity
assignment and do node-local allocations.

A new PCI_IRQ_NOAFFINITY flag is added to pci_alloc_irq_vectors() so that
this function can also be used by drivers that don't wish to use the
automatic affinity assignment.

[bhelgaas: omit "else" after "return" consistently]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Alexander Gordeev <agordeev@redhat.com>
2016-07-21 15:57:03 -05:00
..
00-INDEX PCI: Update documentation 00-INDEX file 2014-01-07 16:37:15 -07:00
MSI-HOWTO.txt PCI: Spread interrupt vectors in pci_alloc_irq_vectors() 2016-07-21 15:57:03 -05:00
pci-error-recovery.txt doc:pci: Fix typo in Documentation/PCI 2015-03-20 07:41:56 -06:00
pci-iov-howto.txt PCI: Remove unused SR-IOV VF Migration support 2014-02-19 11:28:44 -07:00
pci.txt PCI: Clarify policy for vendor IDs in pci.txt 2015-04-09 13:34:02 -05:00
pcieaer-howto.txt doc:pci: Fix typo in Documentation/PCI 2015-03-20 07:41:56 -06:00
PCIEBUS-HOWTO.txt PCI: Documentation: fix minor PCIe HOWTO thinko 2009-02-13 13:59:19 -08:00