ar71xx: disable irq on reboot to fix hang issues (fixes #17839)
authorFelix Fietkau <nbd@openwrt.org>
Sat, 18 Oct 2014 19:26:22 +0000 (19:26 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 18 Oct 2014 19:26:22 +0000 (19:26 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42955

SVN-Revision: 42956

target/linux/ar71xx/patches-3.10/728-MIPS-ath79-fix-restart.patch [new file with mode: 0644]

diff --git a/target/linux/ar71xx/patches-3.10/728-MIPS-ath79-fix-restart.patch b/target/linux/ar71xx/patches-3.10/728-MIPS-ath79-fix-restart.patch
new file mode 100644 (file)
index 0000000..0027c59
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/arch/mips/ath79/setup.c
++++ b/arch/mips/ath79/setup.c
+@@ -40,6 +40,7 @@ static char ath79_sys_type[ATH79_SYS_TYP
+ static void ath79_restart(char *command)
+ {
++      local_irq_disable();
+       ath79_device_reset_set(AR71XX_RESET_FULL_CHIP);
+       for (;;)
+               if (cpu_wait)