Skip to contentSkip to conversation

Patch "parisc: Suspend lockup detectors before system halt" has been added to the 4.12-stable tree

PATCH [email protected] 1 participant 1 message Jul 31, 2017

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

parisc: Suspend lockup detectors before system halt

to the 4.12-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
parisc-suspend-lockup-detectors-before-system-halt.patch
and it can be found in the queue-4.12 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 56188832a50f09998cb570ba3771a1d25c193c0e Mon Sep 17 00:00:00 2001

From: Helge Deller <[email protected]>
Date: Tue, 25 Jul 2017 21:41:41 +0200
Subject: parisc: Suspend lockup detectors before system halt

From: Helge Deller <[email protected]>

commit 56188832a50f09998cb570ba3771a1d25c193c0e upstream.

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]
---
 arch/parisc/kernel/process.c |    2 ++
 1 file changed, 2 insertions(+)
arch/parisc/kernel/process.c +2 -0
@@ -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 (;;);
 }
 

Patches currently in stable-queue which might be from [email protected] are

queue-4.12/parisc-suspend-lockup-detectors-before-system-halt.patch queue-4.12/parisc-prevent-tlb-speculation-on-flushed-pages-on-cpus-that-only-support-equivalent-aliases.patch queue-4.12/parisc-extend-disabled-preemption-in-copy_user_page.patch