diff options
author | 2019-02-26 18:51:10 +1000 | |
---|---|---|
committer | 2019-02-26 23:28:26 +1100 | |
commit | 38555434a910a657ba6d7d06a4fe0376c8b04685 (patch) | |
tree | cd1b893915eff74c542d57bc3187e59bebdf22cb /tools/perf/scripts/python/export-to-sqlite.py | |
parent | powerpc/64s: Prepare to handle data interrupts vs d-side MCE reentrancy (diff) | |
download | wireguard-linux-38555434a910a657ba6d7d06a4fe0376c8b04685.tar.xz wireguard-linux-38555434a910a657ba6d7d06a4fe0376c8b04685.zip |
powerpc/64s: Fix data interrupts vs d-side MCE reentrancy
Handlers for interrupts that set DAR / DSISR, set MSR[RI] before those
SPRs are read. If a d-side machine check hits in this window, DAR /
DSISR will be clobbered silently, leading to random corruption.
Fix this by having handlers save those registers before setting MSR[RI].
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions