summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/math-emu
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2020-02-25 18:35:31 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2020-04-01 04:42:13 +0200
commit71c3b05a8083d8774ca66c89672d29d7bf33813e (patch)
tree79f6acc24e15d075528bd29c146684cd60319dd8 /arch/powerpc/math-emu
parentpowerpc/64s/exception: Reconcile interrupts in system_reset (diff)
downloadlinux-71c3b05a8083d8774ca66c89672d29d7bf33813e.tar.xz
linux-71c3b05a8083d8774ca66c89672d29d7bf33813e.zip
powerpc/64s/exception: Soft NMI interrupt should not use ret_from_except
The soft NMI handler does not reconcile interrupt state, so it should not return via the normal ret_from_except path. Return like other NMIs, using the EXCEPTION_RESTORE_REGS macro. This becomes important when the scv interrupt is implemented, which must handle soft-masked interrupts that have r13 set to something other than the PACA -- returning to kernel in this case must restore r13. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200225173541.1549955-23-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/math-emu')
0 files changed, 0 insertions, 0 deletions