summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/83xx
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2017-07-29 14:50:27 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2017-07-31 12:22:37 +0200
commitcc491f1d3583146eaee635c86b9c9227fa835c6c (patch)
tree5b2d43d7d4bf922f96f9eb5dd7485131360c4231 /arch/powerpc/platforms/83xx
parentMerge tag 'v4.13-rc1' into fixes (diff)
downloadlinux-cc491f1d3583146eaee635c86b9c9227fa835c6c.tar.xz
linux-cc491f1d3583146eaee635c86b9c9227fa835c6c.zip
powerpc/64s: Fix stack setup in watchdog soft_nmi_common()
The watchdog soft-NMI exception stack setup loads a stack pointer twice, which is an obvious error. It ends up using the system reset interrupt (true-NMI) stack, which is also a bug because the watchdog could be preempted by a system reset interrupt that overwrites the NMI stack. Change the soft-NMI to use the "emergency stack". The current kernel stack is not used, because of the longer-term goal to prevent asynchronous stack access using soft-disable. Fixes: 2104180a5369 ("powerpc/64s: implement arch-specific hardlockup watchdog") Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/83xx')
0 files changed, 0 insertions, 0 deletions