]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ARM: fix co-processor register typo
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 9 Mar 2022 19:08:42 +0000 (19:08 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 9 Mar 2022 20:23:28 +0000 (12:23 -0800)
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: 366da5875e46 ("ARM: Spectre-BHB workaround")
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm/include/asm/assembler.h

index b50cc0169d5c4c071c2e069ffe82d100efa859b0..aee73ef5b3dc49043d251fb0b9ca0a02fae08a95 100644 (file)
        .endm
 
        .macro  isb, args
-       mcr     p15, 0, r0, c7, r5, 4
+       mcr     p15, 0, r0, c7, c5, 4
        .endm
 #endif