aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/imx6/patches-4.9
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2017-04-20 13:28:20 -0700
committerFelix Fietkau <nbd@nbd.name>2017-04-26 11:52:55 +0200
commit456bd950236e5a8a59c19ae8614bec65ed513a2f (patch)
treed959b1bbd48609bdc63ab110505d03dd54a6b3a9 /target/linux/imx6/patches-4.9
parentbc1e7469aac44ce1e9a21be4cea1e6e7672f3cdb (diff)
downloadupstream-456bd950236e5a8a59c19ae8614bec65ed513a2f.tar.gz
upstream-456bd950236e5a8a59c19ae8614bec65ed513a2f.tar.bz2
upstream-456bd950236e5a8a59c19ae8614bec65ed513a2f.zip
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 <tharvey@gateworks.com> Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/imx6/patches-4.9')
-rw-r--r--target/linux/imx6/patches-4.9/200-disable-msi.patch22
1 files changed, 22 insertions, 0 deletions
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
+