]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Hard disable interrupts in xmon
authorAnton Blanchard <anton@samba.org>
Tue, 5 Aug 2014 04:55:00 +0000 (14:55 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 13 Aug 2014 05:13:48 +0000 (15:13 +1000)
commitf9ba5b0e978a1a20b60905f61a8c1d393fe3a7e7
tree8679cdc9688707feb94e24f19a7c848009f654c4
parent8543ebc6fe499ad8c30181dac1e7afd02aa9b0f6
powerpc: Hard disable interrupts in xmon

xmon only soft disables interrupts. This seems like a bad idea - we
certainly don't want decrementer and PMU exceptions going off when
we are debugging something inside xmon.

This issue was uncovered when the hard lockup detector went off
inside xmon. To ensure we wont get a spurious hard lockup warning,
I also call touch_nmi_watchdog() when exiting xmon.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/xmon/xmon.c