powerpc: Add NMI IPI infrastructure
Add a simple NMI IPI system that handles concurrency and reentrancy. The platform does not have to implement a true non-maskable interrupt, the default is to simply use the debugger break IPI message. This has now been co-opted for a general IPI message, and users (debugger and crash) have been reimplemented on top of the NMI system. Signed-off-by:Nicholas Piggin <npiggin@gmail.com> [mpe: Incorporate incremental fixes from Nick] Signed-off-by:
Michael Ellerman <mpe@ellerman.id.au>
Showing
- arch/powerpc/Kconfig 5 additions, 0 deletionsarch/powerpc/Kconfig
- arch/powerpc/include/asm/smp.h 11 additions, 3 deletionsarch/powerpc/include/asm/smp.h
- arch/powerpc/kernel/smp.c 207 additions, 36 deletionsarch/powerpc/kernel/smp.c
- arch/powerpc/platforms/cell/interrupt.c 1 addition, 1 deletionarch/powerpc/platforms/cell/interrupt.c
- arch/powerpc/platforms/ps3/smp.c 2 additions, 2 deletionsarch/powerpc/platforms/ps3/smp.c
Please register or sign in to comment