diff mbox series

[RFC,2/9] powerpc/64s: system call avoid setting MSR[RI] until we set MSR[EE]

Message ID 20201106155929.2246055-3-npiggin@gmail.com
State New
Headers show
Series powerpc/64s: fast interrupt exit | expand


Context Check Description
snowpatch_ozlabs/needsstable success Patch has no Fixes tags
snowpatch_ozlabs/checkpatch success total: 0 errors, 0 warnings, 0 checks, 8 lines checked
snowpatch_ozlabs/apply_patch success Successfully applied on branch powerpc/merge (f924bf2a58108816db1c95e08af4b1f99c90afa3)

Commit Message

Nicholas Piggin Nov. 6, 2020, 3:59 p.m. UTC
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.

XXX: May need to make this radix-only opt. - might take SLB or HPT faults
on the context tracking, etc.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
 arch/powerpc/kernel/exceptions-64s.S | 2 --
 1 file changed, 2 deletions(-)
diff mbox series


diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S
index ea7bb7cc0db1..ad9f51e49806 100644
--- a/arch/powerpc/kernel/exceptions-64s.S
+++ b/arch/powerpc/kernel/exceptions-64s.S
@@ -1905,8 +1905,6 @@  END_FTR_SECTION_IFSET(CPU_FTR_REAL_LE)
 	mtctr	r10
-	li	r10,MSR_RI
-	mtmsrd 	r10,1			/* Set RI (EE=0) */
 	__LOAD_HANDLER(r10, system_call_common)
 	mtctr	r10