]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit940e58b1af09f69c7d5ec330fa6cdc209549ce36
treea10b8f076e0278742ba80181b2d3d3fba56777ad
parent4f9a57880b64ff60c2ce6b2573a9e29e07d12272
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