diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2020-02-26 03:35:31 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-04-01 13:42:13 +1100 |
commit | 71c3b05a8083d8774ca66c89672d29d7bf33813e (patch) | |
tree | 79f6acc24e15d075528bd29c146684cd60319dd8 /net/rfkill | |
parent | b44fc96d7ba96eeb6cf59d0a95d1d35cb7f076d3 (diff) |
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 'net/rfkill')
0 files changed, 0 insertions, 0 deletions