Author: nbd Date: 2014-10-18 21:25:30 +0200 (Sat, 18 Oct 2014) New Revision: 42955
Added: trunk/target/linux/ar71xx/patches-3.10/728-MIPS-ath79-fix-restart.patch trunk/target/linux/ar71xx/patches-3.14/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]> Added: trunk/target/linux/ar71xx/patches-3.10/728-MIPS-ath79-fix-restart.patch =================================================================== --- trunk/target/linux/ar71xx/patches-3.10/728-MIPS-ath79-fix-restart.patch (rev 0) +++ trunk/target/linux/ar71xx/patches-3.10/728-MIPS-ath79-fix-restart.patch 2014-10-18 19:25:30 UTC (rev 42955) @@ -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) Added: trunk/target/linux/ar71xx/patches-3.14/728-MIPS-ath79-fix-restart.patch =================================================================== --- trunk/target/linux/ar71xx/patches-3.14/728-MIPS-ath79-fix-restart.patch (rev 0) +++ trunk/target/linux/ar71xx/patches-3.14/728-MIPS-ath79-fix-restart.patch 2014-10-18 19:25:30 UTC (rev 42955) @@ -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
