xref: /rk3399_ARM-atf/lib/cpus/cpu-ops.mk (revision d91c417716f260081e6a78f561224117088fc2e0)
15541bb3fSSoby Mathew#
223721794SArvind Ram Prakash# Copyright (c) 2014-2025, Arm Limited and Contributors. All rights reserved.
392e87084SVarun Wadekar# Copyright (c) 2020-2022, NVIDIA Corporation. All rights reserved.
45541bb3fSSoby Mathew#
582cb2c1aSdp-arm# SPDX-License-Identifier: BSD-3-Clause
65541bb3fSSoby Mathew#
75541bb3fSSoby Mathew
8e444763dSBoyan Karatotevinclude ${MAKE_HELPERS_DIRECTORY}$/build_macros.mk
9e444763dSBoyan Karatotev
105541bb3fSSoby Mathew# Cortex A57 specific optimisation to skip L1 cache flush when
115541bb3fSSoby Mathew# cluster is powered down.
12e444763dSBoyan KaratotevCPU_FLAG_LIST += SKIP_A57_L1_FLUSH_PWR_DWN
135541bb3fSSoby Mathew
1454035fc4SSandrine Bailleux# Flag to disable the cache non-temporal hint.
1554035fc4SSandrine Bailleux# It is enabled by default.
1654035fc4SSandrine BailleuxA53_DISABLE_NON_TEMPORAL_HINT		?=1
17e444763dSBoyan KaratotevCPU_FLAG_LIST += A53_DISABLE_NON_TEMPORAL_HINT
1854035fc4SSandrine Bailleux
1954035fc4SSandrine Bailleux# Flag to disable the cache non-temporal hint.
2054035fc4SSandrine Bailleux# It is enabled by default.
2154035fc4SSandrine BailleuxA57_DISABLE_NON_TEMPORAL_HINT		?=1
22e444763dSBoyan KaratotevCPU_FLAG_LIST += A57_DISABLE_NON_TEMPORAL_HINT
2354035fc4SSandrine Bailleux
24cd0ea184SVarun Wadekar# Flag to enable higher performance non-cacheable load forwarding.
25cd0ea184SVarun Wadekar# It is disabled by default.
26e444763dSBoyan KaratotevCPU_FLAG_LIST += A57_ENABLE_NONCACHEABLE_LOAD_FWD
27cd0ea184SVarun Wadekar
28f62ad322SDimitris PapastamosWORKAROUND_CVE_2017_5715		?=1
29e444763dSBoyan KaratotevCPU_FLAG_LIST += WORKAROUND_CVE_2017_5715
30b8a25bbbSDimitris PapastamosWORKAROUND_CVE_2018_3639		?=1
31e444763dSBoyan KaratotevCPU_FLAG_LIST += WORKAROUND_CVE_2018_3639
32e444763dSBoyan KaratotevCPU_FLAG_LIST += DYNAMIC_WORKAROUND_CVE_2018_3639
331fe4a9d1SBipin RaviWORKAROUND_CVE_2022_23960		?=1
34e444763dSBoyan KaratotevCPU_FLAG_LIST += WORKAROUND_CVE_2022_23960
3523721794SArvind Ram PrakashWORKAROUND_CVE_2024_7881		?=1
3623721794SArvind Ram PrakashCPU_FLAG_LIST += WORKAROUND_CVE_2024_7881
37f62ad322SDimitris Papastamos
38af65cbb9SSona Mathew# Flag to disable Hardware page aggregation(HPA).
39af65cbb9SSona Mathew# This flag is enabled by default.
40af65cbb9SSona MathewWORKAROUND_CVE_2024_5660		?=1
41af65cbb9SSona MathewCPU_FLAG_LIST += WORKAROUND_CVE_2024_5660
42af65cbb9SSona Mathew
43af65cbb9SSona Mathew
4425bbbd2dSJavier Almansa Sobrino# Flags to indicate internal or external Last level cache
45f2d6b4eeSManish Pandey# By default internal
46e444763dSBoyan KaratotevCPU_FLAG_LIST += NEOVERSE_Nx_EXTERNAL_LLC
47f2d6b4eeSManish Pandey
48e444763dSBoyan Karatotev# CPU Errata Build flags.
49e444763dSBoyan Karatotev# These should be enabled by the platform if the erratum workaround needs to be
50e444763dSBoyan Karatotev# applied.
51cd0ea184SVarun Wadekar
52e444763dSBoyan Karatotev# Flag to apply erratum 794073 workaround when disabling mmu.
53e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A9_794073
545541bb3fSSoby Mathew
55e444763dSBoyan Karatotev# Flag to apply erratum 816470 workaround during power down. This erratum
56e444763dSBoyan Karatotev# applies only to revision >= r3p0 of the Cortex A15 cpu.
57e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A15_816470
5854035fc4SSandrine Bailleux
59e444763dSBoyan Karatotev# Flag to apply erratum 827671 workaround during reset. This erratum applies
60e444763dSBoyan Karatotev# only to revision >= r3p0 of the Cortex A15 cpu.
61e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A15_827671
6254035fc4SSandrine Bailleux
63e444763dSBoyan Karatotev# Flag to apply erratum 852421 workaround during reset. This erratum applies
64e444763dSBoyan Karatotev# only to revision <= r1p2 of the Cortex A17 cpu.
65e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A17_852421
665541bb3fSSoby Mathew
67e444763dSBoyan Karatotev# Flag to apply erratum 852423 workaround during reset. This erratum applies
68e444763dSBoyan Karatotev# only to revision <= r1p2 of the Cortex A17 cpu.
69e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A17_852423
70b8a25bbbSDimitris Papastamos
71e444763dSBoyan Karatotev# Flag to apply erratum 855472 workaround during reset. This erratum applies
72e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A35 cpu.
73e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A35_855472
74fe007b2eSDimitris Papastamos
75e444763dSBoyan Karatotev# Flag to apply erratum 819472 workaround during reset. This erratum applies
76e444763dSBoyan Karatotev# only to revision <= r0p1 of the Cortex A53 cpu.
77e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_819472
781fe4a9d1SBipin Ravi
79e444763dSBoyan Karatotev# Flag to apply erratum 824069 workaround during reset. This erratum applies
80e444763dSBoyan Karatotev# only to revision <= r0p2 of the Cortex A53 cpu.
81e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_824069
82e444763dSBoyan Karatotev
83e444763dSBoyan Karatotev# Flag to apply erratum 826319 workaround during reset. This erratum applies
84e444763dSBoyan Karatotev# only to revision <= r0p2 of the Cortex A53 cpu.
85e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_826319
86e444763dSBoyan Karatotev
87e444763dSBoyan Karatotev# Flag to apply erratum 827319 workaround during reset. This erratum applies
88e444763dSBoyan Karatotev# only to revision <= r0p2 of the Cortex A53 cpu.
89e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_827319
90e444763dSBoyan Karatotev
91e444763dSBoyan Karatotev# Flag to apply erratum 835769 workaround at compile and link time. This
92e444763dSBoyan Karatotev# erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this
93e444763dSBoyan Karatotev# workaround can lead the linker to create "*.stub" sections.
94e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_835769
95e444763dSBoyan Karatotev
96e444763dSBoyan Karatotev# Flag to apply erratum 836870 workaround during reset. This erratum applies
97e444763dSBoyan Karatotev# only to revision <= r0p3 of the Cortex A53 cpu. From r0p4 and onwards, this
98e444763dSBoyan Karatotev# erratum workaround is enabled by default in hardware.
99e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_836870
100e444763dSBoyan Karatotev
101e444763dSBoyan Karatotev# Flag to apply erratum 843419 workaround at link time.
102e444763dSBoyan Karatotev# This erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this
103e444763dSBoyan Karatotev# workaround could lead the linker to emit "*.stub" sections which are 4kB
104e444763dSBoyan Karatotev# aligned.
105e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_843419
106e444763dSBoyan Karatotev
107e444763dSBoyan Karatotev# Flag to apply errata 855873 during reset. This errata applies to all
108e444763dSBoyan Karatotev# revisions of the Cortex A53 CPU, but this firmware workaround only works
109e444763dSBoyan Karatotev# for revisions r0p3 and higher. Earlier revisions are taken care
110e444763dSBoyan Karatotev# of by the rich OS.
111e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_855873
112e444763dSBoyan Karatotev
113e444763dSBoyan Karatotev# Flag to apply erratum 1530924 workaround during reset. This erratum applies
114e444763dSBoyan Karatotev# to all revisions of Cortex A53 cpu.
115e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_1530924
116e444763dSBoyan Karatotev
117e444763dSBoyan Karatotev# Flag to apply erratum 768277 workaround during reset. This erratum applies
118e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A55 cpu.
119e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A55_768277
120e444763dSBoyan Karatotev
121e444763dSBoyan Karatotev# Flag to apply erratum 778703 workaround during reset. This erratum applies
122e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A55 cpu.
123e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A55_778703
124e444763dSBoyan Karatotev
125e444763dSBoyan Karatotev# Flag to apply erratum 798797 workaround during reset. This erratum applies
126e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A55 cpu.
127e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A55_798797
128e444763dSBoyan Karatotev
129e444763dSBoyan Karatotev# Flag to apply erratum 846532 workaround during reset. This erratum applies
130e444763dSBoyan Karatotev# only to revision <= r0p1 of the Cortex A55 cpu.
131e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A55_846532
132e444763dSBoyan Karatotev
133e444763dSBoyan Karatotev# Flag to apply erratum 903758 workaround during reset. This erratum applies
134e444763dSBoyan Karatotev# only to revision <= r0p1 of the Cortex A55 cpu.
135e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A55_903758
136e444763dSBoyan Karatotev
137e444763dSBoyan Karatotev# Flag to apply erratum 1221012 workaround during reset. This erratum applies
138e444763dSBoyan Karatotev# only to revision <= r1p0 of the Cortex A55 cpu.
139e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A55_1221012
140e444763dSBoyan Karatotev
141e444763dSBoyan Karatotev# Flag to apply erratum 1530923 workaround during reset. This erratum applies
142e444763dSBoyan Karatotev# to all revisions of Cortex A55 cpu.
143e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A55_1530923
144e444763dSBoyan Karatotev
145e444763dSBoyan Karatotev# Flag to apply erratum 806969 workaround during reset. This erratum applies
146e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A57 cpu.
147e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_806969
148e444763dSBoyan Karatotev
149e444763dSBoyan Karatotev# Flag to apply erratum 813419 workaround during reset. This erratum applies
150e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A57 cpu.
151e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_813419
152e444763dSBoyan Karatotev
153e444763dSBoyan Karatotev# Flag to apply erratum 813420 workaround during reset. This erratum applies
154e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A57 cpu.
155e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_813420
156e444763dSBoyan Karatotev
157e444763dSBoyan Karatotev# Flag to apply erratum 814670 workaround during reset. This erratum applies
158e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A57 cpu.
159e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_814670
160e444763dSBoyan Karatotev
161e444763dSBoyan Karatotev# Flag to apply erratum 817169 workaround during power down. This erratum
162e444763dSBoyan Karatotev# applies only to revision <= r0p1 of the Cortex A57 cpu.
163e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_817169
164e444763dSBoyan Karatotev
165e444763dSBoyan Karatotev# Flag to apply erratum 826974 workaround during reset. This erratum applies
166e444763dSBoyan Karatotev# only to revision <= r1p1 of the Cortex A57 cpu.
167e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_826974
168e444763dSBoyan Karatotev
169e444763dSBoyan Karatotev# Flag to apply erratum 826977 workaround during reset. This erratum applies
170e444763dSBoyan Karatotev# only to revision <= r1p1 of the Cortex A57 cpu.
171e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_826977
172e444763dSBoyan Karatotev
173e444763dSBoyan Karatotev# Flag to apply erratum 828024 workaround during reset. This erratum applies
174e444763dSBoyan Karatotev# only to revision <= r1p1 of the Cortex A57 cpu.
175e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_828024
176e444763dSBoyan Karatotev
177e444763dSBoyan Karatotev# Flag to apply erratum 829520 workaround during reset. This erratum applies
178e444763dSBoyan Karatotev# only to revision <= r1p2 of the Cortex A57 cpu.
179e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_829520
180e444763dSBoyan Karatotev
181e444763dSBoyan Karatotev# Flag to apply erratum 833471 workaround during reset. This erratum applies
182e444763dSBoyan Karatotev# only to revision <= r1p2 of the Cortex A57 cpu.
183e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_833471
184e444763dSBoyan Karatotev
185e444763dSBoyan Karatotev# Flag to apply erratum 855972 workaround during reset. This erratum applies
186e444763dSBoyan Karatotev# only to revision <= r1p3 of the Cortex A57 cpu.
187e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_859972
188e444763dSBoyan Karatotev
189e444763dSBoyan Karatotev# Flag to apply erratum 1319537 workaround during reset. This erratum applies
190e444763dSBoyan Karatotev# to all revisions of Cortex A57 cpu.
191e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_1319537
192e444763dSBoyan Karatotev
193e444763dSBoyan Karatotev# Flag to apply erratum 855971 workaround during reset. This erratum applies
194e444763dSBoyan Karatotev# only to revision <= r0p3 of the Cortex A72 cpu.
195e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A72_859971
196e444763dSBoyan Karatotev
197e444763dSBoyan Karatotev# Flag to apply erratum 1319367 workaround during reset. This erratum applies
198e444763dSBoyan Karatotev# to all revisions of Cortex A72 cpu.
199e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A72_1319367
200e444763dSBoyan Karatotev
201e444763dSBoyan Karatotev# Flag to apply erratum 852427 workaround during reset. This erratum applies
202e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A73 cpu.
203e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A73_852427
204e444763dSBoyan Karatotev
205e444763dSBoyan Karatotev# Flag to apply erratum 855423 workaround during reset. This erratum applies
206e444763dSBoyan Karatotev# only to revision <= r0p1 of the Cortex A73 cpu.
207e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A73_855423
208e444763dSBoyan Karatotev
209e444763dSBoyan Karatotev# Flag to apply erratum 764081 workaround during reset. This erratum applies
210e444763dSBoyan Karatotev# only to revision <= r0p0 of the Cortex A75 cpu.
211e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A75_764081
212e444763dSBoyan Karatotev
213e444763dSBoyan Karatotev# Flag to apply erratum 790748 workaround during reset. This erratum applies
214e444763dSBoyan Karatotev# only to revision <= r0p0 of the Cortex A75 cpu.
215e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A75_790748
216e444763dSBoyan Karatotev
217e444763dSBoyan Karatotev# Flag to apply erratum 1073348 workaround during reset. This erratum applies
218e444763dSBoyan Karatotev# only to revision <= r1p0 of the Cortex A76 cpu.
219e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1073348
220e444763dSBoyan Karatotev
221e444763dSBoyan Karatotev# Flag to apply erratum 1130799 workaround during reset. This erratum applies
222e444763dSBoyan Karatotev# only to revision <= r2p0 of the Cortex A76 cpu.
223e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1130799
224e444763dSBoyan Karatotev
225e444763dSBoyan Karatotev# Flag to apply erratum 1220197 workaround during reset. This erratum applies
226e444763dSBoyan Karatotev# only to revision <= r2p0 of the Cortex A76 cpu.
227e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1220197
228e444763dSBoyan Karatotev
229e444763dSBoyan Karatotev# Flag to apply erratum 1257314 workaround during reset. This erratum applies
230e444763dSBoyan Karatotev# only to revision <= r3p0 of the Cortex A76 cpu.
231e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1257314
232e444763dSBoyan Karatotev
233e444763dSBoyan Karatotev# Flag to apply erratum 1262606 workaround during reset. This erratum applies
234e444763dSBoyan Karatotev# only to revision <= r3p0 of the Cortex A76 cpu.
235e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1262606
236e444763dSBoyan Karatotev
237e444763dSBoyan Karatotev# Flag to apply erratum 1262888 workaround during reset. This erratum applies
238e444763dSBoyan Karatotev# only to revision <= r3p0 of the Cortex A76 cpu.
239e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1262888
240e444763dSBoyan Karatotev
241e444763dSBoyan Karatotev# Flag to apply erratum 1275112 workaround during reset. This erratum applies
242e444763dSBoyan Karatotev# only to revision <= r3p0 of the Cortex A76 cpu.
243e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1275112
244e444763dSBoyan Karatotev
245e444763dSBoyan Karatotev# Flag to apply erratum 1286807 workaround during reset. This erratum applies
246e444763dSBoyan Karatotev# only to revision <= r3p0 of the Cortex A76 cpu.
247e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1286807
248e444763dSBoyan Karatotev
249e444763dSBoyan Karatotev# Flag to apply erratum 1791580 workaround during reset. This erratum applies
250e444763dSBoyan Karatotev# only to revision <= r4p0 of the Cortex A76 cpu.
251e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1791580
252e444763dSBoyan Karatotev
253e444763dSBoyan Karatotev# Flag to apply erratum 1165522 workaround during reset. This erratum applies
254e444763dSBoyan Karatotev# to all revisions of Cortex A76 cpu.
255e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1165522
256e444763dSBoyan Karatotev
257e444763dSBoyan Karatotev# Flag to apply erratum 1868343 workaround during reset. This erratum applies
258e444763dSBoyan Karatotev# only to revision <= r4p0 of the Cortex A76 cpu.
259e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1868343
260e444763dSBoyan Karatotev
261e444763dSBoyan Karatotev# Flag to apply erratum 1946160 workaround during reset. This erratum applies
262e444763dSBoyan Karatotev# only to revisions r3p0 - r4p1 of the Cortex A76 cpu.
263e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1946160
264e444763dSBoyan Karatotev
265e444763dSBoyan Karatotev# Flag to apply erratum 2743102 workaround during powerdown. This erratum
266e444763dSBoyan Karatotev# applies to all revisions <= r4p1 of the Cortex A76 cpu and is still open.
267e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_2743102
268e444763dSBoyan Karatotev
269e444763dSBoyan Karatotev# Flag to apply erratum 1508412 workaround during reset. This erratum applies
270e444763dSBoyan Karatotev# only to revision <= r1p0 of the Cortex A77 cpu.
271e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A77_1508412
272e444763dSBoyan Karatotev
273e444763dSBoyan Karatotev# Flag to apply erratum 1925769 workaround during reset. This erratum applies
274e444763dSBoyan Karatotev# only to revision <= r1p1 of the Cortex A77 cpu.
275e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A77_1925769
276e444763dSBoyan Karatotev
277e444763dSBoyan Karatotev# Flag to apply erratum 1946167 workaround during reset. This erratum applies
278e444763dSBoyan Karatotev# only to revision <= r1p1 of the Cortex A77 cpu.
279e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A77_1946167
280e444763dSBoyan Karatotev
281e444763dSBoyan Karatotev# Flag to apply erratum 1791578 workaround during reset. This erratum applies
282e444763dSBoyan Karatotev# to revisions r0p0, r1p0, and r1p1, it is still open.
283e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A77_1791578
284e444763dSBoyan Karatotev
285e444763dSBoyan Karatotev# Flag to apply erratum 2356587 workaround during reset. This erratum applies
286e444763dSBoyan Karatotev# to revisions r0p0, r1p0, and r1p1, it is still open.
287e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A77_2356587
288e444763dSBoyan Karatotev
289e444763dSBoyan Karatotev# Flag to apply erratum 1800714 workaround during reset. This erratum applies
290e444763dSBoyan Karatotev# to revisions <= r1p1 of the Cortex A77 cpu.
291e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A77_1800714
292e444763dSBoyan Karatotev
293e444763dSBoyan Karatotev# Flag to apply erratum 2743100 workaround during power down. This erratum
294e444763dSBoyan Karatotev# applies to revisions r0p0, r1p0, and r1p1, it is still open.
295e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A77_2743100
296e444763dSBoyan Karatotev
297e444763dSBoyan Karatotev# Flag to apply erratum 1688305 workaround during reset. This erratum applies
298e444763dSBoyan Karatotev# to revisions r0p0 - r1p0 of the A78 cpu.
299e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_1688305
300e444763dSBoyan Karatotev
301e444763dSBoyan Karatotev# Flag to apply erratum 1941498 workaround during reset. This erratum applies
302e444763dSBoyan Karatotev# to revisions r0p0, r1p0, and r1p1 of the A78 cpu.
303e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_1941498
304e444763dSBoyan Karatotev
305e444763dSBoyan Karatotev# Flag to apply erratum 1951500 workaround during reset. This erratum applies
306e444763dSBoyan Karatotev# to revisions r1p0 and r1p1 of the A78 cpu. The issue is present in r0p0 as
307e444763dSBoyan Karatotev# well but there is no workaround for that revision.
308e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_1951500
309e444763dSBoyan Karatotev
310e444763dSBoyan Karatotev# Flag to apply erratum 1821534 workaround during reset. This erratum applies
311e444763dSBoyan Karatotev# to revisions r0p0 and r1p0 of the A78 cpu.
312e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_1821534
313e444763dSBoyan Karatotev
314e444763dSBoyan Karatotev# Flag to apply erratum 1952683 workaround during reset. This erratum applies
315e444763dSBoyan Karatotev# to revision r0p0 of the A78 cpu and was fixed in the revision r1p0.
316e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_1952683
317e444763dSBoyan Karatotev
318e444763dSBoyan Karatotev# Flag to apply erratum 2242635 workaround during reset. This erratum applies
319e444763dSBoyan Karatotev# to revisions r1p0, r1p1, and r1p2 of the A78 cpu and is open. The issue is
320e444763dSBoyan Karatotev# present in r0p0 as well but there is no workaround for that revision.
321e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_2242635
322e444763dSBoyan Karatotev
323e444763dSBoyan Karatotev# Flag to apply erratum 2376745 workaround during reset. This erratum applies
324e444763dSBoyan Karatotev# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
325e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_2376745
326e444763dSBoyan Karatotev
327e444763dSBoyan Karatotev# Flag to apply erratum 2395406 workaround during reset. This erratum applies
328e444763dSBoyan Karatotev# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
329e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_2395406
330e444763dSBoyan Karatotev
331ab062f05SSona Mathew# Flag to apply erratum 2712571 workaround for non-arm interconnect ip. This
332ab062f05SSona Mathew# erratum applies to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu.
333ab062f05SSona Mathew# It is fixed in r1p2.
334ab062f05SSona MathewCPU_FLAG_LIST += ERRATA_A78_2712571
335ab062f05SSona Mathew
336e444763dSBoyan Karatotev# Flag to apply erratum 2742426 workaround during reset. This erratum
337e444763dSBoyan Karatotev# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still
338e444763dSBoyan Karatotev# open.
339e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_2742426
340e444763dSBoyan Karatotev
341e444763dSBoyan Karatotev# Flag to apply erratum 2772019 workaround during powerdown. This erratum
342e444763dSBoyan Karatotev# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still
343e444763dSBoyan Karatotev# open.
344e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_2772019
345e444763dSBoyan Karatotev
346e444763dSBoyan Karatotev# Flag to apply erratum 2779479 workaround during reset. This erratum applies
347e444763dSBoyan Karatotev# to revision r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still open.
348e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_2779479
349e444763dSBoyan Karatotev
350e444763dSBoyan Karatotev# Flag to apply erratum 1941500 workaround during reset. This erratum applies
351e444763dSBoyan Karatotev# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
352e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_AE_1941500
353e444763dSBoyan Karatotev
354e444763dSBoyan Karatotev# Flag to apply erratum 1951502 workaround during reset. This erratum applies
355e444763dSBoyan Karatotev# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
356e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_AE_1951502
357e444763dSBoyan Karatotev
358e444763dSBoyan Karatotev# Flag to apply erratum 2376748 workaround during reset. This erratum applies
359c814619aSSona Mathew# to revisions r0p0, r0p1 and r0p2 of the A78 AE cpu. It is still open.
360e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_AE_2376748
361e444763dSBoyan Karatotev
362e444763dSBoyan Karatotev# Flag to apply erratum 2395408 workaround during reset. This erratum applies
363e444763dSBoyan Karatotev# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
364e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_AE_2395408
365e444763dSBoyan Karatotev
366672eb21eSBipin Ravi# Flag to apply erratum 1827430 workaround during reset. This erratum applies
367672eb21eSBipin Ravi# to revision r0p0 of the A78C cpu. It is fixed in r0p1.
368672eb21eSBipin RaviCPU_FLAG_LIST += ERRATA_A78C_1827430
369672eb21eSBipin Ravi
370b01a59ebSBipin Ravi# Flag to apply erratum 1827440 workaround during reset. This erratum applies
371b01a59ebSBipin Ravi# to revision r0p0 of the A78C cpu. It is fixed in r0p1.
372b01a59ebSBipin RaviCPU_FLAG_LIST += ERRATA_A78C_1827440
373b01a59ebSBipin Ravi
374ab062f05SSona Mathew# Flag to apply erratum 2712574 workaround for non-arm interconnect ip. This
375ab062f05SSona Mathew# erratum applies to revisions r0p0, r0p1 and r0p2 of the A78 AE cpu.
376ab062f05SSona Mathew# It is still open.
377ab062f05SSona MathewCPU_FLAG_LIST += ERRATA_A78_AE_2712574
378ab062f05SSona Mathew
379e444763dSBoyan Karatotev# Flag to apply erratum 2242638 workaround during reset. This erratum applies
380e444763dSBoyan Karatotev# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
381e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78C_2242638
382e444763dSBoyan Karatotev
383e444763dSBoyan Karatotev# Flag to apply erratum 2376749 workaround during reset. This erratum applies
384e444763dSBoyan Karatotev# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
385e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78C_2376749
386e444763dSBoyan Karatotev
387e444763dSBoyan Karatotev# Flag to apply erratum 2395411 workaround during reset. This erratum applies
388e444763dSBoyan Karatotev# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
389e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78C_2395411
390e444763dSBoyan Karatotev
39168cac6a0SBipin Ravi# Flag to apply erratum 2683027 workaround during reset. This erratum applies
39268cac6a0SBipin Ravi# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
39368cac6a0SBipin RaviCPU_FLAG_LIST += ERRATA_A78C_2683027
39468cac6a0SBipin Ravi
395ab062f05SSona Mathew# Flag to apply erratum 2712575 workaround for non-arm interconnect ip. This
396ab062f05SSona Mathew# erratum applies to revisions r0p1 and r0p2 of the A78C cpu.
397ab062f05SSona Mathew# It is still open.
398ab062f05SSona MathewCPU_FLAG_LIST += ERRATA_A78C_2712575
399ab062f05SSona Mathew
40081d4094dSSona Mathew# Flag to apply erratum 2743232 workaround during reset. This erratum applies
40181d4094dSSona Mathew# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
40281d4094dSSona MathewCPU_FLAG_LIST += ERRATA_A78C_2743232
40381d4094dSSona Mathew
404e444763dSBoyan Karatotev# Flag to apply erratum 2772121 workaround during powerdown. This erratum
405e444763dSBoyan Karatotev# applies to revisions r0p0, r0p1 and r0p2 of the A78C cpu. It is still open.
406e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78C_2772121
407e444763dSBoyan Karatotev
408e444763dSBoyan Karatotev# Flag to apply erratum 2779484 workaround during reset. This erratum
409e444763dSBoyan Karatotev# applies to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
410e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78C_2779484
411e444763dSBoyan Karatotev
412e444763dSBoyan Karatotev# Flag to apply erratum 1821534 workaround during reset. This erratum applies
413e444763dSBoyan Karatotev# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
414e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X1_1821534
415e444763dSBoyan Karatotev
416e444763dSBoyan Karatotev# Flag to apply erratum 1688305 workaround during reset. This erratum applies
417e444763dSBoyan Karatotev# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
418e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X1_1688305
419e444763dSBoyan Karatotev
420e444763dSBoyan Karatotev# Flag to apply erratum 1827429 workaround during reset. This erratum applies
421e444763dSBoyan Karatotev# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
422e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X1_1827429
423e444763dSBoyan Karatotev
424e444763dSBoyan Karatotev# Flag to apply T32 CLREX workaround during reset. This erratum applies
425e444763dSBoyan Karatotev# only to r0p0 and r1p0 of the Neoverse N1 cpu.
426e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1043202
427e444763dSBoyan Karatotev
428e444763dSBoyan Karatotev# Flag to apply erratum 1073348 workaround during reset. This erratum applies
429e444763dSBoyan Karatotev# only to revision r0p0 and r1p0 of the Neoverse N1 cpu.
430e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1073348
431e444763dSBoyan Karatotev
432e444763dSBoyan Karatotev# Flag to apply erratum 1130799 workaround during reset. This erratum applies
433e444763dSBoyan Karatotev# only to revision <= r2p0 of the Neoverse N1 cpu.
434e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1130799
435e444763dSBoyan Karatotev
436e444763dSBoyan Karatotev# Flag to apply erratum 1165347 workaround during reset. This erratum applies
437e444763dSBoyan Karatotev# only to revision <= r2p0 of the Neoverse N1 cpu.
438e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1165347
439e444763dSBoyan Karatotev
440e444763dSBoyan Karatotev# Flag to apply erratum 1207823 workaround during reset. This erratum applies
441e444763dSBoyan Karatotev# only to revision <= r2p0 of the Neoverse N1 cpu.
442e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1207823
443e444763dSBoyan Karatotev
444e444763dSBoyan Karatotev# Flag to apply erratum 1220197 workaround during reset. This erratum applies
445e444763dSBoyan Karatotev# only to revision <= r2p0 of the Neoverse N1 cpu.
446e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1220197
447e444763dSBoyan Karatotev
448e444763dSBoyan Karatotev# Flag to apply erratum 1257314 workaround during reset. This erratum applies
449e444763dSBoyan Karatotev# only to revision <= r3p0 of the Neoverse N1 cpu.
450e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1257314
451e444763dSBoyan Karatotev
452e444763dSBoyan Karatotev# Flag to apply erratum 1262606 workaround during reset. This erratum applies
453e444763dSBoyan Karatotev# only to revision <= r3p0 of the Neoverse N1 cpu.
454e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1262606
455e444763dSBoyan Karatotev
456e444763dSBoyan Karatotev# Flag to apply erratum 1262888 workaround during reset. This erratum applies
457e444763dSBoyan Karatotev# only to revision <= r3p0 of the Neoverse N1 cpu.
458e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1262888
459e444763dSBoyan Karatotev
460e444763dSBoyan Karatotev# Flag to apply erratum 1275112 workaround during reset. This erratum applies
461e444763dSBoyan Karatotev# only to revision <= r3p0 of the Neoverse N1 cpu.
462e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1275112
463e444763dSBoyan Karatotev
464e444763dSBoyan Karatotev# Flag to apply erratum 1315703 workaround during reset. This erratum applies
465e444763dSBoyan Karatotev# to revisions before r3p1 of the Neoverse N1 cpu.
466e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1315703
467e444763dSBoyan Karatotev
468e444763dSBoyan Karatotev# Flag to apply erratum 1542419 workaround during reset. This erratum applies
469e444763dSBoyan Karatotev# to revisions r3p0 - r4p0 of the Neoverse N1 cpu.
470e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1542419
471e444763dSBoyan Karatotev
472e444763dSBoyan Karatotev# Flag to apply erratum 1868343 workaround during reset. This erratum applies
473e444763dSBoyan Karatotev# to revision <= r4p0 of the Neoverse N1 cpu.
474e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1868343
475e444763dSBoyan Karatotev
476e444763dSBoyan Karatotev# Flag to apply erratum 1946160 workaround during reset. This erratum applies
477e444763dSBoyan Karatotev# to revisions r3p0, r3p1, r4p0, and r4p1 of the Neoverse N1 cpu. The issue
478e444763dSBoyan Karatotev# exists in revisions r0p0, r1p0, and r2p0 as well but there is no workaround.
479e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1946160
480e444763dSBoyan Karatotev
481e444763dSBoyan Karatotev# Flag to apply erratum 2743102 workaround during powerdown. This erratum
482e444763dSBoyan Karatotev# applies to all revisions <= r4p1 of the Neoverse N1 cpu and is still open.
483e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_2743102
484e444763dSBoyan Karatotev
485e444763dSBoyan Karatotev# Flag to apply erratum 1618635 workaround during reset. This erratum applies
486e444763dSBoyan Karatotev# to revision r0p0 of the Neoverse V1 cpu and was fixed in the revision r1p0.
487e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_1618635
488e444763dSBoyan Karatotev
489e444763dSBoyan Karatotev# Flag to apply erratum 1774420 workaround during reset. This erratum applies
490e444763dSBoyan Karatotev# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
491e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_1774420
492e444763dSBoyan Karatotev
493e444763dSBoyan Karatotev# Flag to apply erratum 1791573 workaround during reset. This erratum applies
494e444763dSBoyan Karatotev# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
495e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_1791573
496e444763dSBoyan Karatotev
497e444763dSBoyan Karatotev# Flag to apply erratum 1852267 workaround during reset. This erratum applies
498e444763dSBoyan Karatotev# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
499e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_1852267
500e444763dSBoyan Karatotev
501e444763dSBoyan Karatotev# Flag to apply erratum 1925756 workaround during reset. This needs to be
502e444763dSBoyan Karatotev# enabled for r0p0, r1p0, and r1p1 of the Neoverse V1 core, it is still open.
503e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_1925756
504e444763dSBoyan Karatotev
505e444763dSBoyan Karatotev# Flag to apply erratum 1940577 workaround during reset. This erratum applies
506e444763dSBoyan Karatotev# to revisions r1p0 and r1p1 of the Neoverse V1 cpu.
507e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_1940577
508e444763dSBoyan Karatotev
509e444763dSBoyan Karatotev# Flag to apply erratum 1966096 workaround during reset. This erratum applies
510e444763dSBoyan Karatotev# to revisions r1p0 and r1p1 of the Neoverse V1 CPU and is open. This issue
511e444763dSBoyan Karatotev# exists in r0p0 as well but there is no workaround for that revision.
512e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_1966096
513e444763dSBoyan Karatotev
514e444763dSBoyan Karatotev# Flag to apply erratum 2139242 workaround during reset. This erratum applies
515e444763dSBoyan Karatotev# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
516e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_2139242
517e444763dSBoyan Karatotev
518e444763dSBoyan Karatotev# Flag to apply erratum 2216392 workaround during reset. This erratum applies
519e444763dSBoyan Karatotev# to revisions r1p0 and r1p1 of the Neoverse V1 cpu and is still open. This
520e444763dSBoyan Karatotev# issue exists in r0p0 as well but there is no workaround for that revision.
521e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_2216392
522e444763dSBoyan Karatotev
523e444763dSBoyan Karatotev# Flag to apply erratum 2294912 workaround during reset. This erratum applies
524ab2b56dfSSona Mathew# to revisions r0p0, r1p0, and r1p1 and r1p2 of the Neoverse V1 cpu and is still open.
525e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_2294912
526e444763dSBoyan Karatotev
52771ed9173SSona Mathew# Flag to apply erratum 2348377 workaround during reset. This erratum applies
52871ed9173SSona Mathew# to revisions r0p0, r1p0 and r1p1 of the Neoverse V1 cpu and is fixed in r1p2.
52971ed9173SSona MathewCPU_FLAG_LIST += ERRATA_V1_2348377
53071ed9173SSona Mathew
531e444763dSBoyan Karatotev# Flag to apply erratum 2372203 workaround during reset. This erratum applies
532e444763dSBoyan Karatotev# to revisions r0p0, r1p0 and r1p1 of the Neoverse V1 cpu and is still open.
533e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_2372203
534e444763dSBoyan Karatotev
535ab062f05SSona Mathew# Flag to apply erratum 2701953 workaround to non-arm interconnect ip. This
536ab062f05SSona Mathew# erratum applies to revisions r0p0, r1p0, r1p1 of the Neoverse V1 cpu,
537ab062f05SSona Mathew# it is fixed in r1p2.
538ab062f05SSona MathewCPU_FLAG_LIST += ERRATA_V1_2701953
539ab062f05SSona Mathew
540e444763dSBoyan Karatotev# Flag to apply erratum 2743093 workaround during powerdown. This erratum
541e444763dSBoyan Karatotev# applies to revisions r0p0, r1p0, r1p1 and r1p2  of the Neoverse V1 cpu and is
542e444763dSBoyan Karatotev# still open.
543e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_2743093
544e444763dSBoyan Karatotev
545e444763dSBoyan Karatotev# Flag to apply erratum 2743233 workaround during powerdown. This erratum
546e444763dSBoyan Karatotev# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the Neoverse V1 cpu and is
547e444763dSBoyan Karatotev# still open.
548e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_2743233
549e444763dSBoyan Karatotev
550e444763dSBoyan Karatotev# Flag to apply erratum 2779461 workaround during powerdown. This erratum
551e444763dSBoyan Karatotev# applies to revisions r0p0, r1p0, r1p1 and r1p2  of the Neoverse V1 cpu and is
552e444763dSBoyan Karatotev# still open.
553e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_2779461
554e444763dSBoyan Karatotev
5555f32fd21SGovindraj Raja# Flag to apply erratum 2970647 workaround during reset. This erratum applies
5565f32fd21SGovindraj Raja# to revisions r0p0 of the Neoverse V3 cpu and is fixed in r0p1.
5575f32fd21SGovindraj RajaCPU_FLAG_LIST += ERRATA_V3_2970647
5585f32fd21SGovindraj Raja
559e25fc9dfSGovindraj Raja# Flag to apply erratum 3701767 workaround during context save/restore of
560e25fc9dfSGovindraj Raja# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1 and r0p2 of
561e25fc9dfSGovindraj Raja# the Neoverse V3 cpu and is still open.
562e25fc9dfSGovindraj RajaCPU_FLAG_LIST += ERRATA_V3_3701767
563e25fc9dfSGovindraj Raja
5644467348bSJohn Powell# Flag to apply erratum 1901946 workaround during reset. This erratum applies
5654467348bSJohn Powell# to revision r1p0 and is fixed in r2p0.
5664467348bSJohn PowellCPU_FLAG_LIST += ERRATA_A710_1901946
5674467348bSJohn Powell
568df067c0aSJohn Powell# Flag to apply erratum 1916945 workaround during reset. This erratum applies
569df067c0aSJohn Powell# to revisions r0p0 and r1p0 of the Cortex-A710 CPU and is fixed in r2p0.
570df067c0aSJohn PowellCPU_FLAG_LIST += ERRATA_A710_1916945
571df067c0aSJohn Powell
572*d91c4177SJohn Powell# Flag to apply erratum 1917258 workaround during reset. This erratum applies
573*d91c4177SJohn Powell# to revisions r0p0 and r1p0 of the Cortex-A710 CPU and is fixed in r2p0.
574*d91c4177SJohn PowellCPU_FLAG_LIST += ERRATA_A710_1917258
575*d91c4177SJohn Powell
576e444763dSBoyan Karatotev# Flag to apply erratum 1987031 workaround during reset. This erratum applies
577e444763dSBoyan Karatotev# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
578e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_1987031
579e444763dSBoyan Karatotev
580e444763dSBoyan Karatotev# Flag to apply erratum 2081180 workaround during reset. This erratum applies
581e444763dSBoyan Karatotev# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
582e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2081180
583e444763dSBoyan Karatotev
584e444763dSBoyan Karatotev# Flag to apply erratum 2083908 workaround during reset. This erratum applies
585e444763dSBoyan Karatotev# to revision r2p0 of the Cortex-A710 cpu and is still open.
586e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2083908
587e444763dSBoyan Karatotev
588e444763dSBoyan Karatotev# Flag to apply erratum 2055002 workaround during reset. This erratum applies
589e444763dSBoyan Karatotev# to revision r1p0, r2p0 of the Cortex-A710 cpu and is still open.
590e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2055002
591e444763dSBoyan Karatotev
592e444763dSBoyan Karatotev# Flag to apply erratum 2017096 workaround during reset. This erratum applies
593e444763dSBoyan Karatotev# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
594e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2017096
595e444763dSBoyan Karatotev
596e444763dSBoyan Karatotev# Flag to apply erratum 2267065 workaround during reset. This erratum applies
597e444763dSBoyan Karatotev# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
598e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2267065
599e444763dSBoyan Karatotev
600e444763dSBoyan Karatotev# Flag to apply erratum 2136059 workaround during reset. This erratum applies
601e444763dSBoyan Karatotev# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
602e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2136059
603e444763dSBoyan Karatotev
604e444763dSBoyan Karatotev# Flag to apply erratum 2147715 workaround during reset. This erratum applies
605e444763dSBoyan Karatotev# to revision r2p0 of the Cortex-A710 CPU and is fixed in revision r2p1.
606e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2147715
607e444763dSBoyan Karatotev
608e444763dSBoyan Karatotev# Flag to apply erratum 2216384 workaround during reset. This erratum applies
609e444763dSBoyan Karatotev# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
610e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2216384
611e444763dSBoyan Karatotev
612e444763dSBoyan Karatotev# Flag to apply erratum 2282622 workaround during reset. This erratum applies
613e444763dSBoyan Karatotev# to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is still
614e444763dSBoyan Karatotev# open.
615e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2282622
616e444763dSBoyan Karatotev
617e444763dSBoyan Karatotev# Flag to apply erratum 2291219 workaround during reset. This erratum applies
618e444763dSBoyan Karatotev# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
619e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2291219
620e444763dSBoyan Karatotev
621e444763dSBoyan Karatotev# Flag to apply erratum 2008768 workaround during reset. This erratum applies
622e444763dSBoyan Karatotev# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
623e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2008768
624e444763dSBoyan Karatotev
625e444763dSBoyan Karatotev# Flag to apply erratum 2371105 workaround during reset. This erratum applies
626e444763dSBoyan Karatotev# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
627e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2371105
628e444763dSBoyan Karatotev
629ab062f05SSona Mathew# Flag to apply erratum 2701952 workaround for non-arm interconnect ip. This
630ab062f05SSona Mathew# erratum applies to revision r0p0, r1p0, r2p0, r2p1 of the Cortex-A710 cpu
631ab062f05SSona Mathew# and is still open.
632ab062f05SSona MathewCPU_FLAG_LIST += ERRATA_A710_2701952
633ab062f05SSona Mathew
634d7bc2cb4SBipin Ravi# Flag to apply erratum 2742423 workaround during reset. This erratum applies
635d7bc2cb4SBipin Ravi# to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is still
636d7bc2cb4SBipin Ravi# open.
637d7bc2cb4SBipin RaviCPU_FLAG_LIST += ERRATA_A710_2742423
638d7bc2cb4SBipin Ravi
639e444763dSBoyan Karatotev# Flag to apply erratum 2768515 workaround during power down. This erratum
640e444763dSBoyan Karatotev# applies to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is
641e444763dSBoyan Karatotev# still open.
642e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2768515
643e444763dSBoyan Karatotev
644c9508d6aSSona Mathew# Flag to apply erratum 2778471 workaround during reset. This erratum applies
645c9508d6aSSona Mathew# to revisions r0p0, r1p0, r2p0, r2p1 of the Cortex-A710 cpu and is still
646c9508d6aSSona Mathew# open.
647c9508d6aSSona MathewCPU_FLAG_LIST += ERRATA_A710_2778471
648c9508d6aSSona Mathew
649463b5b4aSGovindraj Raja# Flag to apply erratum  3701772 workaround during context save/restore of
650463b5b4aSGovindraj Raja# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r2p0, r2p1
651463b5b4aSGovindraj Raja# of the Cortex-A710 cpu and is still open.
652463b5b4aSGovindraj RajaCPU_FLAG_LIST += ERRATA_A710_3701772
653463b5b4aSGovindraj Raja
654e444763dSBoyan Karatotev# Flag to apply erratum 2002655 workaround during reset. This erratum applies
655d6d34b39SArvind Ram Prakash# to revisions r0p0 of the Neoverse-N2 cpu and is fixed in r0p1.
656e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2002655
657e444763dSBoyan Karatotev
65874bfe31fSBipin Ravi# Flag to apply erratum 2009478 workaround during powerdown. This erratum
65974bfe31fSBipin Ravi# applies to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1.
66074bfe31fSBipin RaviCPU_FLAG_LIST += ERRATA_N2_2009478
66174bfe31fSBipin Ravi
662e444763dSBoyan Karatotev# Flag to apply erratum 2067956 workaround during reset. This erratum applies
663d6d34b39SArvind Ram Prakash# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
664e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2067956
665e444763dSBoyan Karatotev
666e444763dSBoyan Karatotev# Flag to apply erratum 2025414 workaround during reset. This erratum applies
667d6d34b39SArvind Ram Prakash# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
668e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2025414
669e444763dSBoyan Karatotev
670e444763dSBoyan Karatotev# Flag to apply erratum 2189731 workaround during reset. This erratum applies
671d6d34b39SArvind Ram Prakash# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
672e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2189731
673e444763dSBoyan Karatotev
674e444763dSBoyan Karatotev# Flag to apply erratum 2138956 workaround during reset. This erratum applies
675d6d34b39SArvind Ram Prakash# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
676e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2138956
677e444763dSBoyan Karatotev
678e444763dSBoyan Karatotev# Flag to apply erratum 2242415 workaround during reset. This erratum applies
679d6d34b39SArvind Ram Prakash# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
680e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2242415
681e444763dSBoyan Karatotev
682e444763dSBoyan Karatotev# Flag to apply erratum 2138958 workaround during reset. This erratum applies
683d6d34b39SArvind Ram Prakash# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
684e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2138958
685e444763dSBoyan Karatotev
686e444763dSBoyan Karatotev# Flag to apply erratum 2242400 workaround during reset. This erratum applies
687d6d34b39SArvind Ram Prakash# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
688e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2242400
689e444763dSBoyan Karatotev
690e444763dSBoyan Karatotev# Flag to apply erratum 2280757 workaround during reset. This erratum applies
691d6d34b39SArvind Ram Prakash# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
692e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2280757
693e444763dSBoyan Karatotev
69468085ad4SBipin Ravi# Flag to apply erratum 2326639 workaroud during powerdown. This erratum
695e444763dSBoyan Karatotev# applies to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
696e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2326639
697e444763dSBoyan Karatotev
69868085ad4SBipin Ravi# Flag to apply erratum 2340933 workaroud during reset. This erratum
69968085ad4SBipin Ravi# applies to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
70068085ad4SBipin RaviCPU_FLAG_LIST += ERRATA_N2_2340933
70168085ad4SBipin Ravi
7026cb8be17SBipin Ravi# Flag to apply erratum 2346952 workaround during reset. This erratum applies
7036cb8be17SBipin Ravi# to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
7046cb8be17SBipin RaviCPU_FLAG_LIST += ERRATA_N2_2346952
7056cb8be17SBipin Ravi
706e444763dSBoyan Karatotev# Flag to apply erratum 2376738 workaround during reset. This erratum applies
707d6d34b39SArvind Ram Prakash# to revision r0p0, r0p1, r0p2, r0p3 of the Neoverse N2 cpu and is still open.
708e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2376738
709e444763dSBoyan Karatotev
710e444763dSBoyan Karatotev# Flag to apply erratum 2388450 workaround during reset. This erratum applies
711e444763dSBoyan Karatotev# to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1.
712e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2388450
713e444763dSBoyan Karatotev
714ab062f05SSona Mathew# Flag to apply erratum 2728475 workaround for non-arm interconnect ip. This
715ab062f05SSona Mathew# erratum applies to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in
716ab062f05SSona Mathew# r0p3.
717ab062f05SSona MathewCPU_FLAG_LIST += ERRATA_N2_2728475
718ab062f05SSona Mathew
719eb44035cSArvind Ram Prakash# Flag to apply erratum 2743014 workaround during reset. This erratum applies
720eb44035cSArvind Ram Prakash# to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
721eb44035cSArvind Ram PrakashCPU_FLAG_LIST += ERRATA_N2_2743014
722eb44035cSArvind Ram Prakash
723e444763dSBoyan Karatotev# Flag to apply erratum 2743089 workaround during during powerdown. This erratum
724e444763dSBoyan Karatotev# applies to all revisions <= r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
725e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2743089
726e444763dSBoyan Karatotev
72712d28067SArvind Ram Prakash# Flag to apply erratum 2779511 workaround during reset. This erratum applies
72812d28067SArvind Ram Prakash# to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
72912d28067SArvind Ram PrakashCPU_FLAG_LIST += ERRATA_N2_2779511
73012d28067SArvind Ram Prakash
731adea6e52SGovindraj Raja# Flag to apply erratum 3701773 workaround during context save/restore of
732adea6e52SGovindraj Raja# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1, r0p2 and r0p3
733adea6e52SGovindraj Raja# of the Neoverse N2 cpu and is still open.
734adea6e52SGovindraj RajaCPU_FLAG_LIST += ERRATA_N2_3701773
735adea6e52SGovindraj Raja
736fded8392SGovindraj Raja# Flag to apply erratum 3699563 workaround during context save/restore of
737fded8392SGovindraj Raja# ICH_VMCR_EL2 reg. This erratum applies to revision r0p0 of the Neoverse N3
738fded8392SGovindraj Raja# cpu and is still open.
739fded8392SGovindraj RajaCPU_FLAG_LIST += ERRATA_N3_3699563
740fded8392SGovindraj Raja
741e444763dSBoyan Karatotev# Flag to apply erratum 2002765 workaround during reset. This erratum applies
742e444763dSBoyan Karatotev# to revisions r0p0, r1p0, and r2p0 of the Cortex-X2 cpu and is still open.
743e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2002765
744e444763dSBoyan Karatotev
745e444763dSBoyan Karatotev# Flag to apply erratum 2083908 workaround during reset. This erratum applies
746e444763dSBoyan Karatotev# to revision r2p0 of the Cortex-X2 cpu and is still open.
747e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2083908
748e444763dSBoyan Karatotev
749e444763dSBoyan Karatotev# Flag to apply erratum 2017096 workaround during reset. This erratum applies
750e444763dSBoyan Karatotev# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
751e444763dSBoyan Karatotev# r2p1.
752e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2017096
753e444763dSBoyan Karatotev
754e444763dSBoyan Karatotev# Flag to apply erratum 2081180 workaround during reset. This erratum applies
755e444763dSBoyan Karatotev# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
756e444763dSBoyan Karatotev# r2p1.
757e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2081180
758e444763dSBoyan Karatotev
759e444763dSBoyan Karatotev# Flag to apply erratum 2216384 workaround during reset. This erratum applies
760e444763dSBoyan Karatotev# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
761e444763dSBoyan Karatotev# r2p1.
762e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2216384
763e444763dSBoyan Karatotev
764e444763dSBoyan Karatotev# Flag to apply erratum 2147715 workaround during reset. This erratum applies
765e444763dSBoyan Karatotev# only to revision r2p0 of the Cortex-X2 cpu, it is fixed in r2p1.
766e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2147715
767e444763dSBoyan Karatotev
768e444763dSBoyan Karatotev# Flag to apply erratum 2282622 workaround during reset. This erratum applies
769e444763dSBoyan Karatotev# to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still
770e444763dSBoyan Karatotev# open.
771e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2282622
772e444763dSBoyan Karatotev
773e444763dSBoyan Karatotev# Flag to apply erratum 2371105 workaround during reset. This erratum applies
774e444763dSBoyan Karatotev# to revision r0p0, r1p0 and r2p0 of the Cortex-X2 cpu and is fixed in r2p1.
775e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2371105
776e444763dSBoyan Karatotev
777ab062f05SSona Mathew# Flag to apply erratum 2701952 workaround for non-arm interconnect ip. This
778ab062f05SSona Mathew# erratum applies to revisions r0p0, r1p0, r2p0, r2p1 of the Cortex-x2 cpu
779ab062f05SSona Mathew# and is still open.
780ab062f05SSona MathewCPU_FLAG_LIST += ERRATA_X2_2701952
781ab062f05SSona Mathew
782fe06e118SBipin Ravi# Flag to apply erratum 2742423 workaround during reset. This erratum applies
783fe06e118SBipin Ravi# to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still open.
784fe06e118SBipin RaviCPU_FLAG_LIST += ERRATA_X2_2742423
785fe06e118SBipin Ravi
786e444763dSBoyan Karatotev# Flag to apply erratum 2768515 workaround during power down. This erratum
787e444763dSBoyan Karatotev# applies to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is
788e444763dSBoyan Karatotev# still open.
789e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2768515
790e444763dSBoyan Karatotev
791b01a93d7SSona Mathew# Flag to apply erratum 2778471 workaround during reset. This erratum applies
792b01a93d7SSona Mathew# to revisions r0p0, r1p0, r2p0, r2p1 of the Cortex-X2 cpu and it is still open.
793b01a93d7SSona MathewCPU_FLAG_LIST += ERRATA_X2_2778471
794b01a93d7SSona Mathew
795ae6c7c97SGovindraj Raja# Flag to apply erratum 3701772 workaround during context save/restore of
796ae6c7c97SGovindraj Raja# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r2p0 and r2p1
797ae6c7c97SGovindraj Raja# of the Cortex-X2 cpu and is still open.
798ae6c7c97SGovindraj RajaCPU_FLAG_LIST += ERRATA_X2_3701772
799ae6c7c97SGovindraj Raja
800a65c5ba3SBipin Ravi# Flag to apply erratum 2266875 workaround during reset. This erratum applies
801a65c5ba3SBipin Ravi# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
802a65c5ba3SBipin RaviCPU_FLAG_LIST += ERRATA_X3_2266875
803a65c5ba3SBipin Ravi
8043f9df2c6SBipin Ravi# Flag to apply erratum 2302506 workaround during reset. This erratum applies
8053f9df2c6SBipin Ravi# to revisions r0p0, r1p0 and r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
8063f9df2c6SBipin RaviCPU_FLAG_LIST += ERRATA_X3_2302506
8073f9df2c6SBipin Ravi
808e444763dSBoyan Karatotev# Flag to apply erratum 2313909 workaround on powerdown. This erratum applies
809e444763dSBoyan Karatotev# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
810e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X3_2313909
811e444763dSBoyan Karatotev
8127f69a406SBipin Ravi# Flag to apply erratum 2372204 workaround during reset. This erratum applies
8137f69a406SBipin Ravi# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
8147f69a406SBipin RaviCPU_FLAG_LIST += ERRATA_X3_2372204
8157f69a406SBipin Ravi
816e444763dSBoyan Karatotev# Flag to apply erratum 2615812 workaround on powerdown. This erratum applies
817f589a2a5SSona Mathew# to revisions r0p0, r1p0, r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
818e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X3_2615812
819e444763dSBoyan Karatotev
820c1aa3fa5SBipin Ravi# Flag to apply erratum 2641945 workaround on reset. This erratum applies
821c1aa3fa5SBipin Ravi# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
822c1aa3fa5SBipin RaviCPU_FLAG_LIST += ERRATA_X3_2641945
823c1aa3fa5SBipin Ravi
824106c4283SSona Mathew# Flag to apply erratum 2701951 workaround for non-arm interconnect ip.
825106c4283SSona Mathew# This erratum applies to revisions r0p0, r1p0, and r1p1. Its is fixed in r1p2.
826106c4283SSona MathewCPU_FLAG_LIST += ERRATA_X3_2701951
827106c4283SSona Mathew
8285b0e4438SSona Mathew# Flag to apply erratum 2742421 workaround on reset. This erratum applies
8295b0e4438SSona Mathew# to revisions r0p0, r1p0 and r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
8305b0e4438SSona MathewCPU_FLAG_LIST += ERRATA_X3_2742421
8315b0e4438SSona Mathew
832f43e9f57SHarrison Mutai# Flag to apply erratum 2743088 workaround on powerdown. This erratum applies
833f43e9f57SHarrison Mutai# to revisions r0p0, r1p0 and r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
834f43e9f57SHarrison MutaiCPU_FLAG_LIST += ERRATA_X3_2743088
835f43e9f57SHarrison Mutai
83677feb745SGovindraj Raja# Flag to apply erratum 3701769 workaround during context save/restore of
83777feb745SGovindraj Raja# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r1p1 and r1p2
83877feb745SGovindraj Raja# of the Cortex-X3 cpu and is still open.
83977feb745SGovindraj RajaCPU_FLAG_LIST += ERRATA_X3_3701769
84077feb745SGovindraj Raja
841355ce0a4SSona Mathew# Flag to apply erratum 2779509 workaround on reset. This erratum applies
842355ce0a4SSona Mathew# to revisions r0p0, r1p0, r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
843355ce0a4SSona MathewCPU_FLAG_LIST += ERRATA_X3_2779509
844355ce0a4SSona Mathew
845cc41b56fSSona Mathew# Flag to apply erratum 2701112 workaround for platforms that do not use an
846cc41b56fSSona Mathew# Arm interconnect IP. This erratum applies to revisions r0p0 of the Cortex-X4
847cc41b56fSSona Mathew# cpu and is fixed in r0p1.
848cc41b56fSSona MathewCPU_FLAG_LIST += ERRATA_X4_2701112
849cc41b56fSSona Mathew
8504a97ff51SArvind Ram Prakash# Flag to apply erratum 2726228 workaround during warmboot. This erratum
8514a97ff51SArvind Ram Prakash# applies to all revisions <= r0p1 of the Cortex-X4 cpu, it is fixed in r0p2.
8524a97ff51SArvind Ram PrakashCPU_FLAG_LIST += ERRATA_X4_2726228
8534a97ff51SArvind Ram Prakash
854c833ca66SBipin Ravi# Flag to apply erratum 2740089 workaround during powerdown. This erratum
855c833ca66SBipin Ravi# applies to all revisions <= r0p1 of the Cortex-X4 cpu, it is fixed in r0p2.
856c833ca66SBipin RaviCPU_FLAG_LIST += ERRATA_X4_2740089
857c833ca66SBipin Ravi
85847312115SSona Mathew# Flag to apply erratum 2763018 workaround on reset. This erratum applies
85947312115SSona Mathew# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
86047312115SSona MathewCPU_FLAG_LIST += ERRATA_X4_2763018
86147312115SSona Mathew
8621e4480bbSSona Mathew# Flag to apply erratum 2816013 workaround on reset. This erratum applies
8631e4480bbSSona Mathew# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
8641e4480bbSSona MathewCPU_FLAG_LIST += ERRATA_X4_2816013
8651e4480bbSSona Mathew
866609d08a8SArvind Ram Prakash# Flag to apply erratum 2897503 workaround on reset. This erratum applies
867609d08a8SArvind Ram Prakash# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
868609d08a8SArvind Ram PrakashCPU_FLAG_LIST += ERRATA_X4_2897503
869609d08a8SArvind Ram Prakash
870cc461661SArvind Ram Prakash# Flag to apply erratum 2923985 workaround on reset. This erratum applies
871cc461661SArvind Ram Prakash# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
872cc461661SArvind Ram PrakashCPU_FLAG_LIST += ERRATA_X4_2923985
873cc461661SArvind Ram Prakash
87409c1edb8SGovindraj Raja# Flag to apply erratum 2957258 workaround to avoid incorrect virtualization of
87509c1edb8SGovindraj Raja# MPIDR_EL1/VMPIDR_EL2 and MIDR_EL1/VPIDR_EL2 when reading in EL2/EL3. This
87609c1edb8SGovindraj Raja# erratum applies to revisions r0p0, r0p1 of the Cortex-X4 cpu. It is fixed
87709c1edb8SGovindraj Raja# in r0p2.
87809c1edb8SGovindraj RajaCPU_FLAG_LIST += ERRATA_X4_2957258
87909c1edb8SGovindraj Raja
880db7eb688SRyan Everett# Flag to apply erratum 3076789 workaround on reset. This erratum applies
881db7eb688SRyan Everett# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
882db7eb688SRyan EverettCPU_FLAG_LIST += ERRATA_X4_3076789
883db7eb688SRyan Everett
88438401c53SGovindraj Raja# Flag to apply erratum 3701758 workaround during context save/restore of
88538401c53SGovindraj Raja# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1, r0p2 and r0p3
88638401c53SGovindraj Raja# of the Cortex-X4 cpu and is still open.
88738401c53SGovindraj RajaCPU_FLAG_LIST += ERRATA_X4_3701758
88838401c53SGovindraj Raja
88929bda258SGovindraj Raja# Flag to apply erratum 2963999 workaround during reset. This erratum applies
89029bda258SGovindraj Raja# to revisions r0p0 of the Cortex-X925 cpu and is fixed in r0p1.
89129bda258SGovindraj RajaCPU_FLAG_LIST += ERRATA_X925_2963999
89229bda258SGovindraj Raja
893511148efSGovindraj Raja# Flag to apply erratum 3701747 workaround during context save/restore of
894511148efSGovindraj Raja# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1 of the
895511148efSGovindraj Raja# Cortex-X925 cpu and is still open.
896511148efSGovindraj RajaCPU_FLAG_LIST += ERRATA_X925_3701747
897511148efSGovindraj Raja
898e444763dSBoyan Karatotev# Flag to apply erratum 1922240 workaround during reset. This erratum applies
899e444763dSBoyan Karatotev# to revision r0p0 of the Cortex-A510 cpu and is fixed in r0p1.
900e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_1922240
901e444763dSBoyan Karatotev
902e444763dSBoyan Karatotev# Flag to apply erratum 2288014 workaround during reset. This erratum applies
903e444763dSBoyan Karatotev# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0 of the Cortex-A510 cpu and is
904e444763dSBoyan Karatotev# fixed in r1p1.
905e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2288014
906e444763dSBoyan Karatotev
907e444763dSBoyan Karatotev# Flag to apply erratum 2042739 workaround during reset. This erratum applies
908e444763dSBoyan Karatotev# to revisions r0p0, r0p1 and r0p2 of the Cortex-A510 cpu and is fixed in r0p3.
909e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2042739
910e444763dSBoyan Karatotev
911e444763dSBoyan Karatotev# Flag to apply erratum 2041909 workaround during reset. This erratum applies
912e444763dSBoyan Karatotev# to revision r0p2 of the Cortex-A510 cpu and is fixed in r0p3. The issue is
913e444763dSBoyan Karatotev# present in r0p0 and r0p1 but there is no workaround for those revisions.
914e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2041909
915e444763dSBoyan Karatotev
9166e86475dSSona Mathew# Flag to aply erratum 2080326 workaround during reset. This erratum applies
9176e86475dSSona Mathew# to revision r0p2 of the Cortex-A510 cpu and is fixed in r0p3. The issue is
9186e86475dSSona Mathew# also present in r0p0 and r0p1 but there is no workaround for those revisions.
9196e86475dSSona MathewCPU_FLAG_LIST += ERRATA_A510_2080326
9206e86475dSSona Mathew
921e444763dSBoyan Karatotev# Flag to apply erratum 2250311 workaround during reset. This erratum applies
922e444763dSBoyan Karatotev# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
923e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2250311
924e444763dSBoyan Karatotev
925e444763dSBoyan Karatotev# Flag to apply erratum 2218950 workaround during reset. This erratum applies
926e444763dSBoyan Karatotev# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
927e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2218950
928e444763dSBoyan Karatotev
929e444763dSBoyan Karatotev# Flag to apply erratum 2172148 workaround during reset. This erratum applies
930e444763dSBoyan Karatotev# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
931e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2172148
932e444763dSBoyan Karatotev
933e444763dSBoyan Karatotev# Flag to apply erratum 2347730 workaround during reset. This erratum applies
934e444763dSBoyan Karatotev# to revisions r0p0, r0p1, r0p2, r0p3, r1p0 and r1p1 of the Cortex-A510 CPU,
935e444763dSBoyan Karatotev# and is fixed in r1p2.
936e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2347730
937e444763dSBoyan Karatotev
938e444763dSBoyan Karatotev# Flag to apply erratum 2371937 workaround during reset. This erratum applies
939e444763dSBoyan Karatotev# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2.
940e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2371937
941e444763dSBoyan Karatotev
942e444763dSBoyan Karatotev# Flag to apply erratum 2666669 workaround during reset. This erratum applies
943e444763dSBoyan Karatotev# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2.
944e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2666669
945e444763dSBoyan Karatotev
946e444763dSBoyan Karatotev# Flag to apply erratum 2684597 workaround during powerdown. This erratum
947e444763dSBoyan Karatotev# applies to revision r0p0, r0p1, r0p2, r0p3, r1p0, r1p1 and r1p2 of the
948e444763dSBoyan Karatotev# Cortex-A510 cpu and is fixed in r1p3.
949e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2684597
950e444763dSBoyan Karatotev
951f2bd3528SJohn Powell# Flag to apply erratum 2971420 workaround during context switch. This erratum
952f2bd3528SJohn Powell# applies to revisions r0p1, r0p2, r0p3, r1p0, r1p1, r1p2 and r1p3 of the
953f2bd3528SJohn Powell# Cortex-A510 cpu and is still open.
954f2bd3528SJohn PowellCPU_FLAG_LIST += ERRATA_A510_2971420
955f2bd3528SJohn Powell
956f03bfc30SSona Mathew# Flag to apply erratum 2630792 workaround during reset. This erratum applies
957f03bfc30SSona Mathew# to revisions r0p0, r0p1 of the Cortex-A520 cpu and is still open.
958f03bfc30SSona MathewCPU_FLAG_LIST += ERRATA_A520_2630792
959f03bfc30SSona Mathew
96034db3531SArvind Ram Prakash# Flag to apply erratum 2858100 workaround during reset. This erratum
96134db3531SArvind Ram Prakash# applies to revision r0p0 and r0p1 of the Cortex-A520 cpu and is still open.
96234db3531SArvind Ram PrakashCPU_FLAG_LIST += ERRATA_A520_2858100
96334db3531SArvind Ram Prakash
9644a97ff51SArvind Ram Prakash# Flag to apply erratum 2938996 workaround during reset. This erratum
9654a97ff51SArvind Ram Prakash# applies to revision r0p0 and r0p1 of the Cortex-A520 cpu and is fixed in r0p2.
9664a97ff51SArvind Ram PrakashCPU_FLAG_LIST += ERRATA_A520_2938996
9674a97ff51SArvind Ram Prakash
968c0f8ce53SBipin Ravi# Flag to apply erratum 2618597 workaround during reset. This erratum applies
969c0f8ce53SBipin Ravi# to revisions r0p0 and r0p1. It is fixed in r0p2.
970c0f8ce53SBipin RaviCPU_FLAG_LIST += ERRATA_V2_2618597
971c0f8ce53SBipin Ravi
972912c4090SBipin Ravi# Flag to apply erratum 2662553 workaround during reset. This erratum applies
973912c4090SBipin Ravi# to revisions r0p0 and r0p1. It is fixed in r0p2.
974912c4090SBipin RaviCPU_FLAG_LIST += ERRATA_V2_2662553
975912c4090SBipin Ravi
976ab062f05SSona Mathew# Flag to apply erratum 2719103 workaround for non-arm interconnect ip. This
977ab062f05SSona Mathew# erratum applies to revisions r0p0, rop1. Fixed in r0p2.
978ab062f05SSona MathewCPU_FLAG_LIST += ERRATA_V2_2719103
979ab062f05SSona Mathew
980b0114025SBipin Ravi# Flag to apply erratum 2719105 workaround during reset. This erratum applies
981b0114025SBipin Ravi# to revisions r0p0 and r0p1. It is fixed in r0p2.
982b0114025SBipin RaviCPU_FLAG_LIST += ERRATA_V2_2719105
983b0114025SBipin Ravi
98458dd153cSBipin Ravi# Flag to apply erratum 2743011 workaround during reset. This erratum applies
98558dd153cSBipin Ravi# to revisions r0p0 and r0p1. It is fixed in r0p2.
98658dd153cSBipin RaviCPU_FLAG_LIST += ERRATA_V2_2743011
98758dd153cSBipin Ravi
988ff342643SBipin Ravi# Flag to apply erratum 2779510 workaround during reset. This erratum applies
989ff342643SBipin Ravi# to revisions r0p0 and r0p1. It is fixed in r0p2.
990ff342643SBipin RaviCPU_FLAG_LIST += ERRATA_V2_2779510
991ff342643SBipin Ravi
99240c81ed5SMoritz Fischer# Flag to apply erratum 2801372 workaround for all configurations.
99340c81ed5SMoritz Fischer# This erratum applies to revisions r0p0, r0p1. Fixed in r0p2.
99440c81ed5SMoritz FischerCPU_FLAG_LIST += ERRATA_V2_2801372
99540c81ed5SMoritz Fischer
99653b3cd25SBipin Ravi# Flag to apply erratum 2331818 workaround during reset. This erratum applies
99753b3cd25SBipin Ravi# to revisions r0p0 and r1p0. It is fixed in r1p1.
99853b3cd25SBipin RaviCPU_FLAG_LIST += ERRATA_A715_2331818
99953b3cd25SBipin Ravi
100033c665aeSHarrison Mutai# Flag to apply erratum 2344187 workaround during reset. This erratum applies
100133c665aeSHarrison Mutai# to revisions r0p0, and r1p0. It is fixed in r1p1.
100233c665aeSHarrison MutaiCPU_FLAG_LIST += ERRATA_A715_2344187
100333c665aeSHarrison Mutai
100415a04615SSona Mathew# Flag to apply erratum 2413290 workaround during reset. This erratum applies
100515a04615SSona Mathew# only to revision r1p0. It is fixed in r1p1.
100615a04615SSona MathewCPU_FLAG_LIST += ERRATA_A715_2413290
100715a04615SSona Mathew
10081f732471SBipin Ravi# Flag to apply erratum 2420947 workaround during reset. This erratum applies
10091f732471SBipin Ravi# only to revision r1p0. It is fixed in r1p1.
10101f732471SBipin RaviCPU_FLAG_LIST += ERRATA_A715_2420947
10111f732471SBipin Ravi
1012262dc9f7SBipin Ravi# Flag to apply erratum 2429384 workaround during reset. This erratum applies
1013262dc9f7SBipin Ravi# to revision r1p0. There is no workaround for r0p0. It is fixed in r1p1.
1014262dc9f7SBipin RaviCPU_FLAG_LIST += ERRATA_A715_2429384
1015262dc9f7SBipin Ravi
10166a6b2823SBipin Ravi# Flag to apply erratum 2561034 workaround during reset. This erratum applies
10176a6b2823SBipin Ravi# only to revision r1p0. It is fixed in r1p1.
10186a6b2823SBipin RaviCPU_FLAG_LIST += ERRATA_A715_2561034
10196a6b2823SBipin Ravi
102010134e35SBipin Ravi# Flag to apply erratum 2728106 workaround during reset. This erratum applies
102110134e35SBipin Ravi# only to revision r0p0, r1p0 and r1p1. It is fixed in r1p2.
102210134e35SBipin RaviCPU_FLAG_LIST += ERRATA_A715_2728106
102310134e35SBipin Ravi
1024fcf2ab71SJohn Powell# Flag to apply erratum 2804830 workaround during reset. This erratum applies
1025fcf2ab71SJohn Powell# to revisions r0p0, r1p0, r1p1 and r1p2. It is fixed in r1p3.
1026fcf2ab71SJohn PowellCPU_FLAG_LIST += ERRATA_A715_2804830
1027fcf2ab71SJohn Powell
102826437afdSGovindraj Raja# Flag to apply erratum 3699560 workaround during context save/restore of
102926437afdSGovindraj Raja# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r1p2, r1p3
103026437afdSGovindraj Raja# of the Cortex-A715 cpu and is still open.
103126437afdSGovindraj RajaCPU_FLAG_LIST += ERRATA_A715_3699560
103226437afdSGovindraj Raja
1033b1bde25eSArvind Ram Prakash# Flag to apply erratum 2792132 workaround during reset. This erratum applies
1034b1bde25eSArvind Ram Prakash# to revisions r0p0 and r0p1. It is fixed in r0p2.
1035b1bde25eSArvind Ram PrakashCPU_FLAG_LIST += ERRATA_A720_2792132
1036b1bde25eSArvind Ram Prakash
103712140908SSona Mathew# Flag to apply erratum 2844092 workaround during reset. This erratum applies
103812140908SSona Mathew# to revisions r0p0 and r0p1. It is fixed in r0p2.
103912140908SSona MathewCPU_FLAG_LIST += ERRATA_A720_2844092
104012140908SSona Mathew
1041152f4cfaSBipin Ravi# Flag to apply erratum 2926083 workaround during reset. This erratum applies
1042152f4cfaSBipin Ravi# to revisions r0p0 and r0p1. It is fixed in r0p2.
1043152f4cfaSBipin RaviCPU_FLAG_LIST += ERRATA_A720_2926083
1044152f4cfaSBipin Ravi
10457385213eSBipin Ravi# Flag to apply erratum 2940794 workaround during reset. This erratum applies
10467385213eSBipin Ravi# to revisions r0p0 and r0p1. It is fixed in r0p2.
10477385213eSBipin RaviCPU_FLAG_LIST += ERRATA_A720_2940794
10487385213eSBipin Ravi
1049050c4a38SGovindraj Raja# Flag to apply erratum 3699561 workaround during context save/restore of
1050050c4a38SGovindraj Raja# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1, r0p2 of
1051050c4a38SGovindraj Raja# the Cortex-A720 cpu and is still open.
1052050c4a38SGovindraj RajaCPU_FLAG_LIST += ERRATA_A720_3699561
1053050c4a38SGovindraj Raja
1054af5ae9a7SGovindraj Raja# Flag to apply erratum 3699562 workaround during context save/restore of
1055af5ae9a7SGovindraj Raja# ICH_VMCR_EL2 reg. This erratum applies to revision r0p0 the Cortex-A720-AE
1056af5ae9a7SGovindraj Raja# cpu and is still open.
1057af5ae9a7SGovindraj RajaCPU_FLAG_LIST += ERRATA_A720_AE_3699562
1058af5ae9a7SGovindraj Raja
1059d732300bSGovindraj Raja# Flag to apply erratum 3699564 workaround during context save/restore of
1060d732300bSGovindraj Raja# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1 of
1061d732300bSGovindraj Raja# the Cortex-A725 cpu and is fixed in r0p2
1062d732300bSGovindraj RajaCPU_FLAG_LIST += ERRATA_A725_3699564
1063d732300bSGovindraj Raja
1064e444763dSBoyan Karatotev# Flag to apply DSU erratum 798953. This erratum applies to DSUs revision r0p0.
1065e444763dSBoyan Karatotev# Applying the workaround results in higher DSU power consumption on idle.
1066e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_DSU_798953
1067e444763dSBoyan Karatotev
1068e444763dSBoyan Karatotev# Flag to apply DSU erratum 936184. This erratum applies to DSUs containing
1069050c4a38SGovindraj Raja# the ACP interface and revision < r0p0. Applying the workaround results in
1070e444763dSBoyan Karatotev# higher DSU power consumption on idle.
1071e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_DSU_936184
1072e444763dSBoyan Karatotev
1073e444763dSBoyan Karatotev# Flag to apply DSU erratum 2313941. This erratum applies to DSUs revisions
1074e444763dSBoyan Karatotev# r0p0, r1p0, r2p0, r2p1, r3p0, r3p1 and is still open. Applying the workaround
1075e444763dSBoyan Karatotev# results in higher DSU power consumption on idle.
1076e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_DSU_2313941
1077f2d6b4eeSManish Pandey
1078fe007b2eSDimitris Papastamosifneq (${DYNAMIC_WORKAROUND_CVE_2018_3639},0)
1079fe007b2eSDimitris Papastamos	ifeq (${WORKAROUND_CVE_2018_3639},0)
1080fe007b2eSDimitris Papastamos		$(error "Error: WORKAROUND_CVE_2018_3639 must be 1 if DYNAMIC_WORKAROUND_CVE_2018_3639 is 1")
1081fe007b2eSDimitris Papastamos	endif
1082fe007b2eSDimitris Papastamosendif
1083fe007b2eSDimitris Papastamos
1084e444763dSBoyan Karatotev# process all flags
1085593ae354SBoyan Karatotevifeq (${ENABLE_ERRATA_ALL},1)
1086593ae354SBoyan Karatotev$(eval $(call default_ones, $(CPU_FLAG_LIST)))
1087593ae354SBoyan Karatotevelse
1088e444763dSBoyan Karatotev$(eval $(call default_zeros, $(CPU_FLAG_LIST)))
1089593ae354SBoyan Karatotevendif
1090e444763dSBoyan Karatotev$(eval $(call add_defines, $(CPU_FLAG_LIST)))
1091e444763dSBoyan Karatotev$(eval $(call assert_booleans, $(CPU_FLAG_LIST)))
10927e3273e8SBipin Ravi
1093a94cc374SDouglas Raillard# Errata build flags
1094a94cc374SDouglas Raillardifneq (${ERRATA_A53_843419},0)
1095c2b8806fSDouglas RaillardTF_LDFLAGS_aarch64	+= --fix-cortex-a53-843419
1096a94cc374SDouglas Raillardendif
1097a94cc374SDouglas Raillard
1098a94cc374SDouglas Raillardifneq (${ERRATA_A53_835769},0)
1099a94cc374SDouglas RaillardTF_CFLAGS_aarch64	+= -mfix-cortex-a53-835769
1100c2b8806fSDouglas RaillardTF_LDFLAGS_aarch64	+= --fix-cortex-a53-835769
1101a94cc374SDouglas Raillardendif
1102e1c49333SManish V Badarkhe
1103e1c49333SManish V Badarkheifneq ($(filter 1,${ERRATA_A53_1530924} ${ERRATA_A55_1530923}	\
1104e1c49333SManish V Badarkhe	${ERRATA_A57_1319537} ${ERRATA_A72_1319367} ${ERRATA_A76_1165522}),)
1105e1c49333SManish V BadarkheERRATA_SPECULATIVE_AT	:= 1
1106e1c49333SManish V Badarkheelse
1107e1c49333SManish V BadarkheERRATA_SPECULATIVE_AT	:= 0
1108e1c49333SManish V Badarkheendif
1109