aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-10-18 19:25:30 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-10-18 19:25:30 +0000
commitf5a97a37e301942dae2d8290fa58614fc57df1b9 (patch)
treed14820291c6cd0a95f022e8395686b95e28b5083 /target
parent31cedb36a206c2107c3e9f577c360600856d681c (diff)
downloadmaster-187ad058-f5a97a37e301942dae2d8290fa58614fc57df1b9.tar.gz
master-187ad058-f5a97a37e301942dae2d8290fa58614fc57df1b9.tar.bz2
master-187ad058-f5a97a37e301942dae2d8290fa58614fc57df1b9.zip
ar71xx: disable irq on reboot to fix hang issues (fixes #17839)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42955 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/patches-3.10/728-MIPS-ath79-fix-restart.patch10
-rw-r--r--target/linux/ar71xx/patches-3.14/728-MIPS-ath79-fix-restart.patch10
2 files changed, 20 insertions, 0 deletions
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
index 0000000000..0027c59631
--- /dev/null
+++ b/target/linux/ar71xx/patches-3.10/728-MIPS-ath79-fix-restart.patch
@@ -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)
diff --git a/target/linux/ar71xx/patches-3.14/728-MIPS-ath79-fix-restart.patch b/target/linux/ar71xx/patches-3.14/728-MIPS-ath79-fix-restart.patch
new file mode 100644
index 0000000000..0027c59631
--- /dev/null
+++ b/target/linux/ar71xx/patches-3.14/728-MIPS-ath79-fix-restart.patch
@@ -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)