Re: resend: pci: automatic interrupt affinity for MSI/MSI-X capable devices V2
On Thu, Jul 21, 2016 at 04:02:23PM -0500, Bjorn Helgaas wrote: > Hi Christoph, > > This thread looks like it might be a typo. It doesn't use any of the > new PCI MSI stuff. Looks like the cover letter from the PCI MSI > patches, but the actual patches are from a different series? Ah, sorry. This is the other remaining third of the original series that should go to Jens. I'll repost the proper one ASAP.
Re: resend: pci: automatic interrupt affinity for MSI/MSI-X capable devices V2
Hi Christoph, This thread looks like it might be a typo. It doesn't use any of the new PCI MSI stuff. Looks like the cover letter from the PCI MSI patches, but the actual patches are from a different series? On Thu, Jul 21, 2016 at 04:30:20PM +0200, Christoph Hellwig wrote: > This series adds a new set of functions that transparently use the right > type of interrupt (MSI-X, MSI, legacy interrupt line) for a PCI device, > and if multiple vectors are supported automatically spreads the irq > routing to different CPUs. This will allow the block layer (and hopefully > other consumers in the future) to use this information for mapping > queues to fit the interrupt affinity. > > For the last patche to work you need to merge the irq/for-block branch of > >https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip > > first. > > There also is a git tree available at: > >git://git.infradead.org/users/hch/block.git pci-irq-spreading > > Gitweb: > > > http://git.infradead.org/users/hch/block.git/shortlog/refs/heads/pci-irq-spreading > > Since the previous post of V2 I've only added the Reviewed-by: tags from > Alexander. > > Changes since V1 > - change return values for the minmum vector check > - improve the documentation > > Changes since automatic interrupt affinity for MSI/MSI-X capable devices V3: > - add PCI_IRQ_NOLEGACY flag > - various error code fixes > - reuse the pci_enable_msi(x)_range code instead of duplicating it > - don't allocate msix_entry structures for the MSI-X case > > -- > To unsubscribe from this list: send the line "unsubscribe linux-pci" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html
resend: pci: automatic interrupt affinity for MSI/MSI-X capable devices V2
This series adds a new set of functions that transparently use the right type of interrupt (MSI-X, MSI, legacy interrupt line) for a PCI device, and if multiple vectors are supported automatically spreads the irq routing to different CPUs. This will allow the block layer (and hopefully other consumers in the future) to use this information for mapping queues to fit the interrupt affinity. For the last patche to work you need to merge the irq/for-block branch of https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip first. There also is a git tree available at: git://git.infradead.org/users/hch/block.git pci-irq-spreading Gitweb: http://git.infradead.org/users/hch/block.git/shortlog/refs/heads/pci-irq-spreading Since the previous post of V2 I've only added the Reviewed-by: tags from Alexander. Changes since V1 - change return values for the minmum vector check - improve the documentation Changes since automatic interrupt affinity for MSI/MSI-X capable devices V3: - add PCI_IRQ_NOLEGACY flag - various error code fixes - reuse the pci_enable_msi(x)_range code instead of duplicating it - don't allocate msix_entry structures for the MSI-X case