]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitccce388d50f6ad946bea1b6ba1577a7b58462128
tree9802b8c0a6b50699b9501e0549816c9d056b8497
parentf21a5baaf36bc5c90e53bf93c15e151032fbd666
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