[PATCH] arm64: add Cortex-A76 to spectre v2 safe-list

Chanho Park parkch98 at gmail.com
Sun Jan 12 07:10:14 PST 2020


Cortex A76(Enyo) core can be added in spectre v2(CVE-2017-5715 (Spectre,
Variant 2, Branch Target Injection) safe list.

Signed-off-by: Chanho Park <parkch98 at gmail.com>
---
 arch/arm64/kernel/cpu_errata.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/kernel/cpu_errata.c b/arch/arm64/kernel/cpu_errata.c
index 85f4bec22f6d..9895d56bf5ac 100644
--- a/arch/arm64/kernel/cpu_errata.c
+++ b/arch/arm64/kernel/cpu_errata.c
@@ -546,6 +546,7 @@ static const struct midr_range spectre_v2_safe_list[] = {
 	MIDR_ALL_VERSIONS(MIDR_CORTEX_A35),
 	MIDR_ALL_VERSIONS(MIDR_CORTEX_A53),
 	MIDR_ALL_VERSIONS(MIDR_CORTEX_A55),
+	MIDR_ALL_VERSIONS(MIDR_CORTEX_A76),
 	MIDR_ALL_VERSIONS(MIDR_BRAHMA_B53),
 	MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
 	{ /* sentinel */ }
-- 
2.17.1




More information about the linux-arm-kernel mailing list