]> Git Repo - linux.git/commit
arm64: Add AMPERE1 to the Spectre-BHB affected list
authorD Scott Phillips <[email protected]>
Tue, 11 Oct 2022 02:21:40 +0000 (19:21 -0700)
committerCatalin Marinas <[email protected]>
Wed, 12 Oct 2022 16:36:06 +0000 (17:36 +0100)
commit0e5d5ae837c8ce04d2ddb874ec5f920118bd9d31
tree9551dd36a66919bbadd41c4f07deb1c59de5168e
parenta8e5e5146ad08d794c58252bab00b261045ef16d
arm64: Add AMPERE1 to the Spectre-BHB affected list

Per AmpereOne erratum AC03_CPU_12, "Branch history may allow control of
speculative execution across software contexts," the AMPERE1 core needs the
bhb clearing loop to mitigate Spectre-BHB, with a loop iteration count of
11.

Signed-off-by: D Scott Phillips <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: James Morse <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
arch/arm64/include/asm/cputype.h
arch/arm64/kernel/proton-pack.c
This page took 0.058038 seconds and 4 git commands to generate.