aboutsummaryrefslogtreecommitdiffstats
path: root/lib/cpus/cpu-ops.mk
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2019-05-20 14:57:06 +0100
committerAndre Przywara <andre.przywara@arm.com>2019-06-06 14:27:37 +0100
commit5f5d0763875218893d3831a685886c17d20be940 (patch)
tree777151cf55daa16119f9035dd5b6d9fa1d7730b8 /lib/cpus/cpu-ops.mk
parent49d969bbb3ca7e738bc6ef560e44c0047a9925cc (diff)
downloadplatform_external_arm-trusted-firmware-5f5d0763875218893d3831a685886c17d20be940.tar.gz
platform_external_arm-trusted-firmware-5f5d0763875218893d3831a685886c17d20be940.tar.bz2
platform_external_arm-trusted-firmware-5f5d0763875218893d3831a685886c17d20be940.zip
Neoverse N1: Introduce workaround for Neoverse N1 erratum 1315703
Neoverse N1 erratum 1315703 is a Cat A (rare) erratum [1], present in older revisions of the Neoverse N1 processor core. The workaround is to set a bit in the implementation defined CPUACTLR2_EL1 system register, which will disable the load-bypass-store feature. [1] http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.pjdocpjdoc-466751330-1032/index.html Change-Id: I5c708dbe0efa4daa0bcb6bd9622c5efe19c03af9 Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'lib/cpus/cpu-ops.mk')
-rw-r--r--lib/cpus/cpu-ops.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/cpus/cpu-ops.mk b/lib/cpus/cpu-ops.mk
index 599e11ed5..db4537528 100644
--- a/lib/cpus/cpu-ops.mk
+++ b/lib/cpus/cpu-ops.mk
@@ -238,6 +238,10 @@ ERRATA_A76_1286807 ?=0
# only to r0p0 and r1p0 of the Neoverse N1 cpu.
ERRATA_N1_1043202 ?=1
+# Flag to apply erratum 1315703 workaround during reset. This erratum applies
+# to revisions before r3p1 of the Neoverse N1 cpu.
+ERRATA_N1_1315703 ?=1
+
# Flag to apply DSU erratum 798953. This erratum applies to DSUs revision r0p0.
# Applying the workaround results in higher DSU power consumption on idle.
ERRATA_DSU_798953 ?=0
@@ -427,6 +431,10 @@ $(eval $(call add_define,ERRATA_A76_1286807))
$(eval $(call assert_boolean,ERRATA_N1_1043202))
$(eval $(call add_define,ERRATA_N1_1043202))
+# Process ERRATA_N1_1315703 flag
+$(eval $(call assert_boolean,ERRATA_N1_1315703))
+$(eval $(call add_define,ERRATA_N1_1315703))
+
# Process ERRATA_DSU_798953 flag
$(eval $(call assert_boolean,ERRATA_DSU_798953))
$(eval $(call add_define,ERRATA_DSU_798953))