PCI: designware: Make MSI ISR shared IRQ aware
authorLucas Stach <l.stach@pengutronix.de>
Fri, 28 Mar 2014 16:52:58 +0000 (17:52 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 30 May 2014 17:24:58 +0000 (11:24 -0600)
commit7f4f16eef5aeba31bdfb7702ced06a42f2777e04
treea10b8f076e0278742ba80181b2d3d3fba56777ad
parent5c40eea7783bbcdd5795cd7d50b7b3fd9a94dc94
PCI: designware: Make MSI ISR shared IRQ aware

On i.MX6 the host controller MSI IRQ is shared with PCI legacy INTD.  Make
sure we don't bail too early from the IRQ handler.

The issue is fairly theoretical as it would require a system setup with a
PCIe switch where one connected device is using legacy INTD and another one
using MSI, but better fix it now.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Richard Zhu <r65037@freescale.com>
drivers/pci/host/pci-exynos.c
drivers/pci/host/pcie-designware.c
drivers/pci/host/pcie-designware.h