powerpc: move NMI entry/exit code into wrapper
This moves the common NMI entry and exit code into the interrupt handler wrappers. This changes the behaviour of soft-NMI (watchdog) and HMI interrupts, and also MCE interrupts on 64e, by adding missing parts of the NMI entry to them. Signed-off-by:Nicholas Piggin <npiggin@gmail.com> Signed-off-by:
Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210130130852.2952424-40-npiggin@gmail.com
Showing
- arch/powerpc/include/asm/interrupt.h 28 additions, 0 deletionsarch/powerpc/include/asm/interrupt.h
- arch/powerpc/kernel/mce.c 0 additions, 11 deletionsarch/powerpc/kernel/mce.c
- arch/powerpc/kernel/traps.c 6 additions, 29 deletionsarch/powerpc/kernel/traps.c
- arch/powerpc/kernel/watchdog.c 4 additions, 6 deletionsarch/powerpc/kernel/watchdog.c
Loading
Please register or sign in to comment