powerpc/64s: Fix OPAL_CALL non-maskable interrupt reentrancy
authorNicholas Piggin <npiggin@gmail.com>
Mon, 1 May 2017 12:01:10 +0000 (22:01 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 30 May 2017 04:59:51 +0000 (14:59 +1000)
commitc07e1b8a27a1419cdd4af7a1def26d12bb24d2b1
treed9b24e3409ad890698a03417870a60e2a9808cb5
parentf1fe5252018075e18d7f0c0e23ee173546420361
powerpc/64s: Fix OPAL_CALL non-maskable interrupt reentrancy

OPAL_CALL uses SRR[01] with MSR_RI=1, which gets corrupted if there
is an interleaving system reset or machine check interrupt.

Use HSRR[01] instead, which does not require MSR_RI=0.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/opal-wrappers.S