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)
committerSasha Levin <sasha.levin@oracle.com>
Tue, 24 Mar 2015 12:22:10 +0000 (08:22 -0400)
commit54762bf14816b87f86fc704ae7a438ff8f9ad5de
tree0bd8e97dbf3929b915766287a88161cb8500d0fd
parent4cd5bcca298e2a3210d4d043af3c1ac673b99b42
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: Sasha Levin <sasha.levin@oracle.com>
arch/sparc/kernel/process_64.c