Skip to contentSkip to conversation

arm64: add Cortex-A76 to spectre v2 safe-list

PATCH In review Chanho Park 2 participants 2 messages Jan 12, 2020 – Jan 13, 2020 arm64

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: add Cortex-A76 to spectre v2 safe-list

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

---
 arch/arm64/kernel/cpu_errata.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/kernel/cpu_errata.c +1 -0
index 85f4bec22f6d..9895d56bf5ac 100644
@@ -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 */ }
Signature · 7 lines
2.17.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#1 lore raw
Quoted 20 lines · Chanho Park

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

---
 arch/arm64/kernel/cpu_errata.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/kernel/cpu_errata.c +1 -0
index 85f4bec22f6d..9895d56bf5ac 100644
@@ -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),
Quoted 1 line

{ /* sentinel */ }

Why? Doesn't Cortex-A76 already advertize ID_AA64PFR0_EL1.CSV2?

        M.
Signature · 6 lines
Jazz is not dead. It just smells funny...

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel