Skip to content

RFC PCI: imx6: fixup for add-in card IRQ mismapping

Tim Harvey linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3PCI: designware: add legacy PCI interrupt mappingarch/arm/boot/dts/imx6qdl.dtsi drivers/pci/host/pci-exynos.c drivers/pci/host/pci-imx6.c +2 more+21 -92 replies
1/3PCI: designware: add legacy PCI interrupt mapping+0 -07 replies
2/3PCI: designware: add ability for custom swizzledrivers/pci/host/pcie-designware.c drivers/pci/host/pcie-designware.h+4 -00 replies
3/3PCI: imx6: ventana: fixup for IRQ mismappingdrivers/pci/host/pci-imx6.c include/linux/pci_ids.h+37 -03 replies
3/3PCI: imx6: ventana: fixup for IRQ mismapping+0 -01 reply
3/3PCI: imx6: ventana: fixup for IRQ mismapping+0 -01 reply
3/3PCI: imx6: ventana: fixup for IRQ mismapping+0 -01 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 0/3] PCI: imx6: fixup for add-in card IRQ mismapping

An add-in card used on the Ventana IMX6 SoC based family of boards has a TI XIO2001 PCIe-to-PCI bridge where the INTA/B/C/D mappings between the bridge and the four mini-PCI slots are swapped (INTD/C/B/A).

This series adds legacy PCI interrupt mapping to support PCI bridges on IMX6 PCIe host controllers, adds the ability to use a host-specific custom swizzle function, then uses that to fix the IRQ mapping.

I'm hoping this is the right way to perform such a workaround - please provide feedback if not. Patch1 will likely collide with the owrk Lucas is doing with device-tree bindings and MSI support. I'm happy to re-base if/when needed.

Cc Bjorn Helgaas <[email protected]>
Cc Richard Zhu <[email protected]>
Cc Shawn Guo <[email protected]>
Cc Lucas Stach <[email protected]>
Cc Sean Cross <[email protected]>
Cc Jingoo Han <[email protected]>

---
Tim Harvey (3):
PCI: designware: add legacy PCI interrupt mapping
PCI: designware: add ability for custom swizzle
PCI: imx6: ventana: fixup for IRQ mismapping

 arch/arm/boot/dts/imx6qdl.dtsi     |  2 +-
 drivers/pci/host/pci-exynos.c      |  7 ++++--
 drivers/pci/host/pci-imx6.c        | 47 ++++++++++++++++++++++++++++++++++----
 drivers/pci/host/pcie-designware.c | 11 ++++++++-
 drivers/pci/host/pcie-designware.h |  3 ++-
 include/linux/pci_ids.h            |  1 +
 6 files changed, 62 insertions(+), 9 deletions(-)
Signature · 1 line
1.8.3.2