sparc: Touch NMI watchdog when walking cpus and calling printk
authorDavid Ahern <david.ahern@oracle.com>
Thu, 19 Mar 2015 20:06:53 +0000 (16:06 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 14:00:55 +0000 (15:00 +0100)
commit146c982f2227ef6540db851b5bcc73d36d7e5c0e
tree2924fde4ae2ad98798be8cc385c478ac4775806e
parentd42f5dffbce92064e44cc51ab4123a4384166145
sparc: Touch NMI watchdog when walking cpus and calling printk

[ 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 <david.ahern@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/sparc/kernel/process_64.c