linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: imx6: Fix non-working MSI interrupts if PCIe switch is attached
@ 2015-06-18  7:59 David Müller
  2015-06-18  8:29 ` Lucas Stach
  2015-07-14 18:34 ` Bjorn Helgaas
  0 siblings, 2 replies; 4+ messages in thread
From: David Müller @ 2015-06-18  7:59 UTC (permalink / raw)
  To: linux-pci; +Cc: Richard Zhu, Lucas Stach, Bjorn Helgaas, linux-arm-kernel

This problem has already been reported as 
https://bugzilla.kernel.org/show_bug.cgi?id=100051

Signed-off-by: David Müller <dave.mueller@gmx.ch>
---
 drivers/pci/host/pci-imx6.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c
index c63691c..53f8dea 100644
--- a/drivers/pci/host/pci-imx6.c
+++ b/drivers/pci/host/pci-imx6.c
@@ -433,9 +433,6 @@ static void imx6_pcie_host_init(struct pcie_port *pp)
 	dw_pcie_setup_rc(pp);
 
 	imx6_pcie_start_link(pp);
-
-	if (IS_ENABLED(CONFIG_PCI_MSI))
-		dw_pcie_msi_init(pp);
 }
 
 static void imx6_pcie_reset_phy(struct pcie_port *pp)
@@ -550,6 +547,9 @@ static int __init imx6_add_pcie_port(struct pcie_port *pp,
 		return ret;
 	}
 
+	if (IS_ENABLED(CONFIG_PCI_MSI))
+		dw_pcie_msi_init(pp);
+
 	return 0;
 }
 
-- 
1.8.4


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

end of thread, other threads:[~2015-07-14 18:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-18  7:59 [PATCH] ARM: imx6: Fix non-working MSI interrupts if PCIe switch is attached David Müller
2015-06-18  8:29 ` Lucas Stach
2015-06-18  9:10   ` David Müller
2015-07-14 18:34 ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).