All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/4] PCI/portdrv: Fix MSI/MSI-X bug for PCIe port service drivers
@ 2017-10-20 16:21 Bjorn Helgaas
  2017-10-20 16:22 ` [PATCH v6 1/4] PCI/portdrv: Add #defines for AER and DPC Interrupt Message Number masks Bjorn Helgaas
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Bjorn Helgaas @ 2017-10-20 16:21 UTC (permalink / raw)
  To: Dongdong Liu
  Cc: Charles Chenxin, linuxarm, Christoph Hellwig, Gabriele Paoloni,
	linux-pci

This is based on Dongdong's series:
  v3: http://lkml.kernel.org/r/1507553167-27833-1-git-send-email-liudongdong3@huawei.com
  v4: http://lkml.kernel.org/r/1507719178-112556-1-git-send-email-liudongdong3@huawei.com
  v5: http://lkml.kernel.org/r/20171019225726.17806.62380.stgit@bhelgaas-glaptop.roam.corp.google.com

The main idea is to fix IRQ issues when removing and adding back a Root
Port.  The problem is that when we allocate, free, and reallocate MSI/MSI-X
vectors for the device, we may not get the same vectors the second time,
but we saved IRQs based on the first set of vectors.

Changes in v5:
  - add back a general Interrupt Message Number comment
  - factor out Interrupt Message Number helper separately

This is on pci/msi for v4.15.

---

Bjorn Helgaas (3):
      PCI/portdrv: Consolidate comments
      PCI/portdrv: Factor out Interrupt Message Number lookup
      PCI/portdrv: Compute MSI/MSI-X IRQ vectors after final allocation

Dongdong Liu (1):
      PCI/portdrv: Add #defines for AER and DPC Interrupt Message Number masks


 drivers/pci/pcie/portdrv_core.c |  171 +++++++++++++++++----------------------
 include/uapi/linux/pci_regs.h   |    2 
 2 files changed, 77 insertions(+), 96 deletions(-)

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-10-21  8:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-20 16:21 [PATCH v6 0/4] PCI/portdrv: Fix MSI/MSI-X bug for PCIe port service drivers Bjorn Helgaas
2017-10-20 16:22 ` [PATCH v6 1/4] PCI/portdrv: Add #defines for AER and DPC Interrupt Message Number masks Bjorn Helgaas
2017-10-20 16:22 ` [PATCH v6 2/4] PCI/portdrv: Consolidate comments Bjorn Helgaas
2017-10-20 16:22 ` [PATCH v6 3/4] PCI/portdrv: Factor out Interrupt Message Number lookup Bjorn Helgaas
2017-10-21  8:09   ` Christoph Hellwig
2017-10-20 16:22 ` [PATCH v6 4/4] PCI/portdrv: Compute MSI/MSI-X IRQ vectors after final allocation Bjorn Helgaas
2017-10-21  8:09   ` Christoph Hellwig
2017-10-21  2:22 ` [PATCH v6 0/4] PCI/portdrv: Fix MSI/MSI-X bug for PCIe port service drivers Dongdong Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.