]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: Spectre-BHB workaround
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 10 Feb 2022 16:05:45 +0000 (16:05 +0000)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Sat, 5 Mar 2022 10:42:07 +0000 (10:42 +0000)
commit366da5875e4655a65bbb20f7abe780aa03371706
treed5a219c88d8888508c947a84a86df32a941887a3
parentcb4584cb3e61be08cae2200c0b152dc36df840ab
ARM: Spectre-BHB workaround

Workaround the Spectre BHB issues for Cortex-A15, Cortex-A57,
Cortex-A72, Cortex-A73 and Cortex-A75. We also include Brahma B15 as
well to be safe, which is affected by Spectre V2 in the same ways as
Cortex-A15.

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/include/asm/assembler.h
arch/arm/include/asm/spectre.h
arch/arm/include/asm/vmlinux.lds.h
arch/arm/kernel/entry-armv.S
arch/arm/kernel/entry-common.S
arch/arm/kernel/spectre.c
arch/arm/kernel/traps.c
arch/arm/mm/Kconfig
arch/arm/mm/proc-v7-bugs.c