]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcbe2d0c0bec4d6f8785e72f5747daad96476f6d2
treecce381803868e5b1053cbc8cd739bc2aeaa6979c
parent37ccdaac80a1c84fe4e994d557424ca057c8f1bc
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