Skip to content

Commit 0ecc471

Browse files
hanjun-guoctmarinas
authored andcommitted
arm64: kpti: Whitelist HiSilicon Taishan v110 CPUs
HiSilicon Taishan v110 CPUs didn't implement CSV3 field of the ID_AA64PFR0_EL1 and are not susceptible to Meltdown, so whitelist the MIDR in kpti_safe_list[] table. Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org> Reviewed-by: John Garry <john.garry@huawei.com> Reviewed-by: Zhangshaokun <zhangshaokun@hisilicon.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
1 parent efd00c7 commit 0ecc471

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/kernel/cpufeature.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -963,6 +963,7 @@ static bool unmap_kernel_at_el0(const struct arm64_cpu_capabilities *entry,
963963
MIDR_ALL_VERSIONS(MIDR_CORTEX_A57),
964964
MIDR_ALL_VERSIONS(MIDR_CORTEX_A72),
965965
MIDR_ALL_VERSIONS(MIDR_CORTEX_A73),
966+
MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
966967
{ /* sentinel */ }
967968
};
968969
char const *str = "command line option";

0 commit comments

Comments
 (0)