powerpc/64s/exceptions: Change irq reconcile for NMIs from reusing _DAR to RESULT
authorNicholas Piggin <npiggin@gmail.com>
Fri, 8 May 2020 04:33:55 +0000 (14:33 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 May 2020 11:58:44 +0000 (21:58 +1000)
commit16754d25bd7d4e53a52b311d99cc7a8fba875d81
tree9802b8c0a6b50699b9501e0549816c9d056b8497
parentac2a2a1417391180ef12f908a2864692d6d76d40
powerpc/64s/exceptions: Change irq reconcile for NMIs from reusing _DAR to RESULT

A spare interrupt stack slot is needed to save irq state when
reconciling NMIs (sreset and decrementer soft-nmi). _DAR is used
for this, but we want to reconcile machine checks as well, which
do use _DAR. Switch to using RESULT instead, as it's used by
system calls.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200508043408.886394-4-npiggin@gmail.com
arch/powerpc/kernel/exceptions-64s.S