summaryrefslogtreecommitdiff
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2019-02-26 18:51:10 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2019-02-26 23:28:26 +1100
commit38555434a910a657ba6d7d06a4fe0376c8b04685 (patch)
treecd1b893915eff74c542d57bc3187e59bebdf22cb /arch/powerpc/include
parente779fc93643c1181b0164745a537986a525850ca (diff)
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 'arch/powerpc/include')
0 files changed, 0 insertions, 0 deletions