Skip to content

Add support to register platform service IRQ

Stefan Roese linux-pci 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 17 repliesIn review
  2. v32 patches 2 repliesSuperseded

Changes in v4 from the cover letter

- Remove 2nd check for PCI_EXP_TYPE_ROOT_PORT
- Change init_platform_service_irqs() from void to return int

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PCI/portdrv: Add option to setup IRQs for platform-specific Service Errorsdrivers/pci/pcie/portdrv_core.c include/linux/pci.h+40 -19 replies
2/2PCI: xilinx-nwl: Add method to init_platform_service_irqs hookdrivers/pci/controller/pcie-xilinx-nwl.c+18 -04 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPali Rohár
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/2] Add support to register platform service IRQ

Some platforms have dedicated IRQ lines for platform-specific System Errors like AER/PME etc. The root complex on these platform will use these seperate IRQ lines to report AER/PME etc., interrupts and will not generate MSI/MSI-X/INTx interrupts for these services.

These patches will add new method for these kind of platforms to register the platform IRQ number with respective PCIe services.

Changes in v4 (Stefan):
- Remove 2nd check for PCI_EXP_TYPE_ROOT_PORT
- Change init_platform_service_irqs() from void to return int

Changes in v3 (Stefan):
- Restructure patches from 4 patches in v2 to now 2 patches in v3
- Rename of functions names
- init_platform_service_irqs() now uses "struct pci_dev *" instead of "struct pci_host_bridge *"
- pcie_init_platform_service_irqs() is called before pcie_init_service_irqs()
- Use more PCIe spec terminology as suggested by Bjorn (hopefully enough, I don't have the spec at hand)

Bharat Kumar Gogada (2):
PCI/portdrv: Add option to setup IRQs for platform-specific Service
Errors
PCI: xilinx-nwl: Add method to init_platform_service_irqs hook

 drivers/pci/controller/pcie-xilinx-nwl.c | 18 +++++++++++
 drivers/pci/pcie/portdrv_core.c          | 39 +++++++++++++++++++++++-
 include/linux/pci.h                      |  2 ++
 3 files changed, 58 insertions(+), 1 deletion(-)
Signature · 1 line
2.34.1