Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1460565

two pci_alloc_irq_vectors improvements

From Christoph Hellwig <hch@lst.de>
Newsgroups linux.kernel
Subject two pci_alloc_irq_vectors improvements
Date 2016-08-11 16:20 +0200
Message-ID <s4YZX-4Uf-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Bjorn, hi Alex,

below are two patches I'd love to see in 4.8 to improve the
pci_alloc_irq_vectors interface.  I've realized we need these while
starting a mass conversion of the MSI-X users to the new interface,
and getting it into 4.8 before users show up should make life a lot
easier.

The positive flags things comes out of the fact that a lot of driver
want MSI-X only without any fallback, or some elaborate differences
for the different interrupt schemes.  For example while most modern
devices use one MSI-X vector per queue and scale nicely from the
MSI to the MSI-X scheme many older devices use a MSI-X vector per
functionality in the ISR, so they might wan to allocate them
differently.

The second one ensures the legacy interrupt line is actually enabled
before using it, because some devices like MSI-X might actually have
it disable by default.

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

two pci_alloc_irq_vectors improvements Christoph Hellwig <hch@lst.de> - 2016-08-11 16:20 +0200
  Re: two pci_alloc_irq_vectors improvements Christoph Hellwig <hch@infradead.org> - 2016-08-14 17:20 +0200
  Re: two pci_alloc_irq_vectors improvements Bjorn Helgaas <helgaas@kernel.org> - 2016-08-16 21:40 +0200
    Re: two pci_alloc_irq_vectors improvements Christoph Hellwig <hch@lst.de> - 2016-08-17 02:50 +0200

csiph-web