Author: nbd
Date: 2014-10-18 21:26:22 +0200 (Sat, 18 Oct 2014)
New Revision: 42956

Added:
   
branches/barrier_breaker/target/linux/ar71xx/patches-3.10/728-MIPS-ath79-fix-restart.patch
Log:
ar71xx: disable irq on reboot to fix hang issues (fixes #17839)

Signed-off-by: Felix Fietkau <[email protected]>

Backport of r42955

Added: 
branches/barrier_breaker/target/linux/ar71xx/patches-3.10/728-MIPS-ath79-fix-restart.patch
===================================================================
--- 
branches/barrier_breaker/target/linux/ar71xx/patches-3.10/728-MIPS-ath79-fix-restart.patch
                          (rev 0)
+++ 
branches/barrier_breaker/target/linux/ar71xx/patches-3.10/728-MIPS-ath79-fix-restart.patch
  2014-10-18 19:26:22 UTC (rev 42956)
@@ -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)
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to