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

    sparc: Touch NMI watchdog when walking cpus and calling printk

to the 3.19-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:
     sparc-touch-nmi-watchdog-when-walking-cpus-and-calling-printk.patch
and it can be found in the queue-3.19 subdirectory.

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


>From foo@baz Tue Mar 24 10:57:31 CET 2015
From: David Ahern <[email protected]>
Date: Thu, 19 Mar 2015 16:06:53 -0400
Subject: sparc: Touch NMI watchdog when walking cpus and calling printk

From: David Ahern <[email protected]>

[ Upstream commit 31aaa98c248da766ece922bbbe8cc78cfd0bc920 ]

With the increase in number of CPUs calls to functions that dump
output to console (e.g., arch_trigger_all_cpu_backtrace) can take
a long time to complete. If IRQs are disabled eventually the NMI
watchdog kicks in and creates more havoc. Avoid by telling the NMI
watchdog everything is ok.

Signed-off-by: David Ahern <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
 arch/sparc/kernel/process_64.c |    4 ++++
 1 file changed, 4 insertions(+)

--- a/arch/sparc/kernel/process_64.c
+++ b/arch/sparc/kernel/process_64.c
@@ -287,6 +287,8 @@ void arch_trigger_all_cpu_backtrace(bool
                        printk("             TPC[%lx] O7[%lx] I7[%lx] 
RPC[%lx]\n",
                               gp->tpc, gp->o7, gp->i7, gp->rpc);
                }
+
+               touch_nmi_watchdog();
        }
 
        memset(global_cpu_snapshot, 0, sizeof(global_cpu_snapshot));
@@ -362,6 +364,8 @@ static void pmu_snapshot_all_cpus(void)
                       (cpu == this_cpu ? '*' : ' '), cpu,
                       pp->pcr[0], pp->pcr[1], pp->pcr[2], pp->pcr[3],
                       pp->pic[0], pp->pic[1], pp->pic[2], pp->pic[3]);
+
+               touch_nmi_watchdog();
        }
 
        memset(global_cpu_snapshot, 0, sizeof(global_cpu_snapshot));


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

queue-3.19/sparc64-fix-several-bugs-in-memmove.patch
queue-3.19/sparc-perf-make-counting-mode-actually-work.patch
queue-3.19/sparc-touch-nmi-watchdog-when-walking-cpus-and-calling-printk.patch
queue-3.19/sparc-perf-remove-redundant-perf_pmu_-en-dis-able-calls.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to