mvebu: disable cpu idle on WRT1900ACv1
authorFelix Fietkau <nbd@nbd.name>
Mon, 19 Mar 2018 20:58:12 +0000 (21:58 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 19 Mar 2018 22:28:49 +0000 (23:28 +0100)
A regression seriously affecting the Linksys WRT1900ACv1 (Mamba) was
introduced some time between the OpenWrt/LEDE v4.4 and v4.9 kernels.
The root cause has not yet been identified, despite many attempts for
more than a year. Disabling the SoC specific CPU idle support should
mitigate this issue.

The symptoms on an affected system are unwanted reboots at a variable
frequency. In many cases almost immediately after boot, causing a
bootloop.  This effectively disables support for Mamba on OpenWrt
with kernels > v4.4.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/mvebu/patches-4.14/230-armada-xp-linksys-mamba-broken-idle.patch [new file with mode: 0644]

diff --git a/target/linux/mvebu/patches-4.14/230-armada-xp-linksys-mamba-broken-idle.patch b/target/linux/mvebu/patches-4.14/230-armada-xp-linksys-mamba-broken-idle.patch
new file mode 100644 (file)
index 0000000..e82a899
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
++++ b/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
+@@ -563,3 +563,7 @@
+               };
+       };
+ };
++
++&coherencyfab {
++      broken-idle;
++};