From 456bd950236e5a8a59c19ae8614bec65ed513a2f Mon Sep 17 00:00:00 2001 From: Tim Harvey Date: Thu, 20 Apr 2017 13:28:20 -0700 Subject: imx6: disable MSI interrupts The IMX6 PCIe host controller does not fire legacy interrupts if MSI is enabled. A patch is being worked on to enable MSI at runtime only when it is needed but meanwhile this patch will disable MSI for the imx6 kernel. This fixes the no interrupt issue on cards/drivers that use legacy interrupts such as ath9k. Signed-off-by: Tim Harvey Tested-by: Koen Vandeputte --- .../linux/imx6/patches-4.9/200-disable-msi.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 target/linux/imx6/patches-4.9/200-disable-msi.patch (limited to 'target/linux/imx6/patches-4.9/200-disable-msi.patch') diff --git a/target/linux/imx6/patches-4.9/200-disable-msi.patch b/target/linux/imx6/patches-4.9/200-disable-msi.patch new file mode 100644 index 0000000000..290147c944 --- /dev/null +++ b/target/linux/imx6/patches-4.9/200-disable-msi.patch @@ -0,0 +1,22 @@ +The IMX6 PCIe host controller does not fire legacy interrupts when MSI is +enabled. A patch is being worked on upstream to only enable MSI at runtime +when needed, but until that is ready we will allow MSI to be disabled. + +--- a/drivers/pci/host/Kconfig ++++ b/drivers/pci/host/Kconfig +@@ -51,7 +51,6 @@ config PCIE_DW_PLAT + + config PCIE_DW + bool +- depends on PCI_MSI_IRQ_DOMAIN + + config PCI_EXYNOS + bool "Samsung Exynos PCIe controller" +@@ -63,7 +62,6 @@ config PCI_EXYNOS + config PCI_IMX6 + bool "Freescale i.MX6 PCIe controller" + depends on SOC_IMX6Q +- depends on PCI_MSI_IRQ_DOMAIN + select PCIEPORTBUS + select PCIE_DW + -- cgit v1.2.3