[PATCH] powerpc/64s: Remove RFI

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

STALE2099d

2 messages, 1 author, 2020-11-07 · open the first message on its own page

[PATCH] powerpc/64s: Remove RFI

From: Christophe Leroy <hidden>
Date: 2020-11-06 11:36:07

Last use of RFI on PPC64 was removed by
commit b8e90cb7bc04 ("powerpc/64: Convert the syscall exit path to
use RFI_TO_USER/KERNEL").

Remove the macro.

Signed-off-by: Christophe Leroy <redacted>
---
 arch/powerpc/include/asm/ppc_asm.h | 1 -
 1 file changed, 1 deletion(-)
diff --git a/arch/powerpc/include/asm/ppc_asm.h b/arch/powerpc/include/asm/ppc_asm.h
index 511786f0e40d..bedf3eb52ebc 100644
--- a/arch/powerpc/include/asm/ppc_asm.h
+++ b/arch/powerpc/include/asm/ppc_asm.h
@@ -495,7 +495,6 @@ END_FTR_SECTION_NESTED(CPU_FTR_CELL_TB_BUG, CPU_FTR_CELL_TB_BUG, 96)
 #endif
 
 #ifdef CONFIG_PPC_BOOK3S_64
-#define RFI		rfid
 #define MTMSRD(r)	mtmsrd	r
 #define MTMSR_EERI(reg)	mtmsrd	reg,1
 #else
-- 
2.25.0

Re: [PATCH] powerpc/64s: Remove RFI

From: Christophe Leroy <hidden>
Date: 2020-11-07 14:31:56


Le 06/11/2020 à 12:36, Christophe Leroy a écrit :
Last use of RFI on PPC64 was removed by
commit b8e90cb7bc04 ("powerpc/64: Convert the syscall exit path to
use RFI_TO_USER/KERNEL").

Remove the macro.
Forget this crazy patch. I missed two RFI in head_64.S ....

Christophe
quoted hunk
Signed-off-by: Christophe Leroy <redacted>
---
  arch/powerpc/include/asm/ppc_asm.h | 1 -
  1 file changed, 1 deletion(-)
diff --git a/arch/powerpc/include/asm/ppc_asm.h b/arch/powerpc/include/asm/ppc_asm.h
index 511786f0e40d..bedf3eb52ebc 100644
--- a/arch/powerpc/include/asm/ppc_asm.h
+++ b/arch/powerpc/include/asm/ppc_asm.h
@@ -495,7 +495,6 @@ END_FTR_SECTION_NESTED(CPU_FTR_CELL_TB_BUG, CPU_FTR_CELL_TB_BUG, 96)
  #endif
  
  #ifdef CONFIG_PPC_BOOK3S_64
-#define RFI		rfid
  #define MTMSRD(r)	mtmsrd	r
  #define MTMSR_EERI(reg)	mtmsrd	reg,1
  #else
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help