diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2017-12-23 19:49:22 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-01-17 16:38:59 +0300 |
commit | 4552d128c26e0f0f27a5bd2fadc24092b8f6c1d7 (patch) | |
tree | 97c94bbe4f7f5b2e1e5e611897704415d3034bd8 /arch/powerpc/kvm/book3s_hv_ras.c | |
parent | 2271db20e4b362405bacc0e4095df4177d38129e (diff) | |
download | linux-4552d128c26e0f0f27a5bd2fadc24092b8f6c1d7.tar.xz |
powerpc: System reset avoid interleaving oops using die synchronisation
The die() oops path contains a serializing lock to prevent oops
messages from being interleaved. In the case of a system reset
initiated oops (e.g., qemu nmi command), __die was being called
which lacks that synchronisation and oops reports could be
interleaved across CPUs.
A recent patch 4388c9b3a6ee7 ("powerpc: Do not send system reset
request through the oops path") changed this to __die to avoid
the debugger() call, but there is no real harm to calling it twice
if the first time fell through. So go back to using die() here.
This was observed to fix the problem.
Fixes: 4388c9b3a6ee7 ("powerpc: Do not send system reset request through the oops path")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kvm/book3s_hv_ras.c')
0 files changed, 0 insertions, 0 deletions