linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/3] PCI/portdrv: Fix MSI/MSI-X bug for PCIe port service drivers
@ 2017-10-19 23:01 Bjorn Helgaas
  2017-10-19 23:01 ` [PATCH v5 1/3] PCI/portdrv: Add #defines for AER and DPC Interrupt Message Number masks Bjorn Helgaas
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Bjorn Helgaas @ 2017-10-19 23:01 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

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.

---

Bjorn Helgaas (2):
      PCI/portdrv: Remove excessive comments
      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 |  162 ++++++++++++++++-----------------------
 include/uapi/linux/pci_regs.h   |    2 
 2 files changed, 70 insertions(+), 94 deletions(-)

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

end of thread, other threads:[~2017-10-20 13:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-19 23:01 [PATCH v5 0/3] PCI/portdrv: Fix MSI/MSI-X bug for PCIe port service drivers Bjorn Helgaas
2017-10-19 23:01 ` [PATCH v5 1/3] PCI/portdrv: Add #defines for AER and DPC Interrupt Message Number masks Bjorn Helgaas
2017-10-20  7:06   ` Christoph Hellwig
2017-10-19 23:01 ` [PATCH v5 2/3] PCI/portdrv: Remove excessive comments Bjorn Helgaas
2017-10-20  7:07   ` Christoph Hellwig
2017-10-20 13:31     ` Bjorn Helgaas
2017-10-20 13:37       ` Christoph Hellwig
2017-10-19 23:01 ` [PATCH v5 3/3] PCI/portdrv: Compute MSI/MSI-X IRQ vectors after final allocation Bjorn Helgaas
2017-10-20  7:15   ` Christoph Hellwig
2017-10-20 13:36     ` Bjorn Helgaas
2017-10-20  8:20 ` [PATCH v5 0/3] PCI/portdrv: Fix MSI/MSI-X bug for PCIe port service drivers Dongdong Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).