Home
last modified time | relevance | path

Searched hist:"71 c3b05a8083d8774ca66c89672d29d7bf33813e" (Results 1 – 1 of 1) sorted by relevance

/linux/arch/powerpc/kernel/
H A Dexceptions-64s.Sdiff 71c3b05a8083d8774ca66c89672d29d7bf33813e Tue Feb 25 18:35:31 CET 2020 Nicholas Piggin <npiggin@gmail.com> 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