All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] PCI: imx6: fixup for add-in card IRQ mismapping
@ 2014-02-28  1:19 Tim Harvey
  2014-02-28  1:19 ` [PATCH 1/3] PCI: designware: add legacy PCI interrupt mapping Tim Harvey
                   ` (3 more replies)
  0 siblings, 4 replies; 29+ messages in thread
From: Tim Harvey @ 2014-02-28  1:19 UTC (permalink / raw)
  To: linux-arm-kernel

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.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Richard Zhu <r65037@freescale.com>
Cc: Shawn Guo <shawn.guo@linaro.org>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Sean Cross <xobs@kosagi.com>
Cc: Jingoo Han <jg1.han@samsung.com>
---
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(-)

-- 
1.8.3.2

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

end of thread, other threads:[~2014-03-04  1:01 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-28  1:19 [RFC PATCH 0/3] PCI: imx6: fixup for add-in card IRQ mismapping Tim Harvey
2014-02-28  1:19 ` [PATCH 1/3] PCI: designware: add legacy PCI interrupt mapping Tim Harvey
2014-02-28  2:00   ` Jingoo Han
2014-02-28  4:24     ` Tim Harvey
2014-02-28  7:01       ` Jingoo Han
2014-02-28 10:12         ` Marek Vasut
2014-02-28 11:27         ` Lucas Stach
2014-02-28 11:37           ` Arnd Bergmann
2014-02-28 12:09             ` Lucas Stach
2014-02-28 12:27               ` Arnd Bergmann
2014-02-28 13:53                 ` Lucas Stach
2014-02-28  2:10   ` Shawn Guo
2014-02-28  1:19 ` [PATCH 2/3] PCI: designware: add ability for custom swizzle Tim Harvey
2014-02-28  1:19 ` [PATCH 3/3] PCI: imx6: ventana: fixup for IRQ mismapping Tim Harvey
2014-02-28  2:10   ` Jingoo Han
2014-02-28  9:27   ` Arnd Bergmann
2014-02-28 17:39     ` Jason Gunthorpe
2014-03-01  0:52       ` Tim Harvey
2014-03-01  1:22         ` Jason Gunthorpe
2014-03-03 19:59           ` Tim Harvey
2014-03-03 23:37             ` Jason Gunthorpe
2014-03-04  0:38               ` Tim Harvey
2014-03-04  1:01                 ` Jason Gunthorpe
2014-02-28  1:50 ` [RFC PATCH 0/3] PCI: imx6: fixup for add-in card " Jingoo Han
2014-02-28  4:16   ` Tim Harvey
2014-02-28  6:22     ` Jingoo Han
2014-02-28 10:15       ` Marek Vasut
2014-02-28 16:52       ` Tim Harvey
2014-02-28 16:55         ` Lucas Stach

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.