Skip to contentSkip to conversation

Patch "parisc: Avoid stalled CPU warnings after system shutdown" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Apr 3, 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: Avoid stalled CPU warnings after system shutdown

to the 4.9-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-avoid-stalled-cpu-warnings-after-system-shutdown.patch
and it can be found in the queue-4.9 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 476e75a44b56038bee9207242d4bc718f6b4de06 Mon Sep 17 00:00:00 2001

From: Helge Deller <[email protected]>
Date: Wed, 29 Mar 2017 08:25:30 +0200
Subject: parisc: Avoid stalled CPU warnings after system shutdown

From: Helge Deller <[email protected]>

commit 476e75a44b56038bee9207242d4bc718f6b4de06 upstream.

Commit 73580dac7618 ("parisc: Fix system shutdown halt") introduced an endless loop for systems which don't provide a software power off function. But the soft lockup detector will detect this and report stalled CPUs after some time. Avoid those unwanted warnings by disabling the soft lockup detector.

Fixes 73580dac7618 ("parisc: Fix system shutdown halt")
---
 arch/parisc/kernel/process.c |    2 ++
 1 file changed, 2 insertions(+)
arch/parisc/kernel/process.c +2 -0
@@ -140,6 +140,8 @@ void machine_power_off(void)
 	printk(KERN_EMERG "System shut down completed.\n"
 	       "Please power this system off now.");
 
+	/* prevent soft lockup/stalled CPU messages for endless loop. */
+	rcu_sysrq_start();
 	for (;;);
 }
 

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

queue-4.9/parisc-fix-access-fault-handling-in-pa_memcpy.patch queue-4.9/parisc-clean-up-fixup-routines-for-get_user-put_user.patch queue-4.9/parisc-avoid-stalled-cpu-warnings-after-system-shutdown.patch