xref: /rk3399_ARM-atf/lib/cpus/cpu-ops.mk (revision 4fb7090e72617f87ceb118a61bff8f393cdb31c1)
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
32360460a1SAndre PrzywaraDYNAMIC_WORKAROUND_CVE_2018_3639	?=0
33e444763dSBoyan KaratotevCPU_FLAG_LIST += DYNAMIC_WORKAROUND_CVE_2018_3639
341fe4a9d1SBipin RaviWORKAROUND_CVE_2022_23960		?=1
35e444763dSBoyan KaratotevCPU_FLAG_LIST += WORKAROUND_CVE_2022_23960
3623721794SArvind Ram PrakashWORKAROUND_CVE_2024_7881		?=1
3723721794SArvind Ram PrakashCPU_FLAG_LIST += WORKAROUND_CVE_2024_7881
38f62ad322SDimitris Papastamos
39af65cbb9SSona Mathew# Flag to disable Hardware page aggregation(HPA).
40af65cbb9SSona Mathew# This flag is enabled by default.
41af65cbb9SSona MathewWORKAROUND_CVE_2024_5660		?=1
42af65cbb9SSona MathewCPU_FLAG_LIST += WORKAROUND_CVE_2024_5660
43af65cbb9SSona Mathew
44af65cbb9SSona Mathew
4525bbbd2dSJavier Almansa Sobrino# Flags to indicate internal or external Last level cache
46f2d6b4eeSManish Pandey# By default internal
47e444763dSBoyan KaratotevCPU_FLAG_LIST += NEOVERSE_Nx_EXTERNAL_LLC
48f2d6b4eeSManish Pandey
49e444763dSBoyan Karatotev# CPU Errata Build flags.
50e444763dSBoyan Karatotev# These should be enabled by the platform if the erratum workaround needs to be
51e444763dSBoyan Karatotev# applied.
52cd0ea184SVarun Wadekar
53e444763dSBoyan Karatotev# Flag to apply erratum 794073 workaround when disabling mmu.
54e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A9_794073
555541bb3fSSoby Mathew
56e444763dSBoyan Karatotev# Flag to apply erratum 816470 workaround during power down. This erratum
57e444763dSBoyan Karatotev# applies only to revision >= r3p0 of the Cortex A15 cpu.
58e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A15_816470
5954035fc4SSandrine Bailleux
60e444763dSBoyan Karatotev# Flag to apply erratum 827671 workaround during reset. This erratum applies
61e444763dSBoyan Karatotev# only to revision >= r3p0 of the Cortex A15 cpu.
62e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A15_827671
6354035fc4SSandrine Bailleux
64e444763dSBoyan Karatotev# Flag to apply erratum 852421 workaround during reset. This erratum applies
65e444763dSBoyan Karatotev# only to revision <= r1p2 of the Cortex A17 cpu.
66e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A17_852421
675541bb3fSSoby Mathew
68e444763dSBoyan Karatotev# Flag to apply erratum 852423 workaround during reset. This erratum applies
69e444763dSBoyan Karatotev# only to revision <= r1p2 of the Cortex A17 cpu.
70e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A17_852423
71b8a25bbbSDimitris Papastamos
72e444763dSBoyan Karatotev# Flag to apply erratum 855472 workaround during reset. This erratum applies
73e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A35 cpu.
74e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A35_855472
75fe007b2eSDimitris Papastamos
76e444763dSBoyan Karatotev# Flag to apply erratum 819472 workaround during reset. This erratum applies
77e444763dSBoyan Karatotev# only to revision <= r0p1 of the Cortex A53 cpu.
78e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_819472
791fe4a9d1SBipin Ravi
80e444763dSBoyan Karatotev# Flag to apply erratum 824069 workaround during reset. This erratum applies
81e444763dSBoyan Karatotev# only to revision <= r0p2 of the Cortex A53 cpu.
82e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_824069
83e444763dSBoyan Karatotev
84e444763dSBoyan Karatotev# Flag to apply erratum 826319 workaround during reset. This erratum applies
85e444763dSBoyan Karatotev# only to revision <= r0p2 of the Cortex A53 cpu.
86e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_826319
87e444763dSBoyan Karatotev
88e444763dSBoyan Karatotev# Flag to apply erratum 827319 workaround during reset. This erratum applies
89e444763dSBoyan Karatotev# only to revision <= r0p2 of the Cortex A53 cpu.
90e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_827319
91e444763dSBoyan Karatotev
92e444763dSBoyan Karatotev# Flag to apply erratum 835769 workaround at compile and link time. This
93e444763dSBoyan Karatotev# erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this
94e444763dSBoyan Karatotev# workaround can lead the linker to create "*.stub" sections.
95e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_835769
96e444763dSBoyan Karatotev
97e444763dSBoyan Karatotev# Flag to apply erratum 836870 workaround during reset. This erratum applies
98e444763dSBoyan Karatotev# only to revision <= r0p3 of the Cortex A53 cpu. From r0p4 and onwards, this
99e444763dSBoyan Karatotev# erratum workaround is enabled by default in hardware.
100e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_836870
101e444763dSBoyan Karatotev
102e444763dSBoyan Karatotev# Flag to apply erratum 843419 workaround at link time.
103e444763dSBoyan Karatotev# This erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this
104e444763dSBoyan Karatotev# workaround could lead the linker to emit "*.stub" sections which are 4kB
105e444763dSBoyan Karatotev# aligned.
106e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_843419
107e444763dSBoyan Karatotev
108e444763dSBoyan Karatotev# Flag to apply errata 855873 during reset. This errata applies to all
109e444763dSBoyan Karatotev# revisions of the Cortex A53 CPU, but this firmware workaround only works
110e444763dSBoyan Karatotev# for revisions r0p3 and higher. Earlier revisions are taken care
111e444763dSBoyan Karatotev# of by the rich OS.
112e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_855873
113e444763dSBoyan Karatotev
114e444763dSBoyan Karatotev# Flag to apply erratum 1530924 workaround during reset. This erratum applies
115e444763dSBoyan Karatotev# to all revisions of Cortex A53 cpu.
116e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_1530924
117e444763dSBoyan Karatotev
118e444763dSBoyan Karatotev# Flag to apply erratum 768277 workaround during reset. This erratum applies
119e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A55 cpu.
120e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A55_768277
121e444763dSBoyan Karatotev
122e444763dSBoyan Karatotev# Flag to apply erratum 778703 workaround during reset. This erratum applies
123e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A55 cpu.
124e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A55_778703
125e444763dSBoyan Karatotev
126e444763dSBoyan Karatotev# Flag to apply erratum 798797 workaround during reset. This erratum applies
127e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A55 cpu.
128e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A55_798797
129e444763dSBoyan Karatotev
130e444763dSBoyan Karatotev# Flag to apply erratum 846532 workaround during reset. This erratum applies
131e444763dSBoyan Karatotev# only to revision <= r0p1 of the Cortex A55 cpu.
132e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A55_846532
133e444763dSBoyan Karatotev
134e444763dSBoyan Karatotev# Flag to apply erratum 903758 workaround during reset. This erratum applies
135e444763dSBoyan Karatotev# only to revision <= r0p1 of the Cortex A55 cpu.
136e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A55_903758
137e444763dSBoyan Karatotev
138e444763dSBoyan Karatotev# Flag to apply erratum 1221012 workaround during reset. This erratum applies
139e444763dSBoyan Karatotev# only to revision <= r1p0 of the Cortex A55 cpu.
140e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A55_1221012
141e444763dSBoyan Karatotev
142e444763dSBoyan Karatotev# Flag to apply erratum 1530923 workaround during reset. This erratum applies
143e444763dSBoyan Karatotev# to all revisions of Cortex A55 cpu.
144e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A55_1530923
145e444763dSBoyan Karatotev
146e444763dSBoyan Karatotev# Flag to apply erratum 806969 workaround during reset. This erratum applies
147e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A57 cpu.
148e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_806969
149e444763dSBoyan Karatotev
150e444763dSBoyan Karatotev# Flag to apply erratum 813419 workaround during reset. This erratum applies
151e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A57 cpu.
152e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_813419
153e444763dSBoyan Karatotev
154e444763dSBoyan Karatotev# Flag to apply erratum 813420 workaround during reset. This erratum applies
155e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A57 cpu.
156e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_813420
157e444763dSBoyan Karatotev
158e444763dSBoyan Karatotev# Flag to apply erratum 814670 workaround during reset. This erratum applies
159e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A57 cpu.
160e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_814670
161e444763dSBoyan Karatotev
162e444763dSBoyan Karatotev# Flag to apply erratum 817169 workaround during power down. This erratum
163e444763dSBoyan Karatotev# applies only to revision <= r0p1 of the Cortex A57 cpu.
164e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_817169
165e444763dSBoyan Karatotev
166e444763dSBoyan Karatotev# Flag to apply erratum 826974 workaround during reset. This erratum applies
167e444763dSBoyan Karatotev# only to revision <= r1p1 of the Cortex A57 cpu.
168e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_826974
169e444763dSBoyan Karatotev
170e444763dSBoyan Karatotev# Flag to apply erratum 826977 workaround during reset. This erratum applies
171e444763dSBoyan Karatotev# only to revision <= r1p1 of the Cortex A57 cpu.
172e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_826977
173e444763dSBoyan Karatotev
174e444763dSBoyan Karatotev# Flag to apply erratum 828024 workaround during reset. This erratum applies
175e444763dSBoyan Karatotev# only to revision <= r1p1 of the Cortex A57 cpu.
176e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_828024
177e444763dSBoyan Karatotev
178e444763dSBoyan Karatotev# Flag to apply erratum 829520 workaround during reset. This erratum applies
179e444763dSBoyan Karatotev# only to revision <= r1p2 of the Cortex A57 cpu.
180e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_829520
181e444763dSBoyan Karatotev
182e444763dSBoyan Karatotev# Flag to apply erratum 833471 workaround during reset. This erratum applies
183e444763dSBoyan Karatotev# only to revision <= r1p2 of the Cortex A57 cpu.
184e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_833471
185e444763dSBoyan Karatotev
186e444763dSBoyan Karatotev# Flag to apply erratum 855972 workaround during reset. This erratum applies
187e444763dSBoyan Karatotev# only to revision <= r1p3 of the Cortex A57 cpu.
188e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_859972
189e444763dSBoyan Karatotev
190e444763dSBoyan Karatotev# Flag to apply erratum 1319537 workaround during reset. This erratum applies
191e444763dSBoyan Karatotev# to all revisions of Cortex A57 cpu.
192e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_1319537
193e444763dSBoyan Karatotev
194e444763dSBoyan Karatotev# Flag to apply erratum 855971 workaround during reset. This erratum applies
195e444763dSBoyan Karatotev# only to revision <= r0p3 of the Cortex A72 cpu.
196e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A72_859971
197e444763dSBoyan Karatotev
198e444763dSBoyan Karatotev# Flag to apply erratum 1319367 workaround during reset. This erratum applies
199e444763dSBoyan Karatotev# to all revisions of Cortex A72 cpu.
200e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A72_1319367
201e444763dSBoyan Karatotev
202e444763dSBoyan Karatotev# Flag to apply erratum 852427 workaround during reset. This erratum applies
203e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A73 cpu.
204e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A73_852427
205e444763dSBoyan Karatotev
206e444763dSBoyan Karatotev# Flag to apply erratum 855423 workaround during reset. This erratum applies
207e444763dSBoyan Karatotev# only to revision <= r0p1 of the Cortex A73 cpu.
208e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A73_855423
209e444763dSBoyan Karatotev
210e444763dSBoyan Karatotev# Flag to apply erratum 764081 workaround during reset. This erratum applies
211e444763dSBoyan Karatotev# only to revision <= r0p0 of the Cortex A75 cpu.
212e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A75_764081
213e444763dSBoyan Karatotev
214e444763dSBoyan Karatotev# Flag to apply erratum 790748 workaround during reset. This erratum applies
215e444763dSBoyan Karatotev# only to revision <= r0p0 of the Cortex A75 cpu.
216e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A75_790748
217e444763dSBoyan Karatotev
218e444763dSBoyan Karatotev# Flag to apply erratum 1073348 workaround during reset. This erratum applies
219e444763dSBoyan Karatotev# only to revision <= r1p0 of the Cortex A76 cpu.
220e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1073348
221e444763dSBoyan Karatotev
222e444763dSBoyan Karatotev# Flag to apply erratum 1130799 workaround during reset. This erratum applies
223e444763dSBoyan Karatotev# only to revision <= r2p0 of the Cortex A76 cpu.
224e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1130799
225e444763dSBoyan Karatotev
226e444763dSBoyan Karatotev# Flag to apply erratum 1220197 workaround during reset. This erratum applies
227e444763dSBoyan Karatotev# only to revision <= r2p0 of the Cortex A76 cpu.
228e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1220197
229e444763dSBoyan Karatotev
230e444763dSBoyan Karatotev# Flag to apply erratum 1257314 workaround during reset. This erratum applies
231e444763dSBoyan Karatotev# only to revision <= r3p0 of the Cortex A76 cpu.
232e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1257314
233e444763dSBoyan Karatotev
234e444763dSBoyan Karatotev# Flag to apply erratum 1262606 workaround during reset. This erratum applies
235e444763dSBoyan Karatotev# only to revision <= r3p0 of the Cortex A76 cpu.
236e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1262606
237e444763dSBoyan Karatotev
238e444763dSBoyan Karatotev# Flag to apply erratum 1262888 workaround during reset. This erratum applies
239e444763dSBoyan Karatotev# only to revision <= r3p0 of the Cortex A76 cpu.
240e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1262888
241e444763dSBoyan Karatotev
242e444763dSBoyan Karatotev# Flag to apply erratum 1275112 workaround during reset. This erratum applies
243e444763dSBoyan Karatotev# only to revision <= r3p0 of the Cortex A76 cpu.
244e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1275112
245e444763dSBoyan Karatotev
246e444763dSBoyan Karatotev# Flag to apply erratum 1286807 workaround during reset. This erratum applies
247e444763dSBoyan Karatotev# only to revision <= r3p0 of the Cortex A76 cpu.
248e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1286807
249e444763dSBoyan Karatotev
250e444763dSBoyan Karatotev# Flag to apply erratum 1791580 workaround during reset. This erratum applies
251e444763dSBoyan Karatotev# only to revision <= r4p0 of the Cortex A76 cpu.
252e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1791580
253e444763dSBoyan Karatotev
254e444763dSBoyan Karatotev# Flag to apply erratum 1165522 workaround during reset. This erratum applies
255e444763dSBoyan Karatotev# to all revisions of Cortex A76 cpu.
256e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1165522
257e444763dSBoyan Karatotev
258e444763dSBoyan Karatotev# Flag to apply erratum 1868343 workaround during reset. This erratum applies
259e444763dSBoyan Karatotev# only to revision <= r4p0 of the Cortex A76 cpu.
260e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1868343
261e444763dSBoyan Karatotev
262e444763dSBoyan Karatotev# Flag to apply erratum 1946160 workaround during reset. This erratum applies
263e444763dSBoyan Karatotev# only to revisions r3p0 - r4p1 of the Cortex A76 cpu.
264e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1946160
265e444763dSBoyan Karatotev
266e444763dSBoyan Karatotev# Flag to apply erratum 2743102 workaround during powerdown. This erratum
267e444763dSBoyan Karatotev# applies to all revisions <= r4p1 of the Cortex A76 cpu and is still open.
268e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_2743102
269e444763dSBoyan Karatotev
270e444763dSBoyan Karatotev# Flag to apply erratum 1508412 workaround during reset. This erratum applies
271e444763dSBoyan Karatotev# only to revision <= r1p0 of the Cortex A77 cpu.
272e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A77_1508412
273e444763dSBoyan Karatotev
274e444763dSBoyan Karatotev# Flag to apply erratum 1925769 workaround during reset. This erratum applies
275e444763dSBoyan Karatotev# only to revision <= r1p1 of the Cortex A77 cpu.
276e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A77_1925769
277e444763dSBoyan Karatotev
278e444763dSBoyan Karatotev# Flag to apply erratum 1946167 workaround during reset. This erratum applies
279e444763dSBoyan Karatotev# only to revision <= r1p1 of the Cortex A77 cpu.
280e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A77_1946167
281e444763dSBoyan Karatotev
282e444763dSBoyan Karatotev# Flag to apply erratum 1791578 workaround during reset. This erratum applies
283e444763dSBoyan Karatotev# to revisions r0p0, r1p0, and r1p1, it is still open.
284e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A77_1791578
285e444763dSBoyan Karatotev
286e444763dSBoyan Karatotev# Flag to apply erratum 2356587 workaround during reset. This erratum applies
287e444763dSBoyan Karatotev# to revisions r0p0, r1p0, and r1p1, it is still open.
288e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A77_2356587
289e444763dSBoyan Karatotev
290e444763dSBoyan Karatotev# Flag to apply erratum 1800714 workaround during reset. This erratum applies
291e444763dSBoyan Karatotev# to revisions <= r1p1 of the Cortex A77 cpu.
292e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A77_1800714
293e444763dSBoyan Karatotev
294e444763dSBoyan Karatotev# Flag to apply erratum 2743100 workaround during power down. This erratum
295e444763dSBoyan Karatotev# applies to revisions r0p0, r1p0, and r1p1, it is still open.
296e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A77_2743100
297e444763dSBoyan Karatotev
298e444763dSBoyan Karatotev# Flag to apply erratum 1688305 workaround during reset. This erratum applies
299e444763dSBoyan Karatotev# to revisions r0p0 - r1p0 of the A78 cpu.
300e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_1688305
301e444763dSBoyan Karatotev
302e444763dSBoyan Karatotev# Flag to apply erratum 1941498 workaround during reset. This erratum applies
303e444763dSBoyan Karatotev# to revisions r0p0, r1p0, and r1p1 of the A78 cpu.
304e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_1941498
305e444763dSBoyan Karatotev
306e444763dSBoyan Karatotev# Flag to apply erratum 1951500 workaround during reset. This erratum applies
307e444763dSBoyan Karatotev# to revisions r1p0 and r1p1 of the A78 cpu. The issue is present in r0p0 as
308e444763dSBoyan Karatotev# well but there is no workaround for that revision.
309e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_1951500
310e444763dSBoyan Karatotev
311e444763dSBoyan Karatotev# Flag to apply erratum 1821534 workaround during reset. This erratum applies
312e444763dSBoyan Karatotev# to revisions r0p0 and r1p0 of the A78 cpu.
313e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_1821534
314e444763dSBoyan Karatotev
315e444763dSBoyan Karatotev# Flag to apply erratum 1952683 workaround during reset. This erratum applies
316e444763dSBoyan Karatotev# to revision r0p0 of the A78 cpu and was fixed in the revision r1p0.
317e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_1952683
318e444763dSBoyan Karatotev
319e444763dSBoyan Karatotev# Flag to apply erratum 2242635 workaround during reset. This erratum applies
320e444763dSBoyan Karatotev# to revisions r1p0, r1p1, and r1p2 of the A78 cpu and is open. The issue is
321e444763dSBoyan Karatotev# present in r0p0 as well but there is no workaround for that revision.
322e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_2242635
323e444763dSBoyan Karatotev
324e444763dSBoyan Karatotev# Flag to apply erratum 2376745 workaround during reset. This erratum applies
325e444763dSBoyan Karatotev# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
326e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_2376745
327e444763dSBoyan Karatotev
328e444763dSBoyan Karatotev# Flag to apply erratum 2395406 workaround during reset. This erratum applies
329e444763dSBoyan Karatotev# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
330e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_2395406
331e444763dSBoyan Karatotev
332ab062f05SSona Mathew# Flag to apply erratum 2712571 workaround for non-arm interconnect ip. This
333ab062f05SSona Mathew# erratum applies to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu.
334ab062f05SSona Mathew# It is fixed in r1p2.
335ab062f05SSona MathewCPU_FLAG_LIST += ERRATA_A78_2712571
336ab062f05SSona Mathew
337e444763dSBoyan Karatotev# Flag to apply erratum 2742426 workaround during reset. This erratum
338e444763dSBoyan Karatotev# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still
339e444763dSBoyan Karatotev# open.
340e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_2742426
341e444763dSBoyan Karatotev
342e444763dSBoyan Karatotev# Flag to apply erratum 2772019 workaround during powerdown. This erratum
343e444763dSBoyan Karatotev# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still
344e444763dSBoyan Karatotev# open.
345e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_2772019
346e444763dSBoyan Karatotev
347e444763dSBoyan Karatotev# Flag to apply erratum 2779479 workaround during reset. This erratum applies
348e444763dSBoyan Karatotev# to revision r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still open.
349e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_2779479
350e444763dSBoyan Karatotev
351e444763dSBoyan Karatotev# Flag to apply erratum 1941500 workaround during reset. This erratum applies
352e444763dSBoyan Karatotev# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
353e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_AE_1941500
354e444763dSBoyan Karatotev
355e444763dSBoyan Karatotev# Flag to apply erratum 1951502 workaround during reset. This erratum applies
356e444763dSBoyan Karatotev# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
357e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_AE_1951502
358e444763dSBoyan Karatotev
359e444763dSBoyan Karatotev# Flag to apply erratum 2376748 workaround during reset. This erratum applies
360c814619aSSona Mathew# to revisions r0p0, r0p1 and r0p2 of the A78 AE cpu. It is still open.
361e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_AE_2376748
362e444763dSBoyan Karatotev
363e444763dSBoyan Karatotev# Flag to apply erratum 2395408 workaround during reset. This erratum applies
364e444763dSBoyan Karatotev# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
365e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_AE_2395408
366e444763dSBoyan Karatotev
367672eb21eSBipin Ravi# Flag to apply erratum 1827430 workaround during reset. This erratum applies
368672eb21eSBipin Ravi# to revision r0p0 of the A78C cpu. It is fixed in r0p1.
369672eb21eSBipin RaviCPU_FLAG_LIST += ERRATA_A78C_1827430
370672eb21eSBipin Ravi
371b01a59ebSBipin Ravi# Flag to apply erratum 1827440 workaround during reset. This erratum applies
372b01a59ebSBipin Ravi# to revision r0p0 of the A78C cpu. It is fixed in r0p1.
373b01a59ebSBipin RaviCPU_FLAG_LIST += ERRATA_A78C_1827440
374b01a59ebSBipin Ravi
375ab062f05SSona Mathew# Flag to apply erratum 2712574 workaround for non-arm interconnect ip. This
376ab062f05SSona Mathew# erratum applies to revisions r0p0, r0p1 and r0p2 of the A78 AE cpu.
377ab062f05SSona Mathew# It is still open.
378ab062f05SSona MathewCPU_FLAG_LIST += ERRATA_A78_AE_2712574
379ab062f05SSona Mathew
380e444763dSBoyan Karatotev# Flag to apply erratum 2242638 workaround during reset. This erratum applies
381e444763dSBoyan Karatotev# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
382e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78C_2242638
383e444763dSBoyan Karatotev
384e444763dSBoyan Karatotev# Flag to apply erratum 2376749 workaround during reset. This erratum applies
385e444763dSBoyan Karatotev# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
386e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78C_2376749
387e444763dSBoyan Karatotev
388e444763dSBoyan Karatotev# Flag to apply erratum 2395411 workaround during reset. This erratum applies
389e444763dSBoyan Karatotev# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
390e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78C_2395411
391e444763dSBoyan Karatotev
39268cac6a0SBipin Ravi# Flag to apply erratum 2683027 workaround during reset. This erratum applies
39368cac6a0SBipin Ravi# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
39468cac6a0SBipin RaviCPU_FLAG_LIST += ERRATA_A78C_2683027
39568cac6a0SBipin Ravi
396ab062f05SSona Mathew# Flag to apply erratum 2712575 workaround for non-arm interconnect ip. This
397ab062f05SSona Mathew# erratum applies to revisions r0p1 and r0p2 of the A78C cpu.
398ab062f05SSona Mathew# It is still open.
399ab062f05SSona MathewCPU_FLAG_LIST += ERRATA_A78C_2712575
400ab062f05SSona Mathew
40181d4094dSSona Mathew# Flag to apply erratum 2743232 workaround during reset. This erratum applies
40281d4094dSSona Mathew# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
40381d4094dSSona MathewCPU_FLAG_LIST += ERRATA_A78C_2743232
40481d4094dSSona Mathew
405e444763dSBoyan Karatotev# Flag to apply erratum 2772121 workaround during powerdown. This erratum
406e444763dSBoyan Karatotev# applies to revisions r0p0, r0p1 and r0p2 of the A78C cpu. It is still open.
407e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78C_2772121
408e444763dSBoyan Karatotev
409e444763dSBoyan Karatotev# Flag to apply erratum 2779484 workaround during reset. This erratum
410e444763dSBoyan Karatotev# applies to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
411e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78C_2779484
412e444763dSBoyan Karatotev
413e444763dSBoyan Karatotev# Flag to apply erratum 1821534 workaround during reset. This erratum applies
414e444763dSBoyan Karatotev# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
415e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X1_1821534
416e444763dSBoyan Karatotev
417e444763dSBoyan Karatotev# Flag to apply erratum 1688305 workaround during reset. This erratum applies
418e444763dSBoyan Karatotev# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
419e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X1_1688305
420e444763dSBoyan Karatotev
421e444763dSBoyan Karatotev# Flag to apply erratum 1827429 workaround during reset. This erratum applies
422e444763dSBoyan Karatotev# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
423e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X1_1827429
424e444763dSBoyan Karatotev
425e444763dSBoyan Karatotev# Flag to apply T32 CLREX workaround during reset. This erratum applies
426e444763dSBoyan Karatotev# only to r0p0 and r1p0 of the Neoverse N1 cpu.
427e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1043202
428e444763dSBoyan Karatotev
429e444763dSBoyan Karatotev# Flag to apply erratum 1073348 workaround during reset. This erratum applies
430e444763dSBoyan Karatotev# only to revision r0p0 and r1p0 of the Neoverse N1 cpu.
431e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1073348
432e444763dSBoyan Karatotev
433e444763dSBoyan Karatotev# Flag to apply erratum 1130799 workaround during reset. This erratum applies
434e444763dSBoyan Karatotev# only to revision <= r2p0 of the Neoverse N1 cpu.
435e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1130799
436e444763dSBoyan Karatotev
437e444763dSBoyan Karatotev# Flag to apply erratum 1165347 workaround during reset. This erratum applies
438e444763dSBoyan Karatotev# only to revision <= r2p0 of the Neoverse N1 cpu.
439e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1165347
440e444763dSBoyan Karatotev
441e444763dSBoyan Karatotev# Flag to apply erratum 1207823 workaround during reset. This erratum applies
442e444763dSBoyan Karatotev# only to revision <= r2p0 of the Neoverse N1 cpu.
443e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1207823
444e444763dSBoyan Karatotev
445e444763dSBoyan Karatotev# Flag to apply erratum 1220197 workaround during reset. This erratum applies
446e444763dSBoyan Karatotev# only to revision <= r2p0 of the Neoverse N1 cpu.
447e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1220197
448e444763dSBoyan Karatotev
449e444763dSBoyan Karatotev# Flag to apply erratum 1257314 workaround during reset. This erratum applies
450e444763dSBoyan Karatotev# only to revision <= r3p0 of the Neoverse N1 cpu.
451e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1257314
452e444763dSBoyan Karatotev
453e444763dSBoyan Karatotev# Flag to apply erratum 1262606 workaround during reset. This erratum applies
454e444763dSBoyan Karatotev# only to revision <= r3p0 of the Neoverse N1 cpu.
455e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1262606
456e444763dSBoyan Karatotev
457e444763dSBoyan Karatotev# Flag to apply erratum 1262888 workaround during reset. This erratum applies
458e444763dSBoyan Karatotev# only to revision <= r3p0 of the Neoverse N1 cpu.
459e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1262888
460e444763dSBoyan Karatotev
461e444763dSBoyan Karatotev# Flag to apply erratum 1275112 workaround during reset. This erratum applies
462e444763dSBoyan Karatotev# only to revision <= r3p0 of the Neoverse N1 cpu.
463e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1275112
464e444763dSBoyan Karatotev
465e444763dSBoyan Karatotev# Flag to apply erratum 1315703 workaround during reset. This erratum applies
466e444763dSBoyan Karatotev# to revisions before r3p1 of the Neoverse N1 cpu.
467e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1315703
468e444763dSBoyan Karatotev
469e444763dSBoyan Karatotev# Flag to apply erratum 1542419 workaround during reset. This erratum applies
470e444763dSBoyan Karatotev# to revisions r3p0 - r4p0 of the Neoverse N1 cpu.
471e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1542419
472e444763dSBoyan Karatotev
473e444763dSBoyan Karatotev# Flag to apply erratum 1868343 workaround during reset. This erratum applies
474e444763dSBoyan Karatotev# to revision <= r4p0 of the Neoverse N1 cpu.
475e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1868343
476e444763dSBoyan Karatotev
477e444763dSBoyan Karatotev# Flag to apply erratum 1946160 workaround during reset. This erratum applies
478e444763dSBoyan Karatotev# to revisions r3p0, r3p1, r4p0, and r4p1 of the Neoverse N1 cpu. The issue
479e444763dSBoyan Karatotev# exists in revisions r0p0, r1p0, and r2p0 as well but there is no workaround.
480e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1946160
481e444763dSBoyan Karatotev
482e444763dSBoyan Karatotev# Flag to apply erratum 2743102 workaround during powerdown. This erratum
483e444763dSBoyan Karatotev# applies to all revisions <= r4p1 of the Neoverse N1 cpu and is still open.
484e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_2743102
485e444763dSBoyan Karatotev
486e444763dSBoyan Karatotev# Flag to apply erratum 1618635 workaround during reset. This erratum applies
487e444763dSBoyan Karatotev# to revision r0p0 of the Neoverse V1 cpu and was fixed in the revision r1p0.
488e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_1618635
489e444763dSBoyan Karatotev
490e444763dSBoyan Karatotev# Flag to apply erratum 1774420 workaround during reset. This erratum applies
491e444763dSBoyan Karatotev# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
492e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_1774420
493e444763dSBoyan Karatotev
494e444763dSBoyan Karatotev# Flag to apply erratum 1791573 workaround during reset. This erratum applies
495e444763dSBoyan Karatotev# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
496e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_1791573
497e444763dSBoyan Karatotev
498e444763dSBoyan Karatotev# Flag to apply erratum 1852267 workaround during reset. This erratum applies
499e444763dSBoyan Karatotev# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
500e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_1852267
501e444763dSBoyan Karatotev
502e444763dSBoyan Karatotev# Flag to apply erratum 1925756 workaround during reset. This needs to be
503e444763dSBoyan Karatotev# enabled for r0p0, r1p0, and r1p1 of the Neoverse V1 core, it is still open.
504e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_1925756
505e444763dSBoyan Karatotev
506e444763dSBoyan Karatotev# Flag to apply erratum 1940577 workaround during reset. This erratum applies
507e444763dSBoyan Karatotev# to revisions r1p0 and r1p1 of the Neoverse V1 cpu.
508e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_1940577
509e444763dSBoyan Karatotev
510e444763dSBoyan Karatotev# Flag to apply erratum 1966096 workaround during reset. This erratum applies
511e444763dSBoyan Karatotev# to revisions r1p0 and r1p1 of the Neoverse V1 CPU and is open. This issue
512e444763dSBoyan Karatotev# exists in r0p0 as well but there is no workaround for that revision.
513e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_1966096
514e444763dSBoyan Karatotev
515e444763dSBoyan Karatotev# Flag to apply erratum 2139242 workaround during reset. This erratum applies
516e444763dSBoyan Karatotev# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
517e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_2139242
518e444763dSBoyan Karatotev
519e444763dSBoyan Karatotev# Flag to apply erratum 2216392 workaround during reset. This erratum applies
520e444763dSBoyan Karatotev# to revisions r1p0 and r1p1 of the Neoverse V1 cpu and is still open. This
521e444763dSBoyan Karatotev# issue exists in r0p0 as well but there is no workaround for that revision.
522e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_2216392
523e444763dSBoyan Karatotev
524e444763dSBoyan Karatotev# Flag to apply erratum 2294912 workaround during reset. This erratum applies
525ab2b56dfSSona Mathew# to revisions r0p0, r1p0, and r1p1 and r1p2 of the Neoverse V1 cpu and is still open.
526e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_2294912
527e444763dSBoyan Karatotev
52871ed9173SSona Mathew# Flag to apply erratum 2348377 workaround during reset. This erratum applies
52971ed9173SSona Mathew# to revisions r0p0, r1p0 and r1p1 of the Neoverse V1 cpu and is fixed in r1p2.
53071ed9173SSona MathewCPU_FLAG_LIST += ERRATA_V1_2348377
53171ed9173SSona Mathew
532e444763dSBoyan Karatotev# Flag to apply erratum 2372203 workaround during reset. This erratum applies
533e444763dSBoyan Karatotev# to revisions r0p0, r1p0 and r1p1 of the Neoverse V1 cpu and is still open.
534e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_2372203
535e444763dSBoyan Karatotev
536ab062f05SSona Mathew# Flag to apply erratum 2701953 workaround to non-arm interconnect ip. This
537ab062f05SSona Mathew# erratum applies to revisions r0p0, r1p0, r1p1 of the Neoverse V1 cpu,
538ab062f05SSona Mathew# it is fixed in r1p2.
539ab062f05SSona MathewCPU_FLAG_LIST += ERRATA_V1_2701953
540ab062f05SSona Mathew
541e444763dSBoyan Karatotev# Flag to apply erratum 2743093 workaround during powerdown. This erratum
542e444763dSBoyan Karatotev# applies to revisions r0p0, r1p0, r1p1 and r1p2  of the Neoverse V1 cpu and is
543e444763dSBoyan Karatotev# still open.
544e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_2743093
545e444763dSBoyan Karatotev
546e444763dSBoyan Karatotev# Flag to apply erratum 2743233 workaround during powerdown. This erratum
547e444763dSBoyan Karatotev# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the Neoverse V1 cpu and is
548e444763dSBoyan Karatotev# still open.
549e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_2743233
550e444763dSBoyan Karatotev
551e444763dSBoyan Karatotev# Flag to apply erratum 2779461 workaround during powerdown. This erratum
552e444763dSBoyan Karatotev# applies to revisions r0p0, r1p0, r1p1 and r1p2  of the Neoverse V1 cpu and is
553e444763dSBoyan Karatotev# still open.
554e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_2779461
555e444763dSBoyan Karatotev
5565f32fd21SGovindraj Raja# Flag to apply erratum 2970647 workaround during reset. This erratum applies
5575f32fd21SGovindraj Raja# to revisions r0p0 of the Neoverse V3 cpu and is fixed in r0p1.
5585f32fd21SGovindraj RajaCPU_FLAG_LIST += ERRATA_V3_2970647
5595f32fd21SGovindraj Raja
560e25fc9dfSGovindraj Raja# Flag to apply erratum 3701767 workaround during context save/restore of
561e25fc9dfSGovindraj Raja# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1 and r0p2 of
562e25fc9dfSGovindraj Raja# the Neoverse V3 cpu and is still open.
563e25fc9dfSGovindraj RajaCPU_FLAG_LIST += ERRATA_V3_3701767
564e25fc9dfSGovindraj Raja
5654467348bSJohn Powell# Flag to apply erratum 1901946 workaround during reset. This erratum applies
5664467348bSJohn Powell# to revision r1p0 and is fixed in r2p0.
5674467348bSJohn PowellCPU_FLAG_LIST += ERRATA_A710_1901946
5684467348bSJohn Powell
569df067c0aSJohn Powell# Flag to apply erratum 1916945 workaround during reset. This erratum applies
570df067c0aSJohn Powell# to revisions r0p0 and r1p0 of the Cortex-A710 CPU and is fixed in r2p0.
571df067c0aSJohn PowellCPU_FLAG_LIST += ERRATA_A710_1916945
572df067c0aSJohn Powell
573d91c4177SJohn Powell# Flag to apply erratum 1917258 workaround during reset. This erratum applies
574d91c4177SJohn Powell# to revisions r0p0 and r1p0 of the Cortex-A710 CPU and is fixed in r2p0.
575d91c4177SJohn PowellCPU_FLAG_LIST += ERRATA_A710_1917258
576d91c4177SJohn Powell
577cb2702c4SJohn Powell# Flag to apply erratum 1927200 workaround during reset. This erratum applies
578cb2702c4SJohn Powell# to revisions r0p0 and r1p0 of the Cortex-A710 CPU and is fixed in r2p0.
579cb2702c4SJohn PowellCPU_FLAG_LIST += ERRATA_A710_1927200
580cb2702c4SJohn Powell
581e444763dSBoyan Karatotev# Flag to apply erratum 1987031 workaround during reset. This erratum applies
582e444763dSBoyan Karatotev# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
583e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_1987031
584e444763dSBoyan Karatotev
585e444763dSBoyan Karatotev# Flag to apply erratum 2081180 workaround during reset. This erratum applies
586e444763dSBoyan Karatotev# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
587e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2081180
588e444763dSBoyan Karatotev
589e444763dSBoyan Karatotev# Flag to apply erratum 2083908 workaround during reset. This erratum applies
590e444763dSBoyan Karatotev# to revision r2p0 of the Cortex-A710 cpu and is still open.
591e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2083908
592e444763dSBoyan Karatotev
593e444763dSBoyan Karatotev# Flag to apply erratum 2055002 workaround during reset. This erratum applies
594e444763dSBoyan Karatotev# to revision r1p0, r2p0 of the Cortex-A710 cpu and is still open.
595e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2055002
596e444763dSBoyan Karatotev
597e444763dSBoyan Karatotev# Flag to apply erratum 2017096 workaround during reset. This erratum applies
598e444763dSBoyan Karatotev# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
599e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2017096
600e444763dSBoyan Karatotev
601e444763dSBoyan Karatotev# Flag to apply erratum 2267065 workaround during reset. This erratum applies
602e444763dSBoyan Karatotev# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
603e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2267065
604e444763dSBoyan Karatotev
605e444763dSBoyan Karatotev# Flag to apply erratum 2136059 workaround during reset. This erratum applies
606e444763dSBoyan Karatotev# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
607e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2136059
608e444763dSBoyan Karatotev
609e444763dSBoyan Karatotev# Flag to apply erratum 2147715 workaround during reset. This erratum applies
610e444763dSBoyan Karatotev# to revision r2p0 of the Cortex-A710 CPU and is fixed in revision r2p1.
611e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2147715
612e444763dSBoyan Karatotev
613e444763dSBoyan Karatotev# Flag to apply erratum 2216384 workaround during reset. This erratum applies
614e444763dSBoyan Karatotev# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
615e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2216384
616e444763dSBoyan Karatotev
617e444763dSBoyan Karatotev# Flag to apply erratum 2282622 workaround during reset. This erratum applies
618e444763dSBoyan Karatotev# to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is still
619e444763dSBoyan Karatotev# open.
620e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2282622
621e444763dSBoyan Karatotev
622e444763dSBoyan Karatotev# Flag to apply erratum 2291219 workaround during reset. This erratum applies
623e444763dSBoyan Karatotev# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
624e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2291219
625e444763dSBoyan Karatotev
626e444763dSBoyan Karatotev# Flag to apply erratum 2008768 workaround during reset. This erratum applies
627e444763dSBoyan Karatotev# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
628e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2008768
629e444763dSBoyan Karatotev
630e444763dSBoyan Karatotev# Flag to apply erratum 2371105 workaround during reset. This erratum applies
631e444763dSBoyan Karatotev# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
632e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2371105
633e444763dSBoyan Karatotev
634ab062f05SSona Mathew# Flag to apply erratum 2701952 workaround for non-arm interconnect ip. This
635ab062f05SSona Mathew# erratum applies to revision r0p0, r1p0, r2p0, r2p1 of the Cortex-A710 cpu
636ab062f05SSona Mathew# and is still open.
637ab062f05SSona MathewCPU_FLAG_LIST += ERRATA_A710_2701952
638ab062f05SSona Mathew
639d7bc2cb4SBipin Ravi# Flag to apply erratum 2742423 workaround during reset. This erratum applies
640d7bc2cb4SBipin Ravi# to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is still
641d7bc2cb4SBipin Ravi# open.
642d7bc2cb4SBipin RaviCPU_FLAG_LIST += ERRATA_A710_2742423
643d7bc2cb4SBipin Ravi
644e444763dSBoyan Karatotev# Flag to apply erratum 2768515 workaround during power down. This erratum
645e444763dSBoyan Karatotev# applies to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is
646e444763dSBoyan Karatotev# still open.
647e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2768515
648e444763dSBoyan Karatotev
649c9508d6aSSona Mathew# Flag to apply erratum 2778471 workaround during reset. This erratum applies
650c9508d6aSSona Mathew# to revisions r0p0, r1p0, r2p0, r2p1 of the Cortex-A710 cpu and is still
651c9508d6aSSona Mathew# open.
652c9508d6aSSona MathewCPU_FLAG_LIST += ERRATA_A710_2778471
653c9508d6aSSona Mathew
654463b5b4aSGovindraj Raja# Flag to apply erratum  3701772 workaround during context save/restore of
655463b5b4aSGovindraj Raja# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r2p0, r2p1
656463b5b4aSGovindraj Raja# of the Cortex-A710 cpu and is still open.
657463b5b4aSGovindraj RajaCPU_FLAG_LIST += ERRATA_A710_3701772
658463b5b4aSGovindraj Raja
659e444763dSBoyan Karatotev# Flag to apply erratum 2002655 workaround during reset. This erratum applies
660d6d34b39SArvind Ram Prakash# to revisions r0p0 of the Neoverse-N2 cpu and is fixed in r0p1.
661e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2002655
662e444763dSBoyan Karatotev
66374bfe31fSBipin Ravi# Flag to apply erratum 2009478 workaround during powerdown. This erratum
66474bfe31fSBipin Ravi# applies to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1.
66574bfe31fSBipin RaviCPU_FLAG_LIST += ERRATA_N2_2009478
66674bfe31fSBipin Ravi
667e444763dSBoyan Karatotev# Flag to apply erratum 2067956 workaround during reset. This erratum applies
668d6d34b39SArvind Ram Prakash# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
669e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2067956
670e444763dSBoyan Karatotev
671e444763dSBoyan Karatotev# Flag to apply erratum 2025414 workaround during reset. This erratum applies
672d6d34b39SArvind Ram Prakash# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
673e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2025414
674e444763dSBoyan Karatotev
675e444763dSBoyan Karatotev# Flag to apply erratum 2189731 workaround during reset. This erratum applies
676d6d34b39SArvind Ram Prakash# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
677e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2189731
678e444763dSBoyan Karatotev
679e444763dSBoyan Karatotev# Flag to apply erratum 2138956 workaround during reset. This erratum applies
680d6d34b39SArvind Ram Prakash# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
681e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2138956
682e444763dSBoyan Karatotev
683e444763dSBoyan Karatotev# Flag to apply erratum 2242415 workaround during reset. This erratum applies
684d6d34b39SArvind Ram Prakash# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
685e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2242415
686e444763dSBoyan Karatotev
687e444763dSBoyan Karatotev# Flag to apply erratum 2138958 workaround during reset. This erratum applies
688d6d34b39SArvind Ram Prakash# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
689e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2138958
690e444763dSBoyan Karatotev
691e444763dSBoyan Karatotev# Flag to apply erratum 2242400 workaround during reset. This erratum applies
692d6d34b39SArvind Ram Prakash# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
693e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2242400
694e444763dSBoyan Karatotev
695e444763dSBoyan Karatotev# Flag to apply erratum 2280757 workaround during reset. This erratum applies
696d6d34b39SArvind Ram Prakash# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
697e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2280757
698e444763dSBoyan Karatotev
69968085ad4SBipin Ravi# Flag to apply erratum 2326639 workaroud during powerdown. This erratum
700e444763dSBoyan Karatotev# applies to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
701e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2326639
702e444763dSBoyan Karatotev
70368085ad4SBipin Ravi# Flag to apply erratum 2340933 workaroud during reset. This erratum
70468085ad4SBipin Ravi# applies to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
70568085ad4SBipin RaviCPU_FLAG_LIST += ERRATA_N2_2340933
70668085ad4SBipin Ravi
7076cb8be17SBipin Ravi# Flag to apply erratum 2346952 workaround during reset. This erratum applies
7086cb8be17SBipin Ravi# to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
7096cb8be17SBipin RaviCPU_FLAG_LIST += ERRATA_N2_2346952
7106cb8be17SBipin Ravi
711e444763dSBoyan Karatotev# Flag to apply erratum 2376738 workaround during reset. This erratum applies
712d6d34b39SArvind Ram Prakash# to revision r0p0, r0p1, r0p2, r0p3 of the Neoverse N2 cpu and is still open.
713e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2376738
714e444763dSBoyan Karatotev
715e444763dSBoyan Karatotev# Flag to apply erratum 2388450 workaround during reset. This erratum applies
716e444763dSBoyan Karatotev# to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1.
717e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2388450
718e444763dSBoyan Karatotev
719ab062f05SSona Mathew# Flag to apply erratum 2728475 workaround for non-arm interconnect ip. This
720ab062f05SSona Mathew# erratum applies to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in
721ab062f05SSona Mathew# r0p3.
722ab062f05SSona MathewCPU_FLAG_LIST += ERRATA_N2_2728475
723ab062f05SSona Mathew
724eb44035cSArvind Ram Prakash# Flag to apply erratum 2743014 workaround during reset. This erratum applies
725eb44035cSArvind Ram Prakash# to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
726eb44035cSArvind Ram PrakashCPU_FLAG_LIST += ERRATA_N2_2743014
727eb44035cSArvind Ram Prakash
728e444763dSBoyan Karatotev# Flag to apply erratum 2743089 workaround during during powerdown. This erratum
729e444763dSBoyan Karatotev# applies to all revisions <= r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
730e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2743089
731e444763dSBoyan Karatotev
73212d28067SArvind Ram Prakash# Flag to apply erratum 2779511 workaround during reset. This erratum applies
73312d28067SArvind Ram Prakash# to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
73412d28067SArvind Ram PrakashCPU_FLAG_LIST += ERRATA_N2_2779511
73512d28067SArvind Ram Prakash
736adea6e52SGovindraj Raja# Flag to apply erratum 3701773 workaround during context save/restore of
737adea6e52SGovindraj Raja# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1, r0p2 and r0p3
738adea6e52SGovindraj Raja# of the Neoverse N2 cpu and is still open.
739adea6e52SGovindraj RajaCPU_FLAG_LIST += ERRATA_N2_3701773
740adea6e52SGovindraj Raja
741fded8392SGovindraj Raja# Flag to apply erratum 3699563 workaround during context save/restore of
742fded8392SGovindraj Raja# ICH_VMCR_EL2 reg. This erratum applies to revision r0p0 of the Neoverse N3
743fded8392SGovindraj Raja# cpu and is still open.
744fded8392SGovindraj RajaCPU_FLAG_LIST += ERRATA_N3_3699563
745fded8392SGovindraj Raja
746ce64ea6eSJohn Powell# Flag to apply erratum 1901946 workaround during reset. This erratum applies
747ce64ea6eSJohn Powell# only to revision r1p0 of the Cortex-X2 cpu, it is fixed in r2p0.
748ce64ea6eSJohn PowellCPU_FLAG_LIST += ERRATA_X2_1901946
749ce64ea6eSJohn Powell
750ff879c52SJohn Powell# Flag to apply erratum 1916945 workaround during reset. This erratum applies
751ff879c52SJohn Powell# to revisions r0p0 and r1p0 of the Cortex-X2 cpu, it is fixed in r2p0.
752ff879c52SJohn PowellCPU_FLAG_LIST += ERRATA_X2_1916945
753ff879c52SJohn Powell
754ccee7fa8SJohn Powell# Flag to apply erratum 1917258 workaround during reset. This erratum applies
755ccee7fa8SJohn Powell# to revisions r0p0 and r1p0 of the Cortex-X2 cpu, it is fixed in r2p0.
756ccee7fa8SJohn PowellCPU_FLAG_LIST += ERRATA_X2_1917258
757ccee7fa8SJohn Powell
758e2365484SJohn Powell# Flag to apply erratum 1927200 workaround during reset. This erratum applies
759e2365484SJohn Powell# to revisions r0p0 and r1p0 of the Cortex-X2 cpu, it is fixed in r2p0.
760e2365484SJohn PowellCPU_FLAG_LIST += ERRATA_X2_1927200
761e2365484SJohn Powell
7622c0467afSJohn Powell# Flag to apply erratum 1934260 workaround during reset. This erratum applies
7632c0467afSJohn Powell# only to revision r1p0 of the Cortex-X2 cpu, it is fixed in r2p0.
7642c0467afSJohn PowellCPU_FLAG_LIST += ERRATA_X2_1934260
7652c0467afSJohn Powell
766e444763dSBoyan Karatotev# Flag to apply erratum 2002765 workaround during reset. This erratum applies
767f753b4a9SJohn Powell# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
768f753b4a9SJohn Powell# r2p1.
769e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2002765
770e444763dSBoyan Karatotev
771e444763dSBoyan Karatotev# Flag to apply erratum 2017096 workaround during reset. This erratum applies
772e444763dSBoyan Karatotev# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
773e444763dSBoyan Karatotev# r2p1.
774e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2017096
775e444763dSBoyan Karatotev
776e444763dSBoyan Karatotev# Flag to apply erratum 2081180 workaround during reset. This erratum applies
777e444763dSBoyan Karatotev# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
778e444763dSBoyan Karatotev# r2p1.
779e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2081180
780e444763dSBoyan Karatotev
781f753b4a9SJohn Powell# Flag to apply erratum 2083908 workaround during reset. This erratum applies
782f753b4a9SJohn Powell# only to revision r2p0 of the Cortex-X2 cpu, it is fixed in r2p1.
783f753b4a9SJohn PowellCPU_FLAG_LIST += ERRATA_X2_2083908
784f753b4a9SJohn Powell
785a8e4d5a5SJohn Powell# Flag to apply erratum 2136059 workaround during reset. This erratum applies
786a8e4d5a5SJohn Powell# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
787a8e4d5a5SJohn Powell# r2p1.
788a8e4d5a5SJohn PowellCPU_FLAG_LIST += ERRATA_X2_2136059
789a8e4d5a5SJohn Powell
790f753b4a9SJohn Powell# Flag to apply erratum 2147715 workaround during reset. This erratum applies
791f753b4a9SJohn Powell# only to revision r2p0 of the Cortex-X2 cpu, it is fixed in r2p1.
792f753b4a9SJohn PowellCPU_FLAG_LIST += ERRATA_X2_2147715
793f753b4a9SJohn Powell
794e444763dSBoyan Karatotev# Flag to apply erratum 2216384 workaround during reset. This erratum applies
795e444763dSBoyan Karatotev# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
796e444763dSBoyan Karatotev# r2p1.
797e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2216384
798e444763dSBoyan Karatotev
79941b96976SJohn Powell# Flag to apply erratum 2267065 workaround during reset. This erratum applies
80041b96976SJohn Powell# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
80141b96976SJohn Powell# r2p1.
80241b96976SJohn PowellCPU_FLAG_LIST += ERRATA_X2_2267065
80341b96976SJohn Powell
804e444763dSBoyan Karatotev# Flag to apply erratum 2282622 workaround during reset. This erratum applies
805f753b4a9SJohn Powell# to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still open.
806e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2282622
807e444763dSBoyan Karatotev
808989c798dSJohn Powell# Flag to apply erratum 2291219 workaround during reset. This erratum applies
809989c798dSJohn Powell# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
810989c798dSJohn Powell# r2p1.
811989c798dSJohn PowellCPU_FLAG_LIST += ERRATA_X2_2291219
812989c798dSJohn Powell
813e444763dSBoyan Karatotev# Flag to apply erratum 2371105 workaround during reset. This erratum applies
814f753b4a9SJohn Powell# to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in r2p1.
815e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2371105
816e444763dSBoyan Karatotev
817f753b4a9SJohn Powell# Flag to apply erratum 2701952 workaround for non-Arm interconnect IP. This
818f753b4a9SJohn Powell# erratum applies to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu
819ab062f05SSona Mathew# and is still open.
820ab062f05SSona MathewCPU_FLAG_LIST += ERRATA_X2_2701952
821ab062f05SSona Mathew
822fe06e118SBipin Ravi# Flag to apply erratum 2742423 workaround during reset. This erratum applies
823fe06e118SBipin Ravi# to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still open.
824fe06e118SBipin RaviCPU_FLAG_LIST += ERRATA_X2_2742423
825fe06e118SBipin Ravi
826e444763dSBoyan Karatotev# Flag to apply erratum 2768515 workaround during power down. This erratum
827f753b4a9SJohn Powell# applies to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is
828e444763dSBoyan Karatotev# still open.
829e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2768515
830e444763dSBoyan Karatotev
831b01a93d7SSona Mathew# Flag to apply erratum 2778471 workaround during reset. This erratum applies
832f753b4a9SJohn Powell# to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still open.
833b01a93d7SSona MathewCPU_FLAG_LIST += ERRATA_X2_2778471
834b01a93d7SSona Mathew
835ae6c7c97SGovindraj Raja# Flag to apply erratum 3701772 workaround during context save/restore of
836ae6c7c97SGovindraj Raja# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r2p0 and r2p1
837ae6c7c97SGovindraj Raja# of the Cortex-X2 cpu and is still open.
838ae6c7c97SGovindraj RajaCPU_FLAG_LIST += ERRATA_X2_3701772
839ae6c7c97SGovindraj Raja
840a65c5ba3SBipin Ravi# Flag to apply erratum 2266875 workaround during reset. This erratum applies
841a65c5ba3SBipin Ravi# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
842a65c5ba3SBipin RaviCPU_FLAG_LIST += ERRATA_X3_2266875
843a65c5ba3SBipin Ravi
8443f9df2c6SBipin Ravi# Flag to apply erratum 2302506 workaround during reset. This erratum applies
8453f9df2c6SBipin Ravi# to revisions r0p0, r1p0 and r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
8463f9df2c6SBipin RaviCPU_FLAG_LIST += ERRATA_X3_2302506
8473f9df2c6SBipin Ravi
848e444763dSBoyan Karatotev# Flag to apply erratum 2313909 workaround on powerdown. This erratum applies
849e444763dSBoyan Karatotev# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
850e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X3_2313909
851e444763dSBoyan Karatotev
8527f69a406SBipin Ravi# Flag to apply erratum 2372204 workaround during reset. This erratum applies
8537f69a406SBipin Ravi# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
8547f69a406SBipin RaviCPU_FLAG_LIST += ERRATA_X3_2372204
8557f69a406SBipin Ravi
856e444763dSBoyan Karatotev# Flag to apply erratum 2615812 workaround on powerdown. This erratum applies
857f589a2a5SSona Mathew# to revisions r0p0, r1p0, r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
858e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X3_2615812
859e444763dSBoyan Karatotev
860c1aa3fa5SBipin Ravi# Flag to apply erratum 2641945 workaround on reset. This erratum applies
861c1aa3fa5SBipin Ravi# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
862c1aa3fa5SBipin RaviCPU_FLAG_LIST += ERRATA_X3_2641945
863c1aa3fa5SBipin Ravi
864106c4283SSona Mathew# Flag to apply erratum 2701951 workaround for non-arm interconnect ip.
865106c4283SSona Mathew# This erratum applies to revisions r0p0, r1p0, and r1p1. Its is fixed in r1p2.
866106c4283SSona MathewCPU_FLAG_LIST += ERRATA_X3_2701951
867106c4283SSona Mathew
8685b0e4438SSona Mathew# Flag to apply erratum 2742421 workaround on reset. This erratum applies
8695b0e4438SSona Mathew# to revisions r0p0, r1p0 and r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
8705b0e4438SSona MathewCPU_FLAG_LIST += ERRATA_X3_2742421
8715b0e4438SSona Mathew
872f43e9f57SHarrison Mutai# Flag to apply erratum 2743088 workaround on powerdown. This erratum applies
873f43e9f57SHarrison Mutai# to revisions r0p0, r1p0 and r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
874f43e9f57SHarrison MutaiCPU_FLAG_LIST += ERRATA_X3_2743088
875f43e9f57SHarrison Mutai
87677feb745SGovindraj Raja# Flag to apply erratum 3701769 workaround during context save/restore of
87777feb745SGovindraj Raja# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r1p1 and r1p2
87877feb745SGovindraj Raja# of the Cortex-X3 cpu and is still open.
87977feb745SGovindraj RajaCPU_FLAG_LIST += ERRATA_X3_3701769
88077feb745SGovindraj Raja
881355ce0a4SSona Mathew# Flag to apply erratum 2779509 workaround on reset. This erratum applies
882355ce0a4SSona Mathew# to revisions r0p0, r1p0, r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
883355ce0a4SSona MathewCPU_FLAG_LIST += ERRATA_X3_2779509
884355ce0a4SSona Mathew
88542920aa7SArvind Ram Prakash# Flag to apply erratum 3213672 workaround on reset. This erratum applies
88642920aa7SArvind Ram Prakash# to revisions r0p0, r1p0, r1p1 and r1p2 of the Cortex-X3 cpu.
88742920aa7SArvind Ram Prakash# It is still open.
88842920aa7SArvind Ram PrakashCPU_FLAG_LIST += ERRATA_X3_3213672
88942920aa7SArvind Ram Prakash
890f828efe2SArvind Ram Prakash# Flag to apply erratum 3692984 workaround on reset. This erratum applies
891f828efe2SArvind Ram Prakash# to revisions r0p0, r1p0, r1p1, r1p2 of the Cortex-X3 cpu and is still open.
892f828efe2SArvind Ram PrakashCPU_FLAG_LIST += ERRATA_X3_3692984
893f828efe2SArvind Ram Prakash
8946a464ee7SArvind Ram Prakash# Flag to apply erratum 3827463 workaround on reset. This erratum applies
8956a464ee7SArvind Ram Prakash# to revisions r0p0, r1p0 and r1p1 of the Cortex-X3 cpu. It is fixed in r1p2.
8966a464ee7SArvind Ram PrakashCPU_FLAG_LIST += ERRATA_X3_3827463
8976a464ee7SArvind Ram Prakash
898cc41b56fSSona Mathew# Flag to apply erratum 2701112 workaround for platforms that do not use an
899cc41b56fSSona Mathew# Arm interconnect IP. This erratum applies to revisions r0p0 of the Cortex-X4
900cc41b56fSSona Mathew# cpu and is fixed in r0p1.
901cc41b56fSSona MathewCPU_FLAG_LIST += ERRATA_X4_2701112
902cc41b56fSSona Mathew
9034a97ff51SArvind Ram Prakash# Flag to apply erratum 2726228 workaround during warmboot. This erratum
9044a97ff51SArvind Ram Prakash# applies to all revisions <= r0p1 of the Cortex-X4 cpu, it is fixed in r0p2.
9054a97ff51SArvind Ram PrakashCPU_FLAG_LIST += ERRATA_X4_2726228
9064a97ff51SArvind Ram Prakash
907c833ca66SBipin Ravi# Flag to apply erratum 2740089 workaround during powerdown. This erratum
908c833ca66SBipin Ravi# applies to all revisions <= r0p1 of the Cortex-X4 cpu, it is fixed in r0p2.
909c833ca66SBipin RaviCPU_FLAG_LIST += ERRATA_X4_2740089
910c833ca66SBipin Ravi
91147312115SSona Mathew# Flag to apply erratum 2763018 workaround on reset. This erratum applies
91247312115SSona Mathew# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
91347312115SSona MathewCPU_FLAG_LIST += ERRATA_X4_2763018
91447312115SSona Mathew
9151e4480bbSSona Mathew# Flag to apply erratum 2816013 workaround on reset. This erratum applies
9161e4480bbSSona Mathew# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
9171e4480bbSSona MathewCPU_FLAG_LIST += ERRATA_X4_2816013
9181e4480bbSSona Mathew
919609d08a8SArvind Ram Prakash# Flag to apply erratum 2897503 workaround on reset. This erratum applies
920609d08a8SArvind Ram Prakash# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
921609d08a8SArvind Ram PrakashCPU_FLAG_LIST += ERRATA_X4_2897503
922609d08a8SArvind Ram Prakash
923cc461661SArvind Ram Prakash# Flag to apply erratum 2923985 workaround on reset. This erratum applies
924cc461661SArvind Ram Prakash# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
925cc461661SArvind Ram PrakashCPU_FLAG_LIST += ERRATA_X4_2923985
926cc461661SArvind Ram Prakash
92709c1edb8SGovindraj Raja# Flag to apply erratum 2957258 workaround to avoid incorrect virtualization of
92809c1edb8SGovindraj Raja# MPIDR_EL1/VMPIDR_EL2 and MIDR_EL1/VPIDR_EL2 when reading in EL2/EL3. This
92909c1edb8SGovindraj Raja# erratum applies to revisions r0p0, r0p1 of the Cortex-X4 cpu. It is fixed
93009c1edb8SGovindraj Raja# in r0p2.
93109c1edb8SGovindraj RajaCPU_FLAG_LIST += ERRATA_X4_2957258
93209c1edb8SGovindraj Raja
933db7eb688SRyan Everett# Flag to apply erratum 3076789 workaround on reset. This erratum applies
934db7eb688SRyan Everett# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
935db7eb688SRyan EverettCPU_FLAG_LIST += ERRATA_X4_3076789
936db7eb688SRyan Everett
93758148b92SArvind Ram Prakash# Flag to apply erratum 3133195 workaround on reset. This erratum applies
93858148b92SArvind Ram Prakash# to revision r0p2 of the Cortex-X4 cpu. It is fixed in r0p3.
93958148b92SArvind Ram PrakashCPU_FLAG_LIST += ERRATA_X4_3133195
94058148b92SArvind Ram Prakash
94138401c53SGovindraj Raja# Flag to apply erratum 3701758 workaround during context save/restore of
94238401c53SGovindraj Raja# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1, r0p2 and r0p3
94338401c53SGovindraj Raja# of the Cortex-X4 cpu and is still open.
94438401c53SGovindraj RajaCPU_FLAG_LIST += ERRATA_X4_3701758
94538401c53SGovindraj Raja
9465a45f0fcSArvind Ram Prakash# Flag to apply erratum 3887999 workaround on reset. This erratum applies to
9475a45f0fcSArvind Ram Prakash# revisions r0p0, r0p1, r0p2 and r0p3 of the Cortex-X4 cpu and is still open.
9485a45f0fcSArvind Ram PrakashCPU_FLAG_LIST += ERRATA_X4_3887999
9495a45f0fcSArvind Ram Prakash
95029bda258SGovindraj Raja# Flag to apply erratum 2963999 workaround during reset. This erratum applies
95129bda258SGovindraj Raja# to revisions r0p0 of the Cortex-X925 cpu and is fixed in r0p1.
95229bda258SGovindraj RajaCPU_FLAG_LIST += ERRATA_X925_2963999
95329bda258SGovindraj Raja
954511148efSGovindraj Raja# Flag to apply erratum 3701747 workaround during context save/restore of
955511148efSGovindraj Raja# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1 of the
956511148efSGovindraj Raja# Cortex-X925 cpu and is still open.
957511148efSGovindraj RajaCPU_FLAG_LIST += ERRATA_X925_3701747
958511148efSGovindraj Raja
959d64d4215SJohn Powell# Flag to apply erratum 2008766 workaround during reset. This erratum applies
960d64d4215SJohn Powell# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, r1p1, r1p2 and r1p3 of the
961d64d4215SJohn Powell# Cortex-A510 cpu and is still open.
962d64d4215SJohn PowellCPU_FLAG_LIST += ERRATA_A510_2008766
963d64d4215SJohn Powell
964124ff99fSJohn Powell# Flag to apply erratum 2169012 workaround during reset. This erratum applies
965124ff99fSJohn Powell# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0 of the Cortex-A510 cpu and is
966124ff99fSJohn Powell# fixed in r1p1.
967124ff99fSJohn PowellCPU_FLAG_LIST += ERRATA_A510_2169012
968124ff99fSJohn Powell
9694592f4eaSJohn Powell# Flag to apply erratum 2218134 workaround during reset. This erratum applies
9704592f4eaSJohn Powell# to revision r1p0 of the Cortex-A510 cpu and is fixed in r1p1.
9714592f4eaSJohn PowellCPU_FLAG_LIST += ERRATA_A510_2218134
9724592f4eaSJohn Powell
973e444763dSBoyan Karatotev# Flag to apply erratum 2288014 workaround during reset. This erratum applies
974e444763dSBoyan Karatotev# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0 of the Cortex-A510 cpu and is
975e444763dSBoyan Karatotev# fixed in r1p1.
976e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2288014
977e444763dSBoyan Karatotev
978e444763dSBoyan Karatotev# Flag to apply erratum 2042739 workaround during reset. This erratum applies
979e444763dSBoyan Karatotev# to revisions r0p0, r0p1 and r0p2 of the Cortex-A510 cpu and is fixed in r0p3.
980e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2042739
981e444763dSBoyan Karatotev
982e444763dSBoyan Karatotev# Flag to apply erratum 2041909 workaround during reset. This erratum applies
983e444763dSBoyan Karatotev# to revision r0p2 of the Cortex-A510 cpu and is fixed in r0p3. The issue is
984e444763dSBoyan Karatotev# present in r0p0 and r0p1 but there is no workaround for those revisions.
985e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2041909
986e444763dSBoyan Karatotev
9876e86475dSSona Mathew# Flag to aply erratum 2080326 workaround during reset. This erratum applies
9886e86475dSSona Mathew# to revision r0p2 of the Cortex-A510 cpu and is fixed in r0p3. The issue is
9896e86475dSSona Mathew# also present in r0p0 and r0p1 but there is no workaround for those revisions.
9906e86475dSSona MathewCPU_FLAG_LIST += ERRATA_A510_2080326
9916e86475dSSona Mathew
992e444763dSBoyan Karatotev# Flag to apply erratum 2250311 workaround during reset. This erratum applies
993e444763dSBoyan Karatotev# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
994e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2250311
995e444763dSBoyan Karatotev
996e444763dSBoyan Karatotev# Flag to apply erratum 2218950 workaround during reset. This erratum applies
997e444763dSBoyan Karatotev# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
998e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2218950
999e444763dSBoyan Karatotev
1000e444763dSBoyan Karatotev# Flag to apply erratum 2172148 workaround during reset. This erratum applies
1001e444763dSBoyan Karatotev# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
1002e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2172148
1003e444763dSBoyan Karatotev
1004e444763dSBoyan Karatotev# Flag to apply erratum 2347730 workaround during reset. This erratum applies
1005e444763dSBoyan Karatotev# to revisions r0p0, r0p1, r0p2, r0p3, r1p0 and r1p1 of the Cortex-A510 CPU,
1006e444763dSBoyan Karatotev# and is fixed in r1p2.
1007e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2347730
1008e444763dSBoyan Karatotev
1009e444763dSBoyan Karatotev# Flag to apply erratum 2371937 workaround during reset. This erratum applies
1010e444763dSBoyan Karatotev# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2.
1011e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2371937
1012e444763dSBoyan Karatotev
1013*4fb7090eSJohn Powell# Flag to apply erratum 2420992 workaround during reset. This erratum applies
1014*4fb7090eSJohn Powell# to revisions r1p0 and r1p1. It is fixed in r1p2.
1015*4fb7090eSJohn PowellCPU_FLAG_LIST += ERRATA_A510_2420992
1016*4fb7090eSJohn Powell
1017e444763dSBoyan Karatotev# Flag to apply erratum 2666669 workaround during reset. This erratum applies
1018e444763dSBoyan Karatotev# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2.
1019e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2666669
1020e444763dSBoyan Karatotev
1021e444763dSBoyan Karatotev# Flag to apply erratum 2684597 workaround during powerdown. This erratum
1022e444763dSBoyan Karatotev# applies to revision r0p0, r0p1, r0p2, r0p3, r1p0, r1p1 and r1p2 of the
1023e444763dSBoyan Karatotev# Cortex-A510 cpu and is fixed in r1p3.
1024e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2684597
1025e444763dSBoyan Karatotev
1026f2bd3528SJohn Powell# Flag to apply erratum 2971420 workaround during context switch. This erratum
1027f2bd3528SJohn Powell# applies to revisions r0p1, r0p2, r0p3, r1p0, r1p1, r1p2 and r1p3 of the
1028f2bd3528SJohn Powell# Cortex-A510 cpu and is still open.
1029f2bd3528SJohn PowellCPU_FLAG_LIST += ERRATA_A510_2971420
1030f2bd3528SJohn Powell
1031f03bfc30SSona Mathew# Flag to apply erratum 2630792 workaround during reset. This erratum applies
1032f03bfc30SSona Mathew# to revisions r0p0, r0p1 of the Cortex-A520 cpu and is still open.
1033f03bfc30SSona MathewCPU_FLAG_LIST += ERRATA_A520_2630792
1034f03bfc30SSona Mathew
103534db3531SArvind Ram Prakash# Flag to apply erratum 2858100 workaround during reset. This erratum
103634db3531SArvind Ram Prakash# applies to revision r0p0 and r0p1 of the Cortex-A520 cpu and is still open.
103734db3531SArvind Ram PrakashCPU_FLAG_LIST += ERRATA_A520_2858100
103834db3531SArvind Ram Prakash
10394a97ff51SArvind Ram Prakash# Flag to apply erratum 2938996 workaround during reset. This erratum
10404a97ff51SArvind Ram Prakash# applies to revision r0p0 and r0p1 of the Cortex-A520 cpu and is fixed in r0p2.
10414a97ff51SArvind Ram PrakashCPU_FLAG_LIST += ERRATA_A520_2938996
10424a97ff51SArvind Ram Prakash
1043c0f8ce53SBipin Ravi# Flag to apply erratum 2618597 workaround during reset. This erratum applies
1044c0f8ce53SBipin Ravi# to revisions r0p0 and r0p1. It is fixed in r0p2.
1045c0f8ce53SBipin RaviCPU_FLAG_LIST += ERRATA_V2_2618597
1046c0f8ce53SBipin Ravi
1047912c4090SBipin Ravi# Flag to apply erratum 2662553 workaround during reset. This erratum applies
1048912c4090SBipin Ravi# to revisions r0p0 and r0p1. It is fixed in r0p2.
1049912c4090SBipin RaviCPU_FLAG_LIST += ERRATA_V2_2662553
1050912c4090SBipin Ravi
1051ab062f05SSona Mathew# Flag to apply erratum 2719103 workaround for non-arm interconnect ip. This
1052ab062f05SSona Mathew# erratum applies to revisions r0p0, rop1. Fixed in r0p2.
1053ab062f05SSona MathewCPU_FLAG_LIST += ERRATA_V2_2719103
1054ab062f05SSona Mathew
1055b0114025SBipin Ravi# Flag to apply erratum 2719105 workaround during reset. This erratum applies
1056b0114025SBipin Ravi# to revisions r0p0 and r0p1. It is fixed in r0p2.
1057b0114025SBipin RaviCPU_FLAG_LIST += ERRATA_V2_2719105
1058b0114025SBipin Ravi
105958dd153cSBipin Ravi# Flag to apply erratum 2743011 workaround during reset. This erratum applies
106058dd153cSBipin Ravi# to revisions r0p0 and r0p1. It is fixed in r0p2.
106158dd153cSBipin RaviCPU_FLAG_LIST += ERRATA_V2_2743011
106258dd153cSBipin Ravi
1063ff342643SBipin Ravi# Flag to apply erratum 2779510 workaround during reset. This erratum applies
1064ff342643SBipin Ravi# to revisions r0p0 and r0p1. It is fixed in r0p2.
1065ff342643SBipin RaviCPU_FLAG_LIST += ERRATA_V2_2779510
1066ff342643SBipin Ravi
106740c81ed5SMoritz Fischer# Flag to apply erratum 2801372 workaround for all configurations.
106840c81ed5SMoritz Fischer# This erratum applies to revisions r0p0, r0p1. Fixed in r0p2.
106940c81ed5SMoritz FischerCPU_FLAG_LIST += ERRATA_V2_2801372
107040c81ed5SMoritz Fischer
107153b3cd25SBipin Ravi# Flag to apply erratum 2331818 workaround during reset. This erratum applies
107253b3cd25SBipin Ravi# to revisions r0p0 and r1p0. It is fixed in r1p1.
107353b3cd25SBipin RaviCPU_FLAG_LIST += ERRATA_A715_2331818
107453b3cd25SBipin Ravi
107533c665aeSHarrison Mutai# Flag to apply erratum 2344187 workaround during reset. This erratum applies
107633c665aeSHarrison Mutai# to revisions r0p0, and r1p0. It is fixed in r1p1.
107733c665aeSHarrison MutaiCPU_FLAG_LIST += ERRATA_A715_2344187
107833c665aeSHarrison Mutai
107915a04615SSona Mathew# Flag to apply erratum 2413290 workaround during reset. This erratum applies
108015a04615SSona Mathew# only to revision r1p0. It is fixed in r1p1.
108115a04615SSona MathewCPU_FLAG_LIST += ERRATA_A715_2413290
108215a04615SSona Mathew
10831f732471SBipin Ravi# Flag to apply erratum 2420947 workaround during reset. This erratum applies
10841f732471SBipin Ravi# only to revision r1p0. It is fixed in r1p1.
10851f732471SBipin RaviCPU_FLAG_LIST += ERRATA_A715_2420947
10861f732471SBipin Ravi
1087262dc9f7SBipin Ravi# Flag to apply erratum 2429384 workaround during reset. This erratum applies
1088262dc9f7SBipin Ravi# to revision r1p0. There is no workaround for r0p0. It is fixed in r1p1.
1089262dc9f7SBipin RaviCPU_FLAG_LIST += ERRATA_A715_2429384
1090262dc9f7SBipin Ravi
10916a6b2823SBipin Ravi# Flag to apply erratum 2561034 workaround during reset. This erratum applies
10926a6b2823SBipin Ravi# only to revision r1p0. It is fixed in r1p1.
10936a6b2823SBipin RaviCPU_FLAG_LIST += ERRATA_A715_2561034
10946a6b2823SBipin Ravi
109510134e35SBipin Ravi# Flag to apply erratum 2728106 workaround during reset. This erratum applies
109610134e35SBipin Ravi# only to revision r0p0, r1p0 and r1p1. It is fixed in r1p2.
109710134e35SBipin RaviCPU_FLAG_LIST += ERRATA_A715_2728106
109810134e35SBipin Ravi
1099fcf2ab71SJohn Powell# Flag to apply erratum 2804830 workaround during reset. This erratum applies
1100fcf2ab71SJohn Powell# to revisions r0p0, r1p0, r1p1 and r1p2. It is fixed in r1p3.
1101fcf2ab71SJohn PowellCPU_FLAG_LIST += ERRATA_A715_2804830
1102fcf2ab71SJohn Powell
110326437afdSGovindraj Raja# Flag to apply erratum 3699560 workaround during context save/restore of
110426437afdSGovindraj Raja# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r1p2, r1p3
110526437afdSGovindraj Raja# of the Cortex-A715 cpu and is still open.
110626437afdSGovindraj RajaCPU_FLAG_LIST += ERRATA_A715_3699560
110726437afdSGovindraj Raja
1108b1bde25eSArvind Ram Prakash# Flag to apply erratum 2792132 workaround during reset. This erratum applies
1109b1bde25eSArvind Ram Prakash# to revisions r0p0 and r0p1. It is fixed in r0p2.
1110b1bde25eSArvind Ram PrakashCPU_FLAG_LIST += ERRATA_A720_2792132
1111b1bde25eSArvind Ram Prakash
111212140908SSona Mathew# Flag to apply erratum 2844092 workaround during reset. This erratum applies
111312140908SSona Mathew# to revisions r0p0 and r0p1. It is fixed in r0p2.
111412140908SSona MathewCPU_FLAG_LIST += ERRATA_A720_2844092
111512140908SSona Mathew
1116152f4cfaSBipin Ravi# Flag to apply erratum 2926083 workaround during reset. This erratum applies
1117152f4cfaSBipin Ravi# to revisions r0p0 and r0p1. It is fixed in r0p2.
1118152f4cfaSBipin RaviCPU_FLAG_LIST += ERRATA_A720_2926083
1119152f4cfaSBipin Ravi
11207385213eSBipin Ravi# Flag to apply erratum 2940794 workaround during reset. This erratum applies
11217385213eSBipin Ravi# to revisions r0p0 and r0p1. It is fixed in r0p2.
11227385213eSBipin RaviCPU_FLAG_LIST += ERRATA_A720_2940794
11237385213eSBipin Ravi
1124050c4a38SGovindraj Raja# Flag to apply erratum 3699561 workaround during context save/restore of
1125050c4a38SGovindraj Raja# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1, r0p2 of
1126050c4a38SGovindraj Raja# the Cortex-A720 cpu and is still open.
1127050c4a38SGovindraj RajaCPU_FLAG_LIST += ERRATA_A720_3699561
1128050c4a38SGovindraj Raja
1129af5ae9a7SGovindraj Raja# Flag to apply erratum 3699562 workaround during context save/restore of
1130af5ae9a7SGovindraj Raja# ICH_VMCR_EL2 reg. This erratum applies to revision r0p0 the Cortex-A720-AE
1131af5ae9a7SGovindraj Raja# cpu and is still open.
1132af5ae9a7SGovindraj RajaCPU_FLAG_LIST += ERRATA_A720_AE_3699562
1133af5ae9a7SGovindraj Raja
1134d732300bSGovindraj Raja# Flag to apply erratum 3699564 workaround during context save/restore of
1135d732300bSGovindraj Raja# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1 of
1136d732300bSGovindraj Raja# the Cortex-A725 cpu and is fixed in r0p2
1137d732300bSGovindraj RajaCPU_FLAG_LIST += ERRATA_A725_3699564
1138d732300bSGovindraj Raja
1139e444763dSBoyan Karatotev# Flag to apply DSU erratum 798953. This erratum applies to DSUs revision r0p0.
1140e444763dSBoyan Karatotev# Applying the workaround results in higher DSU power consumption on idle.
1141e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_DSU_798953
1142e444763dSBoyan Karatotev
1143e444763dSBoyan Karatotev# Flag to apply DSU erratum 936184. This erratum applies to DSUs containing
1144050c4a38SGovindraj Raja# the ACP interface and revision < r0p0. Applying the workaround results in
1145e444763dSBoyan Karatotev# higher DSU power consumption on idle.
1146e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_DSU_936184
1147e444763dSBoyan Karatotev
1148e444763dSBoyan Karatotev# Flag to apply DSU erratum 2313941. This erratum applies to DSUs revisions
1149e444763dSBoyan Karatotev# r0p0, r1p0, r2p0, r2p1, r3p0, r3p1 and is still open. Applying the workaround
1150e444763dSBoyan Karatotev# results in higher DSU power consumption on idle.
1151e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_DSU_2313941
1152f2d6b4eeSManish Pandey
1153efc945f1SArvind Ram Prakash# Flag to apply DSU erratum 2900952 during reset. This erratum applies
1154efc945f1SArvind Ram Prakash# to some implementations of DSU-120 revision r2p0. Erratum might be fixed
1155efc945f1SArvind Ram Prakash# in some implementations of r2p0. This can be determined by reading
1156efc945f1SArvind Ram Prakash# the IMP_CLUSTERREVIDR_EL1 register where a set bit indicates that
1157efc945f1SArvind Ram Prakash# the erratum is fixed in this part. It is fixed in r2p1.
1158efc945f1SArvind Ram PrakashCPU_FLAG_LIST += ERRATA_DSU_2900952
1159efc945f1SArvind Ram Prakash
1160fe007b2eSDimitris Papastamosifneq (${DYNAMIC_WORKAROUND_CVE_2018_3639},0)
1161fe007b2eSDimitris Papastamos        ifeq (${WORKAROUND_CVE_2018_3639},0)
1162fe007b2eSDimitris Papastamos                $(error "Error: WORKAROUND_CVE_2018_3639 must be 1 if DYNAMIC_WORKAROUND_CVE_2018_3639 is 1")
1163fe007b2eSDimitris Papastamos        endif
1164fe007b2eSDimitris Papastamosendif
1165fe007b2eSDimitris Papastamos
1166e444763dSBoyan Karatotev# process all flags
1167593ae354SBoyan Karatotevifeq (${ENABLE_ERRATA_ALL},1)
1168593ae354SBoyan Karatotev$(eval $(call default_ones, $(CPU_FLAG_LIST)))
1169593ae354SBoyan Karatotevelse
1170e444763dSBoyan Karatotev$(eval $(call default_zeros, $(CPU_FLAG_LIST)))
1171593ae354SBoyan Karatotevendif
1172e444763dSBoyan Karatotev$(eval $(call add_defines, $(CPU_FLAG_LIST)))
1173e444763dSBoyan Karatotev$(eval $(call assert_booleans, $(CPU_FLAG_LIST)))
11747e3273e8SBipin Ravi
1175a94cc374SDouglas Raillard# Errata build flags
1176a94cc374SDouglas Raillardifneq (${ERRATA_A53_843419},0)
1177c2b8806fSDouglas RaillardTF_LDFLAGS_aarch64	+= --fix-cortex-a53-843419
1178a94cc374SDouglas Raillardendif
1179a94cc374SDouglas Raillard
1180a94cc374SDouglas Raillardifneq (${ERRATA_A53_835769},0)
1181a94cc374SDouglas RaillardTF_CFLAGS_aarch64	+= -mfix-cortex-a53-835769
1182c2b8806fSDouglas RaillardTF_LDFLAGS_aarch64	+= --fix-cortex-a53-835769
1183a94cc374SDouglas Raillardendif
1184e1c49333SManish V Badarkhe
1185e1c49333SManish V Badarkheifneq ($(filter 1,${ERRATA_A53_1530924} ${ERRATA_A55_1530923}	\
1186e1c49333SManish V Badarkhe        ${ERRATA_A57_1319537} ${ERRATA_A72_1319367} ${ERRATA_A76_1165522}),)
1187e1c49333SManish V BadarkheERRATA_SPECULATIVE_AT	:= 1
1188e1c49333SManish V Badarkheelse
1189e1c49333SManish V BadarkheERRATA_SPECULATIVE_AT	:= 0
1190e1c49333SManish V Badarkheendif
1191