summaryrefslogtreecommitdiffstats
path: root/main/linux-grsec/imx6q-no-unclocked-sleep.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-04-01 10:34:33 +0000
committerTimo Teräs <timo.teras@iki.fi>2014-04-01 10:34:33 +0000
commit6ad88320e77d19fc0346071108c2e876dc76c9fe (patch)
tree93d806a51a3b93e53cc4b0ed78e3f699af384221 /main/linux-grsec/imx6q-no-unclocked-sleep.patch
parent784b041710a944742745511080af756219c65a1c (diff)
downloadaports-6ad88320e77d19fc0346071108c2e876dc76c9fe.tar.bz2
aports-6ad88320e77d19fc0346071108c2e876dc76c9fe.tar.xz
main/linux-grsec: add armhf config, and cherry-pick few arm fixes
- platform of/modalias patch is needed for our initramfs to work properly - imx6q unclocked sleep is to fix ethernet performance issues on wandboard - the nic cannot wakeup from unclocked sleep. the proper way is to reroute that irq to alternate pin, but those patches do not exist for this new kernels.
Diffstat (limited to 'main/linux-grsec/imx6q-no-unclocked-sleep.patch')
-rw-r--r--main/linux-grsec/imx6q-no-unclocked-sleep.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/main/linux-grsec/imx6q-no-unclocked-sleep.patch b/main/linux-grsec/imx6q-no-unclocked-sleep.patch
new file mode 100644
index 000000000..0bf7bfff0
--- /dev/null
+++ b/main/linux-grsec/imx6q-no-unclocked-sleep.patch
@@ -0,0 +1,16 @@
+The FEC NIC IRQ line does not wake up from unclocked sleep. Disable
+unclocked sleep for now (bad for battery - good for performance).
+
+diff --git a/arch/arm/mach-imx/cpuidle-imx6q.c b/arch/arm/mach-imx/cpuidle-imx6q.c
+index 23ddfb6..c1ae29f 100644
+--- a/arch/arm/mach-imx/cpuidle-imx6q.c
++++ b/arch/arm/mach-imx/cpuidle-imx6q.c
+@@ -27,7 +27,7 @@ static int imx6q_enter_wait(struct cpuidle_device *dev,
+ */
+ if (!spin_trylock(&master_lock))
+ goto idle;
+- imx6q_set_lpm(WAIT_UNCLOCKED);
++ //imx6q_set_lpm(WAIT_UNCLOCKED);
+ cpu_do_idle();
+ imx6q_set_lpm(WAIT_CLOCKED);
+ spin_unlock(&master_lock);