Skip to content
/ linux Public

Commit fd51d47

Browse files
Jinqian YangSasha Levin
authored andcommitted
arm64: Add support for TSV110 Spectre-BHB mitigation
[ Upstream commit e3baa5d ] The TSV110 processor is vulnerable to the Spectre-BHB (Branch History Buffer) attack, which can be exploited to leak information through branch prediction side channels. This commit adds the MIDR of TSV110 to the list for software mitigation. Signed-off-by: Jinqian Yang <yangjinqian1@huawei.com> Reviewed-by: Zenghui Yu <zenghui.yu@linux.dev> Signed-off-by: Will Deacon <will@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent f4ac729 commit fd51d47

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/kernel/proton-pack.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -887,6 +887,7 @@ static u8 spectre_bhb_loop_affected(void)
887887
MIDR_ALL_VERSIONS(MIDR_CORTEX_X2),
888888
MIDR_ALL_VERSIONS(MIDR_NEOVERSE_N2),
889889
MIDR_ALL_VERSIONS(MIDR_NEOVERSE_V1),
890+
MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
890891
{},
891892
};
892893
static const struct midr_range spectre_bhb_k24_list[] = {

0 commit comments

Comments
 (0)