public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] ARM: fix co-processor register typo
@ 2022-03-09 19:08 Russell King (Oracle)
  2022-03-09 19:10 ` Catalin Marinas
  0 siblings, 1 reply; 2+ messages in thread
From: Russell King (Oracle) @ 2022-03-09 19:08 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Catalin Marinas, linux-arm-kernel

In the recent Spectre BHB patches, there was a typo that is only
exposed in certain configurations: mcr p15,0,XX,c7,r5,4 should have
been mcr p15,0,XX,c7,c5,4

Reported-by: kernel test robot <lkp@intel.com>
Fixes: b9baf5c8c5c3 ("ARM: Spectre-BHB workaround")
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
---
 arch/arm/include/asm/assembler.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/include/asm/assembler.h b/arch/arm/include/asm/assembler.h
index cc8851e09f0d..34fe8d2dd5d1 100644
--- a/arch/arm/include/asm/assembler.h
+++ b/arch/arm/include/asm/assembler.h
@@ -117,7 +117,7 @@ THUMB(	fpreg	.req	r7	)
 	.endm
 
 	.macro	isb, args
-	mcr	p15, 0, r0, c7, r5, 4
+	mcr	p15, 0, r0, c7, c5, 4
 	.endm
 #endif
 
-- 
2.30.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: fix co-processor register typo
  2022-03-09 19:08 [PATCH] ARM: fix co-processor register typo Russell King (Oracle)
@ 2022-03-09 19:10 ` Catalin Marinas
  0 siblings, 0 replies; 2+ messages in thread
From: Catalin Marinas @ 2022-03-09 19:10 UTC (permalink / raw)
  To: Russell King (Oracle); +Cc: Linus Torvalds, linux-arm-kernel

On Wed, Mar 09, 2022 at 07:08:42PM +0000, Russell King wrote:
> In the recent Spectre BHB patches, there was a typo that is only
> exposed in certain configurations: mcr p15,0,XX,c7,r5,4 should have
> been mcr p15,0,XX,c7,c5,4
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Fixes: b9baf5c8c5c3 ("ARM: Spectre-BHB workaround")
> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
> ---
>  arch/arm/include/asm/assembler.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/include/asm/assembler.h b/arch/arm/include/asm/assembler.h
> index cc8851e09f0d..34fe8d2dd5d1 100644
> --- a/arch/arm/include/asm/assembler.h
> +++ b/arch/arm/include/asm/assembler.h
> @@ -117,7 +117,7 @@ THUMB(	fpreg	.req	r7	)
>  	.endm
>  
>  	.macro	isb, args
> -	mcr	p15, 0, r0, c7, r5, 4
> +	mcr	p15, 0, r0, c7, c5, 4
>  	.endm
>  #endif

Acked-by: Catalin Marinas <catalin.marinas@arm.com>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-09 19:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-09 19:08 [PATCH] ARM: fix co-processor register typo Russell King (Oracle)
2022-03-09 19:10 ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox