diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2016-12-19 19:30:08 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-04-28 13:02:25 +0200 |
commit | ddd703ca06ede1b2d01ed1b0cb8d4315ab808099 (patch) | |
tree | 16f3dbea636620e812642a85e4c8e1b549023051 /arch/powerpc/Kconfig | |
parent | powerpc: Mark system reset as an NMI with nmi_enter/exit() (diff) | |
download | linux-ddd703ca06ede1b2d01ed1b0cb8d4315ab808099.tar.xz linux-ddd703ca06ede1b2d01ed1b0cb8d4315ab808099.zip |
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>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 7401e921aad0..48cc3d8432bb 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -80,6 +80,11 @@ config NR_IRQS /proc/interrupts. If you configure your system to have too few, drivers will fail to load or worse - handle with care. +config NMI_IPI + bool + depends on SMP && (DEBUGGER || KEXEC_CORE) + default y + config STACKTRACE_SUPPORT bool default y |