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


Groups > linux.kernel > #1486849

Re: [PATCH 2/6] ipr: use pci_irq_allocate_vectors

From "Martin K. Petersen" <martin.petersen@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/6] ipr: use pci_irq_allocate_vectors
Date 2016-09-19 22:50 +0200
Message-ID <sjdFM-1Pf-17@gated-at.bofh.it> (permalink)
References <sgd9g-6Ig-15@gated-at.bofh.it> <sgd9h-6Ig-39@gated-at.bofh.it>
Organization Oracle Corporation

Show all headers | View raw


>>>>> "Christoph" == Christoph Hellwig <hch@lst.de> writes:

Christoph> Switch the ipr driver to use pci_alloc_irq_vectors.  We need
Christoph> to two calls to pci_alloc_irq_vectors as ipr only supports
Christoph> multiple MSI-X vectors, but not multiple MSI vectors.

Christoph> Otherwise this cleans up a lot of cruft and allows to use a
Christoph> common request_irq loop for irq types, which happens to only
Christoph> iterate over a single line in the non MSI-X case.

Brian, Gabriel: Please test and review. Thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

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


Thread

replace pci_enable_msi_{exact_range} with pci_alloc_irq_vectors Christoph Hellwig <hch@lst.de> - 2016-09-11 15:40 +0200
  [PATCH 5/6] genwqe: use pci_irq_allocate_vectors Christoph Hellwig <hch@lst.de> - 2016-09-11 15:40 +0200
  [PATCH 4/6] vfio_pci: use pci_irq_allocate_vectors Christoph Hellwig <hch@lst.de> - 2016-09-11 15:40 +0200
  [PATCH 3/6] skd: use pci_alloc_irq_vectors Christoph Hellwig <hch@lst.de> - 2016-09-11 15:40 +0200
  [PATCH 6/6] media/cobalt: use pci_irq_allocate_vectors Christoph Hellwig <hch@lst.de> - 2016-09-11 15:40 +0200
    Re: [PATCH 6/6] media/cobalt: use pci_irq_allocate_vectors Hans Verkuil <hverkuil@xs4all.nl> - 2016-09-16 10:10 +0200
      Re: [PATCH 6/6] media/cobalt: use pci_irq_allocate_vectors Christoph Hellwig <hch@lst.de> - 2016-09-16 10:40 +0200
  [PATCH 2/6] ipr: use pci_irq_allocate_vectors Christoph Hellwig <hch@lst.de> - 2016-09-11 15:40 +0200
    Re: [PATCH 2/6] ipr: use pci_irq_allocate_vectors "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-09-19 22:50 +0200
  [PATCH 1/6] arcmsr: use pci_alloc_irq_vectors Christoph Hellwig <hch@lst.de> - 2016-09-11 15:40 +0200
    Re: [PATCH 1/6] arcmsr: use pci_alloc_irq_vectors "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-09-19 22:50 +0200

csiph-web