aboutsummaryrefslogtreecommitdiffstats
path: root/lib/cpus/cpu-ops.mk
diff options
context:
space:
mode:
authorlauwal01 <lauren.wehrmeister@arm.com>2019-06-24 11:49:01 -0500
committerlauwal01 <lauren.wehrmeister@arm.com>2019-07-02 09:17:19 -0500
commit4d8801fe5aa0d26ab3df42d31f0e7129209d301b (patch)
tree02ee9ea90f76f197dc219d6e1b3527658c645c0d /lib/cpus/cpu-ops.mk
parent11c48370bd8c1dfdf5221a073a26615904c94413 (diff)
downloadplatform_external_arm-trusted-firmware-4d8801fe5aa0d26ab3df42d31f0e7129209d301b.tar.gz
platform_external_arm-trusted-firmware-4d8801fe5aa0d26ab3df42d31f0e7129209d301b.tar.bz2
platform_external_arm-trusted-firmware-4d8801fe5aa0d26ab3df42d31f0e7129209d301b.zip
Workaround for Neoverse N1 erratum 1275112
Neoverse N1 erratum 1275112 is a Cat B erratum [1], present in older revisions of the Neoverse N1 processor core. The workaround is to set a bit in the implementation defined CPUACTLR_EL1 system register, which delays instruction fetch after branch misprediction. [1] http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.pjdoc-466751330-10325/index.html Change-Id: If7fe55fe92e656fa6aea12327ab297f2e6119833 Signed-off-by: Lauren Wehrmeister <lauren.wehrmeister@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 2f13696d6..260402351 100644
--- a/lib/cpus/cpu-ops.mk
+++ b/lib/cpus/cpu-ops.mk
@@ -270,6 +270,10 @@ ERRATA_N1_1262606 ?=0
# only to revision <= r3p0 of the Neoverse N1 cpu.
ERRATA_N1_1262888 ?=0
+# Flag to apply erratum 1275112 workaround during reset. This erratum applies
+# only to revision <= r3p0 of the Neoverse N1 cpu.
+ERRATA_N1_1275112 ?=0
+
# Flag to apply erratum 1315703 workaround during reset. This erratum applies
# to revisions before r3p1 of the Neoverse N1 cpu.
ERRATA_N1_1315703 ?=1
@@ -495,6 +499,10 @@ $(eval $(call add_define,ERRATA_N1_1262606))
$(eval $(call assert_boolean,ERRATA_N1_1262888))
$(eval $(call add_define,ERRATA_N1_1262888))
+# Process ERRATA_N1_1275112 flag
+$(eval $(call assert_boolean,ERRATA_N1_1275112))
+$(eval $(call add_define,ERRATA_N1_1275112))
+
# Process ERRATA_N1_1315703 flag
$(eval $(call assert_boolean,ERRATA_N1_1315703))
$(eval $(call add_define,ERRATA_N1_1315703))