Skip to content

nvme pci: two fixes on nvme_setup_irqs

Ming Lei linux-nvme linux-pci 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v12 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3PCI/MSI: preference to returning -ENOSPC from pci_alloc_irq_vectors_affinitydrivers/pci/msi.c+11 -92 replies
1/3PCI/MSI: preference to returning -ENOSPC from pci_alloc_irq_vectors_affinity+0 -02 replies
2/3nvme pci: fix nvme_setup_irqs()drivers/nvme/host/pci.c+13 -80 replies
3/3nvme pci: introduce module parameter of 'default_queues'drivers/nvme/host/pci.c+9 -11 reply
3/3nvme pci: introduce module parameter of 'default_queues'+0 -03 replies
3/3nvme pci: introduce module parameter of 'default_queues'+0 -02 replies
3/3nvme pci: introduce module parameter of 'default_queues'+0 -00 replies
3/3nvme pci: introduce module parameter of 'default_queues'+0 -02 replies
3/3nvme pci: introduce module parameter of 'default_queues'+0 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH V2 0/3] nvme pci: two fixes on nvme_setup_irqs

Hi,

The 1st one fixes the case that -EINVAL is returned from pci_alloc_irq_vectors_affinity(), and it is found without this patch QEMU may fallback to single queue if CPU cores is >= 64.

The 2st one fixes the case that -ENOSPC is returned from pci_alloc_irq_vectors_affinity(), and boot failure is observed on aarch64 system with less irq vectors.

The last one introduces modules parameter of 'default_queues' for addressing irq vector exhaustion issue reported by Shan Hai.

Ming Lei (3):
PCI/MSI: preference to returning -ENOSPC from
pci_alloc_irq_vectors_affinity
nvme pci: fix nvme_setup_irqs()
nvme pci: introduce module parameter of 'default_queues'

 drivers/nvme/host/pci.c | 31 ++++++++++++++++++++++---------
 drivers/pci/msi.c       | 20 +++++++++++---------
 2 files changed, 33 insertions(+), 18 deletions(-)
Cc Shan Hai <shan.hai at oracle.com>
Cc Keith Busch <keith.busch at intel.com>
Cc Jens Axboe <axboe at fb.com>
Cc linux-pci at vger.kernel.org,
Cc Bjorn Helgaas <bhelgaas at google.com>,
Signature · 1 line
2.9.5