summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorlauwal01 <lauren.wehrmeister@arm.com>2019-06-24 11:38:53 -0500
committerlauwal01 <lauren.wehrmeister@arm.com>2019-07-02 09:16:10 -0500
commit9eceb020d79614cf41d64f6eae4086f3b5390203 (patch)
treec0d19c0446266b7ac3d4a6fb5df0132140e0c334 /include
parentef5fa7d47741d008f8786f971fc138e6331fb46d (diff)
Workaround for Neoverse N1 erratum 1220197
Neoverse N1 erratum 1220197 is a Cat B erratum [1], present in older revisions of the Neoverse N1 processor core. The workaround is to set two bits in the implementation defined CPUECTLR_EL1 system register, which disables write streaming to the L2. [1] http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.pjdoc-466751330-10325/index.html Change-Id: I9c3373f1b6d67d21ee71b2b80aec5e96826818e8 Signed-off-by: Lauren Wehrmeister <lauren.wehrmeister@arm.com>
Diffstat (limited to 'include')
-rw-r--r--include/lib/cpus/aarch64/neoverse_n1.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/lib/cpus/aarch64/neoverse_n1.h b/include/lib/cpus/aarch64/neoverse_n1.h
index 8925827e..952ae6eb 100644
--- a/include/lib/cpus/aarch64/neoverse_n1.h
+++ b/include/lib/cpus/aarch64/neoverse_n1.h
@@ -30,6 +30,8 @@
******************************************************************************/
#define NEOVERSE_N1_CPUECTLR_EL1 S3_0_C15_C1_4
+#define NEOVERSE_N1_WS_THR_L2_MASK (ULL(3) << 24)
+
/*******************************************************************************
* CPU Auxiliary Control register specific definitions.
******************************************************************************/