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)
commitb9baf5c8c5c356757f4f9d8180b5e9d234065bc3
treed5a219c88d8888508c947a84a86df32a941887a3
parent8d9d651ff2270a632e9dc497b142db31e8911315
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