From 6ad88320e77d19fc0346071108c2e876dc76c9fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Tue, 1 Apr 2014 10:34:33 +0000 Subject: 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. --- main/linux-grsec/imx6q-no-unclocked-sleep.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 main/linux-grsec/imx6q-no-unclocked-sleep.patch (limited to 'main/linux-grsec/imx6q-no-unclocked-sleep.patch') 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); -- cgit v1.2.3