Linux PARISC architecture development
 help / color / mirror / Atom feed
* [PATCH] parisc: Suspend lockup detectors before system halt
@ 2017-07-25 19:41 Helge Deller
  2017-07-25 19:47 ` Rolf Eike Beer
  0 siblings, 1 reply; 5+ messages in thread
From: Helge Deller @ 2017-07-25 19:41 UTC (permalink / raw)
  To: linux-parisc, James Bottomley, John David Anglin

Some machines can't power off the machine, so disable the lockup detectors to
avoid this watchdog BUG to show up every few seconds:
watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [systemd-shutdow:1]

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org # 4.9+

diff --git a/arch/parisc/kernel/process.c b/arch/parisc/kernel/process.c
index b64d7d2..a45a67d 100644
--- a/arch/parisc/kernel/process.c
+++ b/arch/parisc/kernel/process.c
@@ -53,6 +53,7 @@
 #include <linux/uaccess.h>
 #include <linux/rcupdate.h>
 #include <linux/random.h>
+#include <linux/nmi.h>
 
 #include <asm/io.h>
 #include <asm/asm-offsets.h>
@@ -145,6 +146,7 @@ void machine_power_off(void)
 
 	/* prevent soft lockup/stalled CPU messages for endless loop. */
 	rcu_sysrq_start();
+	lockup_detector_suspend();
 	for (;;);
 }
 

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-07-25 20:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-25 19:41 [PATCH] parisc: Suspend lockup detectors before system halt Helge Deller
2017-07-25 19:47 ` Rolf Eike Beer
2017-07-25 19:55   ` Helge Deller
2017-07-25 20:00     ` Helge Deller
2017-07-25 20:01     ` Rolf Eike Beer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox