diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2021-06-17 17:51:06 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-06-24 16:06:56 +0200 |
commit | dd152f70bdc1b91445b10c65ac874b90c93fb3b5 (patch) | |
tree | cce381803868e5b1053cbc8cd739bc2aeaa6979c /arch/powerpc/kernel/exceptions-64s.S | |
parent | powerpc/64: move interrupt return asm to interrupt_64.S (diff) | |
download | linux-dd152f70bdc1b91445b10c65ac874b90c93fb3b5.tar.xz linux-dd152f70bdc1b91445b10c65ac874b90c93fb3b5.zip |
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
Diffstat (limited to 'arch/powerpc/kernel/exceptions-64s.S')
-rw-r--r-- | arch/powerpc/kernel/exceptions-64s.S | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index 3d238a3b2a24..18c96df269c0 100644 --- a/arch/powerpc/kernel/exceptions-64s.S +++ b/arch/powerpc/kernel/exceptions-64s.S @@ -1861,8 +1861,6 @@ END_FTR_SECTION_IFSET(CPU_FTR_REAL_LE) mtctr r10 bctr .else - li r10,MSR_RI - mtmsrd r10,1 /* Set RI (EE=0) */ #ifdef CONFIG_RELOCATABLE __LOAD_HANDLER(r10, system_call_common) mtctr r10 |