diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2016-12-19 21:30:11 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-04-28 14:26:46 +0300 |
commit | 1cd6ed7c2e35a716dcf1347c33f58a7ce7d1414f (patch) | |
tree | 3f0c0db79e2c10d034bc3b52ad1c5307ecc27cd3 /arch/powerpc/Makefile.postlink | |
parent | 102c05e8dc4f75a573437e2ce50b2559f3db8d5e (diff) | |
download | linux-1cd6ed7c2e35a716dcf1347c33f58a7ce7d1414f.tar.xz |
powerpc/xmon: Wait for secondaries before IPI'ing on system reset
An externally triggered system reset (e.g., via QEMU nmi command, or pseries
reset button) can cause system reset interrupts on all CPUs. In case this causes
xmon to be entered, it is undesirable for the primary (first) CPU into xmon to
trigger an NMI IPI to others, because this may cause a nested system reset
interrupt.
So spin for a time waiting for secondaries to join xmon before performing the
NMI IPI, similarly to what the crash dump code does.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Only do it when we come in from system reset, not via sysrq etc.]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/Makefile.postlink')
0 files changed, 0 insertions, 0 deletions