diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2020-02-25 20:35:31 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-04-01 05:42:13 +0300 |
commit | 71c3b05a8083d8774ca66c89672d29d7bf33813e (patch) | |
tree | 79f6acc24e15d075528bd29c146684cd60319dd8 /scripts/gdb/linux/utils.py | |
parent | b44fc96d7ba96eeb6cf59d0a95d1d35cb7f076d3 (diff) | |
download | linux-71c3b05a8083d8774ca66c89672d29d7bf33813e.tar.xz |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions