powerpc/64s: system call avoid setting MSR[RI] until we set MSR[EE]
authorNicholas Piggin <npiggin@gmail.com>
Thu, 17 Jun 2021 15:51:06 +0000 (01:51 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 24 Jun 2021 14:06:56 +0000 (00:06 +1000)
commitdd152f70bdc1b91445b10c65ac874b90c93fb3b5
treecce381803868e5b1053cbc8cd739bc2aeaa6979c
parente754f4d13e3919aafa485657599907aa63b9a40c
powerpc/64s: system call avoid setting MSR[RI] until we set MSR[EE]

This extends the MSR[RI]=0 window a little further into the system
call in order to pair RI and EE enabling with a single mtmsrd.

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