Skip to content

PAXB INTx support with proper model

Srinath Mannam linux-arm-kernel linux-devicetree linux-pci lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest6 patches 6 repliesIn review
  2. v46 patches 3 repliesSuperseded
  3. v36 patches 8 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v26 patches5 repliesSuperseded

Changes in v5 from the cover letter

- Addressed Lorenzo's comments
- Add iProc irq chip descriptor in the place of dummy irq chip to provide mask/un-mask and enable/disable handlers to configure individual INTx.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6dt-bindings: pci: Update iProc PCI binding for INTx supportDocumentation/devicetree/bindings/pci/brcm,iproc-pcie.txt+41 -73 replies
2/6PCI: iproc: Add INTx support with better modelingdrivers/pci/controller/pcie-iproc.c drivers/pci/controller/pcie-iproc.h+153 -23 replies
3/6arm: dts: Change PCIe INTx mapping for Cygnusarch/arm/boot/dts/bcm-cygnus.dtsi+26 -40 replies
4/6arm: dts: Change PCIe INTx mapping for NSParch/arm/boot/dts/bcm-nsp.dtsi+39 -60 replies
5/6arm: dts: Change PCIe INTx mapping for HR2arch/arm/boot/dts/bcm-hr2.dtsi+26 -40 replies
6/6arm64: dts: Change PCIe INTx mapping for NS2arch/arm64/boot/dts/broadcom/northstar2/ns2.dtsi+24 -40 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchRob HerringAndrew Murray
1/6R-b
2/6R-b
3/6
4/6
5/6
6/6

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

Read the v5 thread

Cover letter [PATCH v5 0/6] PAXB INTx support with proper model

This patch series adds PCIe legacy interrupt (INTx) support to the iProc PCIe driver by modeling it with its own IRQ domain. All 4 interrupts INTA, INTB, INTC, INTD share the same interrupt line connected to the GIC in the system. This is now modeled by using its own IRQ domain.

Also update all relevant devicetree files to adapt to the new model.

This patch set is based on Linux-5.5-rc1.

Changes from v4:
- Addressed Lorenzo's comments
- Add iProc irq chip descriptor in the place of dummy irq chip to provide mask/un-mask and enable/disable handlers to configure individual INTx.

Changes from v3:
- Addressed Andrew Murray's comments
- Add change to dispose VIRQ when disabling INTx

Changes from v2:
- Addressed Lorenzo's comments
- Corrected INTx to PIN mapping.

Changes from v1:
- Addressed Rob, Lorenzo, Arnd's comments
- Used child node for interrupt controller.
- Addressed Andy Shevchenko's comments
- Replaced while loop with do-while.

Ray Jui (6):
dt-bindings: pci: Update iProc PCI binding for INTx support
PCI: iproc: Add INTx support with better modeling
arm: dts: Change PCIe INTx mapping for Cygnus
arm: dts: Change PCIe INTx mapping for NSP
arm: dts: Change PCIe INTx mapping for HR2
arm64: dts: Change PCIe INTx mapping for NS2

 .../devicetree/bindings/pci/brcm,iproc-pcie.txt    |  48 ++++++-
 arch/arm/boot/dts/bcm-cygnus.dtsi                  |  30 ++++-
 arch/arm/boot/dts/bcm-hr2.dtsi                     |  30 ++++-
 arch/arm/boot/dts/bcm-nsp.dtsi                     |  45 ++++++-
 arch/arm64/boot/dts/broadcom/northstar2/ns2.dtsi   |  28 +++-
 drivers/pci/controller/pcie-iproc.c                | 147 ++++++++++++++++++++-
 drivers/pci/controller/pcie-iproc.h                |   8 ++
 7 files changed, 309 insertions(+), 27 deletions(-)
Signature · 1 line
2.7.4