diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2016-12-20 04:30:10 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-04-28 21:02:25 +1000 |
commit | 102c05e8dc4f75a573437e2ce50b2559f3db8d5e (patch) | |
tree | 96421119c1df2171afdf40d38a1c6e27eb6836b4 /arch/powerpc/platforms/pseries/ras.c | |
parent | c64af6458e2e2ddf86aff559837d3925fbf9cbb5 (diff) | |
download | linux-next-102c05e8dc4f75a573437e2ce50b2559f3db8d5e.tar.gz |
powerpc/pseries: Implement NMI IPI with H_SIGNAL_SYS_RESET
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/pseries/ras.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/ras.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/ras.c b/arch/powerpc/platforms/pseries/ras.c index 904a677208d1..bb70b26334f0 100644 --- a/arch/powerpc/platforms/pseries/ras.c +++ b/arch/powerpc/platforms/pseries/ras.c @@ -386,6 +386,10 @@ int pSeries_system_reset_exception(struct pt_regs *regs) } fwnmi_release_errinfo(); } + + if (smp_handle_nmi_ipi(regs)) + return 1; + return 0; /* need to perform reset */ } |