]> 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)
commitcb78ec882fe14fbb8d237f64f21dd3c6591b9dd0
treea10b8f076e0278742ba80181b2d3d3fba56777ad
parentf6061bbe0472d16568b77a2f0db932b96a54f0e3
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