arm64: cpu_errata: Add Hisilicon TSV110 to spectre-v2 safe list
PATCH 1/1 arm64: cpu_errata: Add Hisilicon TSV110 to spectre-v2 safe list
From: Wei Li <[email protected]>
HiSilicon Taishan v110 CPUs didn't implement CSV2 field of the ID_AA64PFR0_EL1, but spectre-v2 is mitigated by hardware, so whitelist the MIDR in the safe list.
Signed-off-by Wei Li <[email protected]>
[hanjun: re-write the commit log]
Signed-off-by Hanjun Guo <[email protected]>
--- arch/arm64/kernel/cpu_errata.c | 1 + 1 file changed, 1 insertion(+)
arch/arm64/kernel/cpu_errata.c +1 -0
@@ -547,6 +547,7 @@ int get_spectre_v2_workaround_state(void)MIDR_ALL_VERSIONS (MIDR_CORTEX_A53 ),MIDR_ALL_VERSIONS (MIDR_CORTEX_A55 ),MIDR_ALL_VERSIONS (MIDR_BRAHMA_B53 ), + MIDR_ALL_VERSIONS(MIDR_HISI_TSV110), { /* sentinel */ } };
Signature · 7 lines
1.7.12.4 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 9 lines · Hanjun Guo
From: Wei Li <[email protected]>
HiSilicon Taishan v110 CPUs didn't implement CSV2 field of the
ID_AA64PFR0_EL1, but spectre-v2 is mitigated by hardware, so whitelist the MIDR in the safe list.Signed-off-by Wei Li <[email protected]>[hanjun: re-write the commit log]Signed-off-by Hanjun Guo <[email protected]>
Queued for 5.5. Thanks.
Signature · 6 lines
Catalin _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel