[PATCH] powerpc/32: Remove unneccessary MSR[RI] clearing for 8xx

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE2791d

2 messages, 2 authors, 2019-02-22 · open the first message on its own page

[PATCH] powerpc/32: Remove unneccessary MSR[RI] clearing for 8xx

From: Christophe Leroy <hidden>
Date: 2019-01-22 13:52:09

MSR[RI] has already been cleared a few lines above.

Signed-off-by: Christophe Leroy <redacted>
---
 arch/powerpc/kernel/entry_32.S | 3 ---
 1 file changed, 3 deletions(-)
diff --git a/arch/powerpc/kernel/entry_32.S b/arch/powerpc/kernel/entry_32.S
index 0768dfd8a64e..c2b66fbbf7f0 100644
--- a/arch/powerpc/kernel/entry_32.S
+++ b/arch/powerpc/kernel/entry_32.S
@@ -997,9 +997,6 @@ END_FTR_SECTION_IFSET(CPU_FTR_NEED_PAIRED_STWCX)
 	.globl exc_exit_restart
 exc_exit_restart:
 	lwz	r12,_NIP(r1)
-#if defined(CONFIG_PPC_8xx) && defined(CONFIG_PERF_EVENTS)
-	mtspr	SPRN_NRI, r0
-#endif
 	mtspr	SPRN_SRR0,r12
 	mtspr	SPRN_SRR1,r9
 	REST_4GPRS(9, r1)
-- 
2.13.3

Re: powerpc/32: Remove unneccessary MSR[RI] clearing for 8xx

From: Michael Ellerman <hidden>
Date: 2019-02-22 09:47:42

On Tue, 2019-01-22 at 13:52:04 UTC, Christophe Leroy wrote:
MSR[RI] has already been cleared a few lines above.

Signed-off-by: Christophe Leroy <redacted>
Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/ab44840df1dcd1a10c514aa2938c47f5

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help