public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: "Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] ARM: fix co-processor register typo
Date: Wed, 9 Mar 2022 19:10:58 +0000	[thread overview]
Message-ID: <Yij7wjXvJh+jMIWr@arm.com> (raw)
In-Reply-To: <E1nS1fu-00GcNN-24@rmk-PC.armlinux.org.uk>

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

      reply	other threads:[~2022-03-09 19:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-09 19:08 [PATCH] ARM: fix co-processor register typo Russell King (Oracle)
2022-03-09 19:10 ` Catalin Marinas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Yij7wjXvJh+jMIWr@arm.com \
    --to=catalin.marinas@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=rmk+kernel@armlinux.org.uk \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox