xref: /rk3399_ARM-atf/lib/cpus/cpu-ops.mk (revision ee0f27388fcad40e8ef3b094ef7c84215727d00b)
1#
2# Copyright (c) 2014-2026, Arm Limited and Contributors. All rights reserved.
3# Copyright (c) 2020-2022, NVIDIA Corporation. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8include ${MAKE_HELPERS_DIRECTORY}$/build_macros.mk
9
10# Cortex A57 specific optimisation to skip L1 cache flush when
11# cluster is powered down.
12CPU_FLAG_LIST += SKIP_A57_L1_FLUSH_PWR_DWN
13
14# Flag to disable the cache non-temporal hint.
15# It is enabled by default.
16A53_DISABLE_NON_TEMPORAL_HINT		?=1
17CPU_FLAG_LIST += A53_DISABLE_NON_TEMPORAL_HINT
18
19# Flag to disable the cache non-temporal hint.
20# It is enabled by default.
21A57_DISABLE_NON_TEMPORAL_HINT		?=1
22CPU_FLAG_LIST += A57_DISABLE_NON_TEMPORAL_HINT
23
24# Flag to enable higher performance non-cacheable load forwarding.
25# It is disabled by default.
26CPU_FLAG_LIST += A57_ENABLE_NONCACHEABLE_LOAD_FWD
27
28WORKAROUND_CVE_2017_5715		?=1
29CPU_FLAG_LIST += WORKAROUND_CVE_2017_5715
30WORKAROUND_CVE_2018_3639		?=1
31CPU_FLAG_LIST += WORKAROUND_CVE_2018_3639
32DYNAMIC_WORKAROUND_CVE_2018_3639	?=0
33CPU_FLAG_LIST += DYNAMIC_WORKAROUND_CVE_2018_3639
34WORKAROUND_CVE_2022_23960		?=1
35CPU_FLAG_LIST += WORKAROUND_CVE_2022_23960
36WORKAROUND_CVE_2024_7881		?=1
37CPU_FLAG_LIST += WORKAROUND_CVE_2024_7881
38
39# Flag to disable Hardware page aggregation(HPA).
40# This flag is enabled by default.
41WORKAROUND_CVE_2024_5660		?=1
42CPU_FLAG_LIST += WORKAROUND_CVE_2024_5660
43
44# Flag to enable the CVE-2025-0647 workaround for CPP RCTX instructions. This
45# workaround requires Arm arch v8.5 or greater, so only enable by default for
46# v8.5+.
47ifeq "8.5" "$(word 1, $(sort 8.5 $(ARM_ARCH_MAJOR).$(ARM_ARCH_MINOR)))"
48ifeq (${ARCH},aarch64)
49        WORKAROUND_CVE_2025_0647		?=1
50endif
51endif
52CPU_FLAG_LIST += WORKAROUND_CVE_2025_0647
53
54# Flags to indicate internal or external Last level cache
55# By default internal
56CPU_FLAG_LIST += NEOVERSE_Nx_EXTERNAL_LLC
57CPU_FLAG_LIST += NEOVERSE_Vx_EXTERNAL_LLC
58
59# Flag to enable or disable hardware prefetcher for Neoverse N2 CPU
60# By default enabled
61CPU_FLAG_LIST += NEOVERSE_N2_PREFETCHER_DISABLE
62
63# CPU Errata Build flags.
64# These should be enabled by the platform if the erratum workaround needs to be
65# applied.
66
67# Flag to apply erratum 794073 workaround when disabling mmu.
68CPU_FLAG_LIST += ERRATA_A9_794073
69
70# Flag to apply erratum 816470 workaround during power down. This erratum
71# applies only to revision >= r3p0 of the Cortex A15 cpu.
72CPU_FLAG_LIST += ERRATA_A15_816470
73
74# Flag to apply erratum 827671 workaround during reset. This erratum applies
75# only to revision >= r3p0 of the Cortex A15 cpu.
76CPU_FLAG_LIST += ERRATA_A15_827671
77
78# Flag to apply erratum 852421 workaround during reset. This erratum applies
79# only to revision <= r1p2 of the Cortex A17 cpu.
80CPU_FLAG_LIST += ERRATA_A17_852421
81
82# Flag to apply erratum 852423 workaround during reset. This erratum applies
83# only to revision <= r1p2 of the Cortex A17 cpu.
84CPU_FLAG_LIST += ERRATA_A17_852423
85
86# Flag to apply erratum 855472 workaround during reset. This erratum applies
87# only to revision r0p0 of the Cortex A35 cpu.
88CPU_FLAG_LIST += ERRATA_A35_855472
89
90# Flag to apply erratum 819472 workaround during reset. This erratum applies
91# only to revision <= r0p1 of the Cortex A53 cpu.
92CPU_FLAG_LIST += ERRATA_A53_819472
93
94# Flag to apply erratum 824069 workaround during reset. This erratum applies
95# only to revision <= r0p2 of the Cortex A53 cpu.
96CPU_FLAG_LIST += ERRATA_A53_824069
97
98# Flag to apply erratum 826319 workaround during reset. This erratum applies
99# only to revision <= r0p2 of the Cortex A53 cpu.
100CPU_FLAG_LIST += ERRATA_A53_826319
101
102# Flag to apply erratum 827319 workaround during reset. This erratum applies
103# only to revision <= r0p2 of the Cortex A53 cpu.
104CPU_FLAG_LIST += ERRATA_A53_827319
105
106# Flag to apply erratum 835769 workaround at compile and link time. This
107# erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this
108# workaround can lead the linker to create "*.stub" sections.
109CPU_FLAG_LIST += ERRATA_A53_835769
110
111# Flag to apply erratum 836870 workaround during reset. This erratum applies
112# only to revision <= r0p3 of the Cortex A53 cpu. From r0p4 and onwards, this
113# erratum workaround is enabled by default in hardware.
114CPU_FLAG_LIST += ERRATA_A53_836870
115
116# Flag to apply erratum 843419 workaround at link time.
117# This erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this
118# workaround could lead the linker to emit "*.stub" sections which are 4kB
119# aligned.
120CPU_FLAG_LIST += ERRATA_A53_843419
121
122# Flag to apply errata 855873 during reset. This errata applies to all
123# revisions of the Cortex A53 CPU, but this firmware workaround only works
124# for revisions r0p3 and higher. Earlier revisions are taken care
125# of by the rich OS.
126CPU_FLAG_LIST += ERRATA_A53_855873
127
128# Flag to apply erratum 1530924 workaround during reset. This erratum applies
129# to all revisions of Cortex A53 cpu.
130CPU_FLAG_LIST += ERRATA_A53_1530924
131
132# Flag to apply erratum 768277 workaround during reset. This erratum applies
133# only to revision r0p0 of the Cortex A55 cpu.
134CPU_FLAG_LIST += ERRATA_A55_768277
135
136# Flag to apply erratum 778703 workaround during reset. This erratum applies
137# only to revision r0p0 of the Cortex A55 cpu.
138CPU_FLAG_LIST += ERRATA_A55_778703
139
140# Flag to apply erratum 798797 workaround during reset. This erratum applies
141# only to revision r0p0 of the Cortex A55 cpu.
142CPU_FLAG_LIST += ERRATA_A55_798797
143
144# Flag to apply erratum 846532 workaround during reset. This erratum applies
145# only to revision <= r0p1 of the Cortex A55 cpu.
146CPU_FLAG_LIST += ERRATA_A55_846532
147
148# Flag to apply erratum 903758 workaround during reset. This erratum applies
149# only to revision <= r0p1 of the Cortex A55 cpu.
150CPU_FLAG_LIST += ERRATA_A55_903758
151
152# Flag to apply erratum 1221012 workaround during reset. This erratum applies
153# only to revision <= r1p0 of the Cortex A55 cpu.
154CPU_FLAG_LIST += ERRATA_A55_1221012
155
156# Flag to apply erratum 1530923 workaround during reset. This erratum applies
157# to all revisions of Cortex A55 cpu.
158CPU_FLAG_LIST += ERRATA_A55_1530923
159
160# Flag to apply erratum 806969 workaround during reset. This erratum applies
161# only to revision r0p0 of the Cortex A57 cpu.
162CPU_FLAG_LIST += ERRATA_A57_806969
163
164# Flag to apply erratum 813419 workaround during reset. This erratum applies
165# only to revision r0p0 of the Cortex A57 cpu.
166CPU_FLAG_LIST += ERRATA_A57_813419
167
168# Flag to apply erratum 813420 workaround during reset. This erratum applies
169# only to revision r0p0 of the Cortex A57 cpu.
170CPU_FLAG_LIST += ERRATA_A57_813420
171
172# Flag to apply erratum 814670 workaround during reset. This erratum applies
173# only to revision r0p0 of the Cortex A57 cpu.
174CPU_FLAG_LIST += ERRATA_A57_814670
175
176# Flag to apply erratum 817169 workaround during power down. This erratum
177# applies only to revision <= r0p1 of the Cortex A57 cpu.
178CPU_FLAG_LIST += ERRATA_A57_817169
179
180# Flag to apply erratum 826974 workaround during reset. This erratum applies
181# only to revision <= r1p1 of the Cortex A57 cpu.
182CPU_FLAG_LIST += ERRATA_A57_826974
183
184# Flag to apply erratum 826977 workaround during reset. This erratum applies
185# only to revision <= r1p1 of the Cortex A57 cpu.
186CPU_FLAG_LIST += ERRATA_A57_826977
187
188# Flag to apply erratum 828024 workaround during reset. This erratum applies
189# only to revision <= r1p1 of the Cortex A57 cpu.
190CPU_FLAG_LIST += ERRATA_A57_828024
191
192# Flag to apply erratum 829520 workaround during reset. This erratum applies
193# only to revision <= r1p2 of the Cortex A57 cpu.
194CPU_FLAG_LIST += ERRATA_A57_829520
195
196# Flag to apply erratum 833471 workaround during reset. This erratum applies
197# only to revision <= r1p2 of the Cortex A57 cpu.
198CPU_FLAG_LIST += ERRATA_A57_833471
199
200# Flag to apply erratum 855972 workaround during reset. This erratum applies
201# only to revision <= r1p3 of the Cortex A57 cpu.
202CPU_FLAG_LIST += ERRATA_A57_859972
203
204# Flag to apply erratum 1319537 workaround during reset. This erratum applies
205# to all revisions of Cortex A57 cpu.
206CPU_FLAG_LIST += ERRATA_A57_1319537
207
208# Flag to apply erratum 1179935 workaround during reset. This erratum applies
209# to only r0p0 of the Cortex A65 cpu and is fixed in r1p0.
210CPU_FLAG_LIST += ERRATA_A65_1179935
211
212# Flag to apply erratum 1227419 workaround during reset. This erratum applies
213# to r0p0, r1p0 of the Cortex A65 cpu and is fixed in r1p1.
214CPU_FLAG_LIST += ERRATA_A65_1227419
215
216# Flag to apply erratum 1179935 workaround during reset. This erratum applies
217# to r0p0, r1p0, r1p1, r1p2 revisions of the CPU and is still open.
218CPU_FLAG_LIST += ERRATA_A65_1541130
219
220# Flag to apply erratum 1638571 workaround during runtime. This erratum applies
221# to r0p0, r1p0, r1p1 revisions of the CPU and is still open.
222CPU_FLAG_LIST += ERRATA_A65AE_1638571
223
224# Flag to apply erratum 855971 workaround during reset. This erratum applies
225# only to revision <= r0p3 of the Cortex A72 cpu.
226CPU_FLAG_LIST += ERRATA_A72_859971
227
228# Flag to apply erratum 1319367 workaround during reset. This erratum applies
229# to all revisions of Cortex A72 cpu.
230CPU_FLAG_LIST += ERRATA_A72_1319367
231
232# Flag to apply erratum 852427 workaround during reset. This erratum applies
233# only to revision r0p0 of the Cortex A73 cpu.
234CPU_FLAG_LIST += ERRATA_A73_852427
235
236# Flag to apply erratum 855423 workaround during reset. This erratum applies
237# only to revision <= r0p1 of the Cortex A73 cpu.
238CPU_FLAG_LIST += ERRATA_A73_855423
239
240# Flag to apply erratum 764081 workaround during reset. This erratum applies
241# only to revision <= r0p0 of the Cortex A75 cpu.
242CPU_FLAG_LIST += ERRATA_A75_764081
243
244# Flag to apply erratum 790748 workaround during reset. This erratum applies
245# only to revision <= r0p0 of the Cortex A75 cpu.
246CPU_FLAG_LIST += ERRATA_A75_790748
247
248# Flag to apply erratum 1073348 workaround during reset. This erratum applies
249# only to revision <= r1p0 of the Cortex A76 cpu.
250CPU_FLAG_LIST += ERRATA_A76_1073348
251
252# Flag to apply erratum 1130799 workaround during reset. This erratum applies
253# only to revision <= r2p0 of the Cortex A76 cpu.
254CPU_FLAG_LIST += ERRATA_A76_1130799
255
256# Flag to apply erratum 1165347 workaround during reset. This erratum applies
257# to revisions r0p0, r1p0, and r2p0 of the Cortex A76 cpu. It is fixed in r3p0.
258CPU_FLAG_LIST += ERRATA_A76_1165347
259
260# Flag to apply erratum 1207823 workaround during reset. This erratum applies
261# to revisions r0p0, r1p0, and r2p0 of the Cortex A76 cpu. It is fixed in r3p0.
262CPU_FLAG_LIST += ERRATA_A76_1207823
263
264# Flag to apply erratum 1220197 workaround during reset. This erratum applies
265# only to revision <= r2p0 of the Cortex A76 cpu.
266CPU_FLAG_LIST += ERRATA_A76_1220197
267
268# Flag to apply erratum 1257314 workaround during reset. This erratum applies
269# only to revision <= r3p0 of the Cortex A76 cpu.
270CPU_FLAG_LIST += ERRATA_A76_1257314
271
272# Flag to apply erratum 1262606 workaround during reset. This erratum applies
273# only to revision <= r3p0 of the Cortex A76 cpu.
274CPU_FLAG_LIST += ERRATA_A76_1262606
275
276# Flag to apply erratum 1262888 workaround during reset. This erratum applies
277# only to revision <= r3p0 of the Cortex A76 cpu.
278CPU_FLAG_LIST += ERRATA_A76_1262888
279
280# Flag to apply erratum 1275112 workaround during reset. This erratum applies
281# only to revision <= r3p0 of the Cortex A76 cpu.
282CPU_FLAG_LIST += ERRATA_A76_1275112
283
284# Flag to apply erratum 1286807 workaround during reset. This erratum applies
285# only to revision <= r3p0 of the Cortex A76 cpu.
286CPU_FLAG_LIST += ERRATA_A76_1286807
287
288# Flag to apply erratum 1791580 workaround during reset. This erratum applies
289# only to revision <= r4p0 of the Cortex A76 cpu.
290CPU_FLAG_LIST += ERRATA_A76_1791580
291
292# Flag to apply erratum 1165522 workaround during reset. This erratum applies
293# to all revisions of Cortex A76 cpu.
294CPU_FLAG_LIST += ERRATA_A76_1165522
295
296# Flag to apply erratum 1868343 workaround during reset. This erratum applies
297# only to revision <= r4p0 of the Cortex A76 cpu.
298CPU_FLAG_LIST += ERRATA_A76_1868343
299
300# Flag to apply erratum 1946160 workaround during reset. This erratum applies
301# only to revisions r3p0 - r4p1 of the Cortex A76 cpu.
302CPU_FLAG_LIST += ERRATA_A76_1946160
303
304# Flag to apply erratum 2743102 workaround during powerdown. This erratum
305# applies to all revisions <= r4p1 of the Cortex A76 cpu and is still open.
306CPU_FLAG_LIST += ERRATA_A76_2743102
307
308# Flag to apply erratum 1931427 workaround during reset. This erratum
309# applies to revision r0p0 and r1p0 of the Cortex A76AE cpu and is fixed
310# in r1p1.
311CPU_FLAG_LIST += ERRATA_A76AE_1931427
312
313# Flag to apply erratum 1931435 workaround during reset. This erratum
314# applies to revision r0p0 and r1p0 of the Cortex A76AE cpu and is fixed
315# in r1p1.
316CPU_FLAG_LIST += ERRATA_A76AE_1931435
317
318# Flag to apply erratum 1969401 workaround during reset. This erratum
319# applies to revision r0p0 and r1p0 of the Cortex A76AE cpu and is fixed
320# in r1p1.
321CPU_FLAG_LIST += ERRATA_A76AE_1969401
322
323# Flag to apply erratum 2371140 workaround during powerdown. This erratum
324# applies to all revisions <= r1p1 of the Cortex A76AE cpu and is still open.
325CPU_FLAG_LIST += ERRATA_A76AE_2371140
326
327# Flag to apply erratum 2753838 workaround during powerdown. This erratum
328# applies to all revisions <= r1p1 of the Cortex A76AE cpu and is still open.
329CPU_FLAG_LIST += ERRATA_A76AE_2753838
330
331# Flag to apply erratum 1508412 workaround during reset. This erratum applies
332# only to revision <= r1p0 of the Cortex A77 cpu.
333CPU_FLAG_LIST += ERRATA_A77_1508412
334
335# Flag to apply erratum 1925769 workaround during reset. This erratum applies
336# only to revision <= r1p1 of the Cortex A77 cpu.
337CPU_FLAG_LIST += ERRATA_A77_1925769
338
339# Flag to apply erratum 1946167 workaround during reset. This erratum applies
340# only to revision <= r1p1 of the Cortex A77 cpu.
341CPU_FLAG_LIST += ERRATA_A77_1946167
342
343# Flag to apply erratum 1791578 workaround during reset. This erratum applies
344# to revisions r0p0, r1p0, and r1p1, it is still open.
345CPU_FLAG_LIST += ERRATA_A77_1791578
346
347# Flag to apply erratum 2356587 workaround during reset. This erratum applies
348# to revisions r0p0, r1p0, and r1p1, it is still open.
349CPU_FLAG_LIST += ERRATA_A77_2356587
350
351# Flag to apply erratum 1800714 workaround during reset. This erratum applies
352# to revisions <= r1p1 of the Cortex A77 cpu.
353CPU_FLAG_LIST += ERRATA_A77_1800714
354
355# Flag to apply erratum 2743100 workaround during power down. This erratum
356# applies to revisions r0p0, r1p0, and r1p1, it is still open.
357CPU_FLAG_LIST += ERRATA_A77_2743100
358
359# Flag to apply erratum 1688305 workaround during reset. This erratum applies
360# to revisions r0p0 - r1p0 of the A78 cpu.
361CPU_FLAG_LIST += ERRATA_A78_1688305
362
363# Flag to apply erratum 1941498 workaround during reset. This erratum applies
364# to revisions r0p0, r1p0, and r1p1 of the A78 cpu.
365CPU_FLAG_LIST += ERRATA_A78_1941498
366
367# Flag to apply erratum 1951500 workaround during reset. This erratum applies
368# to revisions r1p0 and r1p1 of the A78 cpu. The issue is present in r0p0 as
369# well but there is no workaround for that revision.
370CPU_FLAG_LIST += ERRATA_A78_1951500
371
372# Flag to apply erratum 1821534 workaround during reset. This erratum applies
373# to revisions r0p0 and r1p0 of the A78 cpu.
374CPU_FLAG_LIST += ERRATA_A78_1821534
375
376# Flag to apply erratum 1952683 workaround during reset. This erratum applies
377# to revision r0p0 of the A78 cpu and was fixed in the revision r1p0.
378CPU_FLAG_LIST += ERRATA_A78_1952683
379
380# Flag to apply erratum 2242635 workaround during reset. This erratum applies
381# to revisions r1p0, r1p1, and r1p2 of the A78 cpu and is open. The issue is
382# present in r0p0 as well but there is no workaround for that revision.
383CPU_FLAG_LIST += ERRATA_A78_2242635
384
385# Flag to apply erratum 2376745 workaround during reset. This erratum applies
386# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
387CPU_FLAG_LIST += ERRATA_A78_2376745
388
389# Flag to apply erratum 2395406 workaround during reset. This erratum applies
390# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
391CPU_FLAG_LIST += ERRATA_A78_2395406
392
393# Flag to apply erratum 2712571 workaround for non-arm interconnect ip. This
394# erratum applies to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu.
395# It is fixed in r1p2.
396CPU_FLAG_LIST += ERRATA_A78_2712571
397
398# Flag to apply erratum 2742426 workaround during reset. This erratum
399# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still
400# open.
401CPU_FLAG_LIST += ERRATA_A78_2742426
402
403# Flag to apply erratum 2772019 workaround during powerdown. This erratum
404# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still
405# open.
406CPU_FLAG_LIST += ERRATA_A78_2772019
407
408# Flag to apply erratum 2779479 workaround during reset. This erratum applies
409# to revision r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still open.
410CPU_FLAG_LIST += ERRATA_A78_2779479
411
412# Flag to apply erratum 1941500 workaround during reset. This erratum applies
413# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
414CPU_FLAG_LIST += ERRATA_A78_AE_1941500
415
416# Flag to apply erratum 1951502 workaround during reset. This erratum applies
417# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
418CPU_FLAG_LIST += ERRATA_A78_AE_1951502
419
420# Flag to apply erratum 2376748 workaround during reset. This erratum applies
421# to revisions r0p0, r0p1 and r0p2 of the A78 AE cpu. It is still open.
422CPU_FLAG_LIST += ERRATA_A78_AE_2376748
423
424# Flag to apply erratum 2395408 workaround during reset. This erratum applies
425# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
426CPU_FLAG_LIST += ERRATA_A78_AE_2395408
427
428# Flag to apply erratum 1827430 workaround during reset. This erratum applies
429# to revision r0p0 of the A78C cpu. It is fixed in r0p1.
430CPU_FLAG_LIST += ERRATA_A78C_1827430
431
432# Flag to apply erratum 1827440 workaround during reset. This erratum applies
433# to revision r0p0 of the A78C cpu. It is fixed in r0p1.
434CPU_FLAG_LIST += ERRATA_A78C_1827440
435
436# Flag to apply erratum 2712574 workaround for non-arm interconnect ip. This
437# erratum applies to revisions r0p0, r0p1 and r0p2 of the A78 AE cpu.
438# It is still open.
439CPU_FLAG_LIST += ERRATA_A78_AE_2712574
440
441# Flag to apply erratum 2242638 workaround during reset. This erratum applies
442# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
443CPU_FLAG_LIST += ERRATA_A78C_2242638
444
445# Flag to apply erratum 2376749 workaround during reset. This erratum applies
446# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
447CPU_FLAG_LIST += ERRATA_A78C_2376749
448
449# Flag to apply erratum 2395411 workaround during reset. This erratum applies
450# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
451CPU_FLAG_LIST += ERRATA_A78C_2395411
452
453# Flag to apply erratum 2683027 workaround during reset. This erratum applies
454# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
455CPU_FLAG_LIST += ERRATA_A78C_2683027
456
457# Flag to apply erratum 2712575 workaround for non-arm interconnect ip. This
458# erratum applies to revisions r0p1 and r0p2 of the A78C cpu.
459# It is still open.
460CPU_FLAG_LIST += ERRATA_A78C_2712575
461
462# Flag to apply erratum 2743232 workaround during reset. This erratum applies
463# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
464CPU_FLAG_LIST += ERRATA_A78C_2743232
465
466# Flag to apply erratum 2772121 workaround during powerdown. This erratum
467# applies to revisions r0p0, r0p1 and r0p2 of the A78C cpu. It is still open.
468CPU_FLAG_LIST += ERRATA_A78C_2772121
469
470# Flag to apply erratum 2779484 workaround during reset. This erratum
471# applies to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
472CPU_FLAG_LIST += ERRATA_A78C_2779484
473
474# Flag to apply erratum 1821534 workaround during reset. This erratum applies
475# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
476CPU_FLAG_LIST += ERRATA_X1_1821534
477
478# Flag to apply erratum 1688305 workaround during reset. This erratum applies
479# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
480CPU_FLAG_LIST += ERRATA_X1_1688305
481
482# Flag to apply erratum 1827429 workaround during reset. This erratum applies
483# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
484CPU_FLAG_LIST += ERRATA_X1_1827429
485
486# Flag to apply T32 CLREX workaround during reset. This erratum applies
487# only to r0p0 and r1p0 of the Neoverse N1 cpu.
488CPU_FLAG_LIST += ERRATA_N1_1043202
489
490# Flag to apply erratum 1073348 workaround during reset. This erratum applies
491# only to revision r0p0 and r1p0 of the Neoverse N1 cpu.
492CPU_FLAG_LIST += ERRATA_N1_1073348
493
494# Flag to apply erratum 1130799 workaround during reset. This erratum applies
495# only to revision <= r2p0 of the Neoverse N1 cpu.
496CPU_FLAG_LIST += ERRATA_N1_1130799
497
498# Flag to apply erratum 1165347 workaround during reset. This erratum applies
499# only to revision <= r2p0 of the Neoverse N1 cpu.
500CPU_FLAG_LIST += ERRATA_N1_1165347
501
502# Flag to apply erratum 1207823 workaround during reset. This erratum applies
503# only to revision <= r2p0 of the Neoverse N1 cpu.
504CPU_FLAG_LIST += ERRATA_N1_1207823
505
506# Flag to apply erratum 1220197 workaround during reset. This erratum applies
507# only to revision <= r2p0 of the Neoverse N1 cpu.
508CPU_FLAG_LIST += ERRATA_N1_1220197
509
510# Flag to apply erratum 1257314 workaround during reset. This erratum applies
511# only to revision <= r3p0 of the Neoverse N1 cpu.
512CPU_FLAG_LIST += ERRATA_N1_1257314
513
514# Flag to apply erratum 1262606 workaround during reset. This erratum applies
515# only to revision <= r3p0 of the Neoverse N1 cpu.
516CPU_FLAG_LIST += ERRATA_N1_1262606
517
518# Flag to apply erratum 1262888 workaround during reset. This erratum applies
519# only to revision <= r3p0 of the Neoverse N1 cpu.
520CPU_FLAG_LIST += ERRATA_N1_1262888
521
522# Flag to apply erratum 1275112 workaround during reset. This erratum applies
523# only to revision <= r3p0 of the Neoverse N1 cpu.
524CPU_FLAG_LIST += ERRATA_N1_1275112
525
526# Flag to apply erratum 1315703 workaround during reset. This erratum applies
527# to revisions before r3p1 of the Neoverse N1 cpu.
528CPU_FLAG_LIST += ERRATA_N1_1315703
529
530# Flag to apply erratum 1542419 workaround during reset. This erratum applies
531# to revisions r3p0 - r4p0 of the Neoverse N1 cpu.
532CPU_FLAG_LIST += ERRATA_N1_1542419
533
534# Flag to apply erratum 1868343 workaround during reset. This erratum applies
535# to revision <= r4p0 of the Neoverse N1 cpu.
536CPU_FLAG_LIST += ERRATA_N1_1868343
537
538# Flag to apply erratum 1946160 workaround during reset. This erratum applies
539# to revisions r3p0, r3p1, r4p0, and r4p1 of the Neoverse N1 cpu. The issue
540# exists in revisions r0p0, r1p0, and r2p0 as well but there is no workaround.
541CPU_FLAG_LIST += ERRATA_N1_1946160
542
543# Flag to apply erratum 2743102 workaround during powerdown. This erratum
544# applies to all revisions <= r4p1 of the Neoverse N1 cpu and is still open.
545CPU_FLAG_LIST += ERRATA_N1_2743102
546
547# Flag to apply erratum 3324349 workaround during reset. This erratum
548# applies to all revisions <= r4p1 of the Neoverse N1 cpu and is still open.
549CPU_FLAG_LIST += ERRATA_N1_3324349
550
551# Flag to apply erratum 1618635 workaround during reset. This erratum applies
552# to revision r0p0 of the Neoverse V1 cpu and was fixed in the revision r1p0.
553CPU_FLAG_LIST += ERRATA_V1_1618635
554
555# Flag to apply erratum 1774420 workaround during reset. This erratum applies
556# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
557CPU_FLAG_LIST += ERRATA_V1_1774420
558
559# Flag to apply erratum 1791573 workaround during reset. This erratum applies
560# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
561CPU_FLAG_LIST += ERRATA_V1_1791573
562
563# Flag to apply erratum 1852267 workaround during reset. This erratum applies
564# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
565CPU_FLAG_LIST += ERRATA_V1_1852267
566
567# Flag to apply erratum 1925756 workaround during reset. This needs to be
568# enabled for r0p0, r1p0, and r1p1 of the Neoverse V1 core, it is still open.
569CPU_FLAG_LIST += ERRATA_V1_1925756
570
571# Flag to apply erratum 1940577 workaround during reset. This erratum applies
572# to revisions r1p0 and r1p1 of the Neoverse V1 cpu.
573CPU_FLAG_LIST += ERRATA_V1_1940577
574
575# Flag to apply erratum 1966096 workaround during reset. This erratum applies
576# to revisions r1p0 and r1p1 of the Neoverse V1 CPU and is open. This issue
577# exists in r0p0 as well but there is no workaround for that revision.
578CPU_FLAG_LIST += ERRATA_V1_1966096
579
580# Flag to apply erratum 2139242 workaround during reset. This erratum applies
581# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
582CPU_FLAG_LIST += ERRATA_V1_2139242
583
584# Flag to apply erratum 2216392 workaround during reset. This erratum applies
585# to revisions r1p0 and r1p1 of the Neoverse V1 cpu and is still open. This
586# issue exists in r0p0 as well but there is no workaround for that revision.
587CPU_FLAG_LIST += ERRATA_V1_2216392
588
589# Flag to apply erratum 2294912 workaround during reset. This erratum applies
590# to revisions r0p0, r1p0, and r1p1 and r1p2 of the Neoverse V1 cpu and is still open.
591CPU_FLAG_LIST += ERRATA_V1_2294912
592
593# Flag to apply erratum 2348377 workaround during reset. This erratum applies
594# to revisions r0p0, r1p0 and r1p1 of the Neoverse V1 cpu and is fixed in r1p2.
595CPU_FLAG_LIST += ERRATA_V1_2348377
596
597# Flag to apply erratum 2372203 workaround during reset. This erratum applies
598# to revisions r0p0, r1p0 and r1p1 of the Neoverse V1 cpu and is still open.
599CPU_FLAG_LIST += ERRATA_V1_2372203
600
601# Flag to apply erratum 2701953 workaround to non-arm interconnect ip. This
602# erratum applies to revisions r0p0, r1p0, r1p1 of the Neoverse V1 cpu,
603# it is fixed in r1p2.
604CPU_FLAG_LIST += ERRATA_V1_2701953
605
606# Flag to apply erratum 2743093 workaround during powerdown. This erratum
607# applies to revisions r0p0, r1p0, r1p1 and r1p2  of the Neoverse V1 cpu and is
608# still open.
609CPU_FLAG_LIST += ERRATA_V1_2743093
610
611# Flag to apply erratum 2743233 workaround during powerdown. This erratum
612# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the Neoverse V1 cpu and is
613# still open.
614CPU_FLAG_LIST += ERRATA_V1_2743233
615
616# Flag to apply erratum 2779461 workaround during powerdown. This erratum
617# applies to revisions r0p0, r1p0, r1p1 and r1p2  of the Neoverse V1 cpu and is
618# still open.
619CPU_FLAG_LIST += ERRATA_V1_2779461
620
621# Flag to apply erratum 2970647 workaround during reset. This erratum applies
622# to revisions r0p0 of the Neoverse V3 cpu and is fixed in r0p1.
623CPU_FLAG_LIST += ERRATA_V3_2970647
624
625# Flag to apply erratum 3312417 workaround during reset. This erratum applies
626# to revisions r0p0 and r0p1 of the Neoverse V3 cpu and is fixed in r0p2.
627CPU_FLAG_LIST += ERRATA_V3_3312417
628
629# Flag to apply erratum 3696307 workaround during reset. This erratum applies
630# to revisions r0p0 and r0p1 of the Neoverse V3 cpu and is fixed in r0p2.
631CPU_FLAG_LIST += ERRATA_V3_3696307
632
633# Flag to apply erratum 3701767 workaround during context save/restore of
634# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1 and r0p2 of
635# the Neoverse V3 cpu and is still open.
636CPU_FLAG_LIST += ERRATA_V3_3701767
637
638# Flag to apply erratum 3734562 workaround during reset. This erratum applies
639# to revisions r0p0 and r0p1 of the Neoverse V3 cpu and is fixed in r0p2.
640CPU_FLAG_LIST += ERRATA_V3_3734562
641
642# Flag to apply erratum 3782181 workaround during reset. This erratum applies
643# to revision r0p1 of the Neoverse V3 cpu and is fixed in r0p2.
644CPU_FLAG_LIST += ERRATA_V3_3782181
645
646# Flag to apply erratum 3864536 workaround during reset. This erratum applies
647# to revisions r0p0, r0p1 and r0p2 of the Neoverse V3 cpu and is still open.
648CPU_FLAG_LIST += ERRATA_V3_3864536
649
650# Flag to apply erratum 3878291 workaround during reset. This erratum applies
651# to revisions r0p0, r0p1 and r0p2 of the Neoverse V3 cpu and is still open.
652CPU_FLAG_LIST += ERRATA_V3_3878291
653
654# Flag to apply erratum 1901946 workaround during reset. This erratum applies
655# to revision r1p0 and is fixed in r2p0.
656CPU_FLAG_LIST += ERRATA_A710_1901946
657
658# Flag to apply erratum 1916945 workaround during reset. This erratum applies
659# to revisions r0p0 and r1p0 of the Cortex-A710 CPU and is fixed in r2p0.
660CPU_FLAG_LIST += ERRATA_A710_1916945
661
662# Flag to apply erratum 1917258 workaround during reset. This erratum applies
663# to revisions r0p0 and r1p0 of the Cortex-A710 CPU and is fixed in r2p0.
664CPU_FLAG_LIST += ERRATA_A710_1917258
665
666# Flag to apply erratum 1927200 workaround during reset. This erratum applies
667# to revisions r0p0 and r1p0 of the Cortex-A710 CPU and is fixed in r2p0.
668CPU_FLAG_LIST += ERRATA_A710_1927200
669
670# Flag to apply erratum 1987031 workaround during reset. This erratum applies
671# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
672CPU_FLAG_LIST += ERRATA_A710_1987031
673
674# Flag to apply erratum 2081180 workaround during reset. This erratum applies
675# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
676CPU_FLAG_LIST += ERRATA_A710_2081180
677
678# Flag to apply erratum 2083908 workaround during reset. This erratum applies
679# to revision r2p0 of the Cortex-A710 cpu and is still open.
680CPU_FLAG_LIST += ERRATA_A710_2083908
681
682# Flag to apply erratum 2055002 workaround during reset. This erratum applies
683# to revision r1p0, r2p0 of the Cortex-A710 cpu and is still open.
684CPU_FLAG_LIST += ERRATA_A710_2055002
685
686# Flag to apply erratum 2017096 workaround during reset. This erratum applies
687# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
688CPU_FLAG_LIST += ERRATA_A710_2017096
689
690# Flag to apply erratum 2267065 workaround during reset. This erratum applies
691# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
692CPU_FLAG_LIST += ERRATA_A710_2267065
693
694# Flag to apply erratum 2136059 workaround during reset. This erratum applies
695# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
696CPU_FLAG_LIST += ERRATA_A710_2136059
697
698# Flag to apply erratum 2147715 workaround during reset. This erratum applies
699# to revision r2p0 of the Cortex-A710 CPU and is fixed in revision r2p1.
700CPU_FLAG_LIST += ERRATA_A710_2147715
701
702# Flag to apply erratum 2216384 workaround during reset. This erratum applies
703# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
704CPU_FLAG_LIST += ERRATA_A710_2216384
705
706# Flag to apply erratum 2282622 workaround during reset. This erratum applies
707# to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is still
708# open.
709CPU_FLAG_LIST += ERRATA_A710_2282622
710
711# Flag to apply erratum 2291219 workaround during reset. This erratum applies
712# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
713CPU_FLAG_LIST += ERRATA_A710_2291219
714
715# Flag to apply erratum 2008768 workaround during reset. This erratum applies
716# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
717CPU_FLAG_LIST += ERRATA_A710_2008768
718
719# Flag to apply erratum 2371105 workaround during reset. This erratum applies
720# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
721CPU_FLAG_LIST += ERRATA_A710_2371105
722
723# Flag to apply erratum 2701952 workaround for non-arm interconnect ip. This
724# erratum applies to revision r0p0, r1p0, r2p0, r2p1 of the Cortex-A710 cpu
725# and is still open.
726CPU_FLAG_LIST += ERRATA_A710_2701952
727
728# Flag to apply erratum 2742423 workaround during reset. This erratum applies
729# to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is still
730# open.
731CPU_FLAG_LIST += ERRATA_A710_2742423
732
733# Flag to apply erratum 2768515 workaround during power down. This erratum
734# applies to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is
735# still open.
736CPU_FLAG_LIST += ERRATA_A710_2768515
737
738# Flag to apply erratum 2778471 workaround during reset. This erratum applies
739# to revisions r0p0, r1p0, r2p0, r2p1 of the Cortex-A710 cpu and is still
740# open.
741CPU_FLAG_LIST += ERRATA_A710_2778471
742
743# Flag to apply erratum 3324338 workaround during reset. This erratum applies
744# to revisions r0p0, r1p0, r2p0, r2p1 of the Cortex-A710 cpu and is still
745# open.
746CPU_FLAG_LIST += ERRATA_A710_3324338
747
748# Flag to apply erratum  3701772 workaround during context save/restore of
749# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r2p0, r2p1
750# of the Cortex-A710 cpu and is still open.
751CPU_FLAG_LIST += ERRATA_A710_3701772
752
753# Flag to apply erratum 2002655 workaround during reset. This erratum applies
754# to revisions r0p0 of the Neoverse-N2 cpu and is fixed in r0p1.
755CPU_FLAG_LIST += ERRATA_N2_2002655
756
757# Flag to apply erratum 2009478 workaround during powerdown. This erratum
758# applies to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1.
759CPU_FLAG_LIST += ERRATA_N2_2009478
760
761# Flag to apply erratum 2067956 workaround during reset. This erratum applies
762# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
763CPU_FLAG_LIST += ERRATA_N2_2067956
764
765# Flag to apply erratum 2025414 workaround during reset. This erratum applies
766# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
767CPU_FLAG_LIST += ERRATA_N2_2025414
768
769# Flag to apply erratum 2138953 workaround during runtime. This erratum applies
770# to r0p0, r0p1, r0p2 and r0p3 of the Neoverse N2 cpu and is still open.
771CPU_FLAG_LIST += ERRATA_N2_2138953
772
773# Flag to apply erratum 2138956 workaround during reset. This erratum applies
774# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
775CPU_FLAG_LIST += ERRATA_N2_2138956
776
777# Flag to apply erratum 2138958 workaround during reset. This erratum applies
778# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
779CPU_FLAG_LIST += ERRATA_N2_2138958
780
781# Flag to apply erratum 2189731 workaround during reset. This erratum applies
782# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
783CPU_FLAG_LIST += ERRATA_N2_2189731
784
785# Flag to apply erratum 2242400 workaround during reset. This erratum applies
786# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
787CPU_FLAG_LIST += ERRATA_N2_2242400
788
789# Flag to apply erratum 2242415 workaround during reset. This erratum applies
790# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
791CPU_FLAG_LIST += ERRATA_N2_2242415
792
793# Flag to apply erratum 2280757 workaround during reset. This erratum applies
794# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
795CPU_FLAG_LIST += ERRATA_N2_2280757
796
797# Flag to apply erratum 2326639 workaroud during powerdown. This erratum
798# applies to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
799CPU_FLAG_LIST += ERRATA_N2_2326639
800
801# Flag to apply erratum 2340933 workaroud during reset. This erratum
802# applies to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
803CPU_FLAG_LIST += ERRATA_N2_2340933
804
805# Flag to apply erratum 2346952 workaround during reset. This erratum applies
806# to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
807CPU_FLAG_LIST += ERRATA_N2_2346952
808
809# Flag to apply erratum 2376738 workaround during reset. This erratum applies
810# to revision r0p0, r0p1, r0p2, r0p3 of the Neoverse N2 cpu and is still open.
811CPU_FLAG_LIST += ERRATA_N2_2376738
812
813# Flag to apply erratum 2388450 workaround during reset. This erratum applies
814# to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1.
815CPU_FLAG_LIST += ERRATA_N2_2388450
816
817# Flag to apply erratum 2728475 workaround for non-arm interconnect ip. This
818# erratum applies to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in
819# r0p3.
820CPU_FLAG_LIST += ERRATA_N2_2728475
821
822# Flag to apply erratum 2743014 workaround during reset. This erratum applies
823# to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
824CPU_FLAG_LIST += ERRATA_N2_2743014
825
826# Flag to apply erratum 2743089 workaround during during powerdown. This erratum
827# applies to all revisions <= r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
828CPU_FLAG_LIST += ERRATA_N2_2743089
829
830# Flag to apply erratum 2779511 workaround during reset. This erratum applies
831# to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
832CPU_FLAG_LIST += ERRATA_N2_2779511
833
834# Flag to apply erratum 3324339 workaround during reset. This erratum applies
835# to r0p0, r0p1, r0p2 and r0p3 of the Neoverse N2 cpu and is still open.
836CPU_FLAG_LIST += ERRATA_N2_3324339
837
838# Flag to apply erratum 3701773 workaround during context save/restore of
839# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1, r0p2 and r0p3
840# of the Neoverse N2 cpu and is still open.
841CPU_FLAG_LIST += ERRATA_N2_3701773
842
843# Flag to apply erratum 3888123 workaround during reset. This erratum applies
844# to r0p0, r0p1, r0p2 and r0p3 of the Neoverse N2 cpu and is still open.
845CPU_FLAG_LIST += ERRATA_N2_3888123
846
847# Flag to apply erratum 4302970 workaround during reset. This erratum applies
848# to r0p0, r0p1, r0p2 and r0p3 of the Neoverse N2 cpu and is still open.
849CPU_FLAG_LIST += ERRATA_N2_4302970
850
851# Flag to apply erratum 3456111 workaround during reset. This erratum applies
852# to revisions r0p0 and r0p1 of the Neoverse N3 cpu and is still open.
853CPU_FLAG_LIST += ERRATA_N3_3456111
854
855# Flag to apply erratum 3699563 workaround during context save/restore of
856# ICH_VMCR_EL2 reg. This erratum applies to revision r0p0 of the Neoverse N3
857# cpu and is still open.
858CPU_FLAG_LIST += ERRATA_N3_3699563
859
860# Flag to apply erratum 1901946 workaround during reset. This erratum applies
861# only to revision r1p0 of the Cortex-X2 cpu, it is fixed in r2p0.
862CPU_FLAG_LIST += ERRATA_X2_1901946
863
864# Flag to apply erratum 1916945 workaround during reset. This erratum applies
865# to revisions r0p0 and r1p0 of the Cortex-X2 cpu, it is fixed in r2p0.
866CPU_FLAG_LIST += ERRATA_X2_1916945
867
868# Flag to apply erratum 1917258 workaround during reset. This erratum applies
869# to revisions r0p0 and r1p0 of the Cortex-X2 cpu, it is fixed in r2p0.
870CPU_FLAG_LIST += ERRATA_X2_1917258
871
872# Flag to apply erratum 1927200 workaround during reset. This erratum applies
873# to revisions r0p0 and r1p0 of the Cortex-X2 cpu, it is fixed in r2p0.
874CPU_FLAG_LIST += ERRATA_X2_1927200
875
876# Flag to apply erratum 1934260 workaround during reset. This erratum applies
877# only to revision r1p0 of the Cortex-X2 cpu, it is fixed in r2p0.
878CPU_FLAG_LIST += ERRATA_X2_1934260
879
880# Flag to apply erratum 2002765 workaround during reset. This erratum applies
881# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
882# r2p1.
883CPU_FLAG_LIST += ERRATA_X2_2002765
884
885# Flag to apply erratum 2017096 workaround during reset. This erratum applies
886# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
887# r2p1.
888CPU_FLAG_LIST += ERRATA_X2_2017096
889
890# Flag to apply erratum 2081180 workaround during reset. This erratum applies
891# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
892# r2p1.
893CPU_FLAG_LIST += ERRATA_X2_2081180
894
895# Flag to apply erratum 2083908 workaround during reset. This erratum applies
896# only to revision r2p0 of the Cortex-X2 cpu, it is fixed in r2p1.
897CPU_FLAG_LIST += ERRATA_X2_2083908
898
899# Flag to apply erratum 2136059 workaround during reset. This erratum applies
900# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
901# r2p1.
902CPU_FLAG_LIST += ERRATA_X2_2136059
903
904# Flag to apply erratum 2147715 workaround during reset. This erratum applies
905# only to revision r2p0 of the Cortex-X2 cpu, it is fixed in r2p1.
906CPU_FLAG_LIST += ERRATA_X2_2147715
907
908# Flag to apply erratum 2216384 workaround during reset. This erratum applies
909# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
910# r2p1.
911CPU_FLAG_LIST += ERRATA_X2_2216384
912
913# Flag to apply erratum 2267065 workaround during reset. This erratum applies
914# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
915# r2p1.
916CPU_FLAG_LIST += ERRATA_X2_2267065
917
918# Flag to apply erratum 2282622 workaround during reset. This erratum applies
919# to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still open.
920CPU_FLAG_LIST += ERRATA_X2_2282622
921
922# Flag to apply erratum 2291219 workaround during reset. This erratum applies
923# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
924# r2p1.
925CPU_FLAG_LIST += ERRATA_X2_2291219
926
927# Flag to apply erratum 2371105 workaround during reset. This erratum applies
928# to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in r2p1.
929CPU_FLAG_LIST += ERRATA_X2_2371105
930
931# Flag to apply erratum 2701952 workaround for non-Arm interconnect IP. This
932# erratum applies to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu
933# and is still open.
934CPU_FLAG_LIST += ERRATA_X2_2701952
935
936# Flag to apply erratum 2742423 workaround during reset. This erratum applies
937# to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still open.
938CPU_FLAG_LIST += ERRATA_X2_2742423
939
940# Flag to apply erratum 2768515 workaround during power down. This erratum
941# applies to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is
942# still open.
943CPU_FLAG_LIST += ERRATA_X2_2768515
944
945# Flag to apply erratum 2778471 workaround during reset. This erratum applies
946# to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still open.
947CPU_FLAG_LIST += ERRATA_X2_2778471
948
949# Flag to apply erratum 3324338 workaround during reset. This erratum applies
950# to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still open.
951CPU_FLAG_LIST += ERRATA_X2_3324338
952
953# Flag to apply erratum 3701772 workaround during context save/restore of
954# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r2p0 and r2p1
955# of the Cortex-X2 cpu and is still open.
956CPU_FLAG_LIST += ERRATA_X2_3701772
957
958# Flag to apply erratum 3888122 workaround during reset. This erratum applies
959# to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still open.
960CPU_FLAG_LIST += ERRATA_X2_3888122
961
962# Flag to apply erratum 4302969 workaround during reset. This erratum applies
963# to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still open.
964CPU_FLAG_LIST += ERRATA_X2_4302969
965
966# Flag to apply erratum 2266875 workaround during reset. This erratum applies
967# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
968CPU_FLAG_LIST += ERRATA_X3_2266875
969
970# Flag to apply erratum 2302506 workaround during reset. This erratum applies
971# to revisions r0p0, r1p0 and r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
972CPU_FLAG_LIST += ERRATA_X3_2302506
973
974# Flag to apply erratum 2313909 workaround on powerdown. This erratum applies
975# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
976CPU_FLAG_LIST += ERRATA_X3_2313909
977
978# Flag to apply erratum 2372204 workaround during reset. This erratum applies
979# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
980CPU_FLAG_LIST += ERRATA_X3_2372204
981
982# Flag to apply erratum 2615812 workaround on powerdown. This erratum applies
983# to revisions r0p0, r1p0, r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
984CPU_FLAG_LIST += ERRATA_X3_2615812
985
986# Flag to apply erratum 2641945 workaround on reset. This erratum applies
987# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
988CPU_FLAG_LIST += ERRATA_X3_2641945
989
990# Flag to apply erratum 2701951 workaround for non-arm interconnect ip.
991# This erratum applies to revisions r0p0, r1p0, and r1p1. Its is fixed in r1p2.
992CPU_FLAG_LIST += ERRATA_X3_2701951
993
994# Flag to apply erratum 2742421 workaround on reset. This erratum applies
995# to revisions r0p0, r1p0 and r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
996CPU_FLAG_LIST += ERRATA_X3_2742421
997
998# Flag to apply erratum 2743088 workaround on powerdown. This erratum applies
999# to revisions r0p0, r1p0 and r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
1000CPU_FLAG_LIST += ERRATA_X3_2743088
1001
1002# Flag to apply erratum 3701769 workaround during context save/restore of
1003# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r1p1 and r1p2
1004# of the Cortex-X3 cpu and is still open.
1005CPU_FLAG_LIST += ERRATA_X3_3701769
1006
1007# Flag to apply erratum 2779509 workaround on reset. This erratum applies
1008# to revisions r0p0, r1p0, r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
1009CPU_FLAG_LIST += ERRATA_X3_2779509
1010
1011# Flag to apply erratum 3213672 workaround on reset. This erratum applies
1012# to revisions r0p0, r1p0, r1p1 and r1p2 of the Cortex-X3 cpu.
1013# It is still open.
1014CPU_FLAG_LIST += ERRATA_X3_3213672
1015
1016# Flag to apply erratum 3692984 workaround on reset. This erratum applies
1017# to revisions r0p0, r1p0, r1p1, r1p2 of the Cortex-X3 cpu and is still open.
1018CPU_FLAG_LIST += ERRATA_X3_3692984
1019
1020# Flag to apply erratum 3827463 workaround on reset. This erratum applies
1021# to revisions r0p0, r1p0 and r1p1 of the Cortex-X3 cpu. It is fixed in r1p2.
1022CPU_FLAG_LIST += ERRATA_X3_3827463
1023
1024# Flag to apply erratum 3888125 workaround on reset. This erratum applies
1025# to revisions r0p0, r1p0, r1p1, r1p2 of the Cortex-X3 cpu and is still open.
1026CPU_FLAG_LIST += ERRATA_X3_3888125
1027
1028# Flag to apply erratum 4302966 workaround on reset. This erratum applies
1029# to revisions r0p0, r1p0, r1p1, r1p2 of the Cortex-X3 cpu and is still open.
1030CPU_FLAG_LIST += ERRATA_X3_4302966
1031
1032# Flag to apply erratum 2701112 workaround for platforms that do not use an
1033# Arm interconnect IP. This erratum applies to revisions r0p0 of the Cortex-X4
1034# cpu and is fixed in r0p1.
1035CPU_FLAG_LIST += ERRATA_X4_2701112
1036
1037# Flag to apply erratum 2726228 workaround during warmboot. This erratum
1038# applies to all revisions <= r0p1 of the Cortex-X4 cpu, it is fixed in r0p2.
1039CPU_FLAG_LIST += ERRATA_X4_2726228
1040
1041# Flag to apply erratum 2740089 workaround during powerdown. This erratum
1042# applies to all revisions <= r0p1 of the Cortex-X4 cpu, it is fixed in r0p2.
1043CPU_FLAG_LIST += ERRATA_X4_2740089
1044
1045# Flag to apply erratum 2763018 workaround on reset. This erratum applies
1046# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
1047CPU_FLAG_LIST += ERRATA_X4_2763018
1048
1049# Flag to apply erratum 2816013 workaround on reset. This erratum applies
1050# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
1051CPU_FLAG_LIST += ERRATA_X4_2816013
1052
1053# Flag to apply erratum 2897503 workaround on reset. This erratum applies
1054# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
1055CPU_FLAG_LIST += ERRATA_X4_2897503
1056
1057# Flag to apply erratum 2923985 workaround on reset. This erratum applies
1058# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
1059CPU_FLAG_LIST += ERRATA_X4_2923985
1060
1061# Flag to apply erratum 2957258 workaround to avoid incorrect virtualization of
1062# MPIDR_EL1/VMPIDR_EL2 and MIDR_EL1/VPIDR_EL2 when reading in EL2/EL3. This
1063# erratum applies to revisions r0p0, r0p1 of the Cortex-X4 cpu. It is fixed
1064# in r0p2.
1065CPU_FLAG_LIST += ERRATA_X4_2957258
1066
1067# Flag to apply erratum 3076789 workaround on reset. This erratum applies
1068# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
1069CPU_FLAG_LIST += ERRATA_X4_3076789
1070
1071# Flag to apply erratum 3133195 workaround on reset. This erratum applies
1072# to revision r0p2 of the Cortex-X4 cpu. It is fixed in r0p3.
1073CPU_FLAG_LIST += ERRATA_X4_3133195
1074
1075# Flag to apply erratum 3701758 workaround during context save/restore of
1076# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1, r0p2 and r0p3
1077# of the Cortex-X4 cpu and is still open.
1078CPU_FLAG_LIST += ERRATA_X4_3701758
1079
1080# Flag to apply erratum 3887999 workaround on reset. This erratum applies to
1081# revisions r0p0, r0p1, r0p2 and r0p3 of the Cortex-X4 cpu and is still open.
1082CPU_FLAG_LIST += ERRATA_X4_3887999
1083
1084# Flag to apply erratum 2921199 workaround during reset. This erratum applies
1085# to revision r0p0 of the Cortex-X925 cpu and is fixed in r0p1.
1086CPU_FLAG_LIST += ERRATA_X925_2921199
1087
1088# Flag to apply erratum 2922378 workaround during reset. This erratum applies
1089# to revision r0p0 of the Cortex-X925 cpu and is fixed in r0p1.
1090CPU_FLAG_LIST += ERRATA_X925_2922378
1091
1092# Flag to apply erratum 2933290 workaround during reset. This erratum applies
1093# to revision r0p0 of the Cortex-X925 cpu and is fixed in r0p1.
1094CPU_FLAG_LIST += ERRATA_X925_2933290
1095
1096# Flag to apply erratum 2963999 workaround during reset. This erratum applies
1097# to revisions r0p0 of the Cortex-X925 cpu and is fixed in r0p1.
1098CPU_FLAG_LIST += ERRATA_X925_2963999
1099
1100# Flag to apply erratum 3324334 workaround during reset. This erratum applies
1101# to revisions r0p0 and r0p1 of the Cortex-X925 cpu and is fixed in r0p2.
1102CPU_FLAG_LIST += ERRATA_X925_3324334
1103
1104# Flag to apply erratum 3692980 workaround during reset. This erratum applies
1105# to revisions r0p0 and r0p1 of the Cortex-X925 cpu and is fixed in r0p2.
1106CPU_FLAG_LIST += ERRATA_X925_3692980
1107
1108# Flag to apply erratum 3865185 workaround during reset. This erratum applies
1109# to revisions r0p0 and r0p1 of the Cortex-X925 cpu and is fixed in r0p2.
1110CPU_FLAG_LIST += ERRATA_X925_3865185
1111
1112# Flag to apply erratum 3730893 workaround during reset. This erratum applies
1113# to revisions r0p0 and r0p1 of the Cortex-X925 cpu and is fixed in r0p2.
1114CPU_FLAG_LIST += ERRATA_X925_3730893
1115
1116# Flag to apply erratum 3701747 workaround during context save/restore of
1117# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1 of the
1118# Cortex-X925 cpu and is still open.
1119CPU_FLAG_LIST += ERRATA_X925_3701747
1120
1121# Flag to apply erratum 2008766 workaround during reset. This erratum applies
1122# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, r1p1, r1p2 and r1p3 of the
1123# Cortex-A510 cpu and is still open.
1124CPU_FLAG_LIST += ERRATA_A510_2008766
1125
1126# Flag to apply erratum 2169012 workaround during reset. This erratum applies
1127# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0 of the Cortex-A510 cpu and is
1128# fixed in r1p1.
1129CPU_FLAG_LIST += ERRATA_A510_2169012
1130
1131# Flag to apply erratum 2218134 workaround during reset. This erratum applies
1132# to revision r1p0 of the Cortex-A510 cpu and is fixed in r1p1.
1133CPU_FLAG_LIST += ERRATA_A510_2218134
1134
1135# Flag to apply erratum 2288014 workaround during reset. This erratum applies
1136# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0 of the Cortex-A510 cpu and is
1137# fixed in r1p1.
1138CPU_FLAG_LIST += ERRATA_A510_2288014
1139
1140# Flag to apply erratum 2042739 workaround during reset. This erratum applies
1141# to revisions r0p0, r0p1 and r0p2 of the Cortex-A510 cpu and is fixed in r0p3.
1142CPU_FLAG_LIST += ERRATA_A510_2042739
1143
1144# Flag to apply erratum 2041909 workaround during reset. This erratum applies
1145# to revision r0p2 of the Cortex-A510 cpu and is fixed in r0p3. The issue is
1146# present in r0p0 and r0p1 but there is no workaround for those revisions.
1147CPU_FLAG_LIST += ERRATA_A510_2041909
1148
1149# Flag to aply erratum 2080326 workaround during reset. This erratum applies
1150# to revision r0p2 of the Cortex-A510 cpu and is fixed in r0p3. The issue is
1151# also present in r0p0 and r0p1 but there is no workaround for those revisions.
1152CPU_FLAG_LIST += ERRATA_A510_2080326
1153
1154# Flag to apply erratum 2250311 workaround during reset. This erratum applies
1155# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
1156CPU_FLAG_LIST += ERRATA_A510_2250311
1157
1158# Flag to apply erratum 2218950 workaround during reset. This erratum applies
1159# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
1160CPU_FLAG_LIST += ERRATA_A510_2218950
1161
1162# Flag to apply erratum 2172148 workaround during reset. This erratum applies
1163# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
1164CPU_FLAG_LIST += ERRATA_A510_2172148
1165
1166# Flag to apply erratum 2347730 workaround during reset. This erratum applies
1167# to revisions r0p0, r0p1, r0p2, r0p3, r1p0 and r1p1 of the Cortex-A510 CPU,
1168# and is fixed in r1p2.
1169CPU_FLAG_LIST += ERRATA_A510_2347730
1170
1171# Flag to apply erratum 2371937 workaround during reset. This erratum applies
1172# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2.
1173CPU_FLAG_LIST += ERRATA_A510_2371937
1174
1175# Flag to apply erratum 2420992 workaround during reset. This erratum applies
1176# to revisions r1p0 and r1p1. It is fixed in r1p2.
1177CPU_FLAG_LIST += ERRATA_A510_2420992
1178
1179# Flag to apply erratum 2666669 workaround during reset. This erratum applies
1180# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2.
1181CPU_FLAG_LIST += ERRATA_A510_2666669
1182
1183# Flag to apply erratum 2684597 workaround during powerdown. This erratum
1184# applies to revision r0p0, r0p1, r0p2, r0p3, r1p0, r1p1 and r1p2 of the
1185# Cortex-A510 cpu and is fixed in r1p3.
1186CPU_FLAG_LIST += ERRATA_A510_2684597
1187
1188# Flag to apply erratum 2971420 workaround during context switch. This erratum
1189# applies to revisions r0p1, r0p2, r0p3, r1p0, r1p1, r1p2 and r1p3 of the
1190# Cortex-A510 cpu and is still open.
1191CPU_FLAG_LIST += ERRATA_A510_2971420
1192
1193# Flag to apply erratum 3672349 workaround during reset. This erratum applies to
1194# revisions r0p0, r0p1, r0p2, r0p3, r1p0, r1p1, r1p2 and r1p3 of the Cortex-A510
1195# cpu and is still open.
1196CPU_FLAG_LIST += ERRATA_A510_3672349
1197
1198# Flag to apply erratum 3704847 workaround during reset. This erratum applies to
1199# revisions r0p0, r0p1, r0p2, r0p3, r1p0, r1p1, r1p2 and r1p3 of the Cortex-A510
1200# cpu and is still open.
1201CPU_FLAG_LIST += ERRATA_A510_3704847
1202
1203# Flag to apply erratum 2630792 workaround during reset. This erratum applies
1204# to revisions r0p0, r0p1 of the Cortex-A520 cpu and is still open.
1205CPU_FLAG_LIST += ERRATA_A520_2630792
1206
1207# Flag to apply erratum 2858100 workaround during reset. This erratum
1208# applies to revision r0p0 and r0p1 of the Cortex-A520 cpu and is still open.
1209CPU_FLAG_LIST += ERRATA_A520_2858100
1210
1211# Flag to apply erratum 2938996 workaround during reset. This erratum
1212# applies to revision r0p0 and r0p1 of the Cortex-A520 cpu and is fixed in r0p2.
1213CPU_FLAG_LIST += ERRATA_A520_2938996
1214
1215# Flag to apply erratum 2618597 workaround during reset. This erratum applies
1216# to revisions r0p0 and r0p1. It is fixed in r0p2.
1217CPU_FLAG_LIST += ERRATA_V2_2618597
1218
1219# Flag to apply erratum 2662553 workaround during reset. This erratum applies
1220# to revisions r0p0 and r0p1. It is fixed in r0p2.
1221CPU_FLAG_LIST += ERRATA_V2_2662553
1222
1223# Flag to apply erratum 2719103 workaround for non-arm interconnect ip. This
1224# erratum applies to revisions r0p0, rop1. Fixed in r0p2.
1225CPU_FLAG_LIST += ERRATA_V2_2719103
1226
1227# Flag to apply erratum 2719105 workaround during reset. This erratum applies
1228# to revisions r0p0 and r0p1. It is fixed in r0p2.
1229CPU_FLAG_LIST += ERRATA_V2_2719105
1230
1231# Flag to apply erratum 2743011 workaround during reset. This erratum applies
1232# to revisions r0p0 and r0p1. It is fixed in r0p2.
1233CPU_FLAG_LIST += ERRATA_V2_2743011
1234
1235# Flag to apply erratum 2779510 workaround during reset. This erratum applies
1236# to revisions r0p0 and r0p1. It is fixed in r0p2.
1237CPU_FLAG_LIST += ERRATA_V2_2779510
1238
1239# Flag to apply erratum 2801372 workaround for all configurations.
1240# This erratum applies to revisions r0p0, r0p1. Fixed in r0p2.
1241CPU_FLAG_LIST += ERRATA_V2_2801372
1242
1243# Flag to apply erratum 3442699 workaround during reset. This erratum applies
1244# to revision r0p0 to r0p2 of the Neoverse V2 cpu and is still open.
1245CPU_FLAG_LIST += ERRATA_V2_3442699
1246
1247# Flag to apply erratum 3701771 workaround during context save/restore of
1248# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1 and r0p2 of
1249# the Neoverse V2 cpu and is still open.
1250CPU_FLAG_LIST += ERRATA_V2_3701771
1251
1252# Flag to apply erratum 3841324 workaround on reset. This erratum applies
1253# to revisions r0p0 and r0p1 of the Neoverse-V2 cpu. It is fixed in r0p2.
1254CPU_FLAG_LIST += ERRATA_V2_3841324
1255
1256# Flag to apply erratum 3888126 workaround on reset. This erratum applies
1257# to revisions r0p0, r0p1, r0p2 of the Neoverse-V2 cpu. It is still open.
1258CPU_FLAG_LIST += ERRATA_V2_3888126
1259
1260# Flag to apply erratum 4302968 workaround on reset. This erratum applies
1261# to revisions r0p0, r0p1, r0p2 of the Neoverse-V2 cpu. It is still open.
1262CPU_FLAG_LIST += ERRATA_V2_4302968
1263
1264# Flag to apply erratum 2331818 workaround during reset. This erratum applies
1265# to revisions r0p0 and r1p0. It is fixed in r1p1.
1266CPU_FLAG_LIST += ERRATA_A715_2331818
1267
1268# Flag to apply erratum 2344187 workaround during reset. This erratum applies
1269# to revisions r0p0, and r1p0. It is fixed in r1p1.
1270CPU_FLAG_LIST += ERRATA_A715_2344187
1271
1272# Flag to apply erratum 2376701 workaround during reset. This erratum applies
1273# to revisions r0p0, and r1p0. It is fixed in r1p1.
1274CPU_FLAG_LIST += ERRATA_A715_2376701
1275
1276# Flag to apply erratum 2409570 workaround during reset. This erratum applies to
1277# revisions r0p0 and r1p0 and is fixed in r1p1. The fix as implemented in TF-A
1278# only applies to r1p0.
1279CPU_FLAG_LIST += ERRATA_A715_2409570
1280
1281# Flag to apply erratum 2413290 workaround during reset. This erratum applies
1282# only to revision r1p0. It is fixed in r1p1.
1283CPU_FLAG_LIST += ERRATA_A715_2413290
1284
1285# Flag to apply erratum 2420947 workaround during reset. This erratum applies
1286# only to revision r1p0. It is fixed in r1p1.
1287CPU_FLAG_LIST += ERRATA_A715_2420947
1288
1289# Flag to apply erratum 2429384 workaround during reset. This erratum applies
1290# to revision r1p0. There is no workaround for r0p0. It is fixed in r1p1.
1291CPU_FLAG_LIST += ERRATA_A715_2429384
1292
1293# Flag to apply erratum 2561034 workaround during reset. This erratum applies
1294# only to revision r1p0. It is fixed in r1p1.
1295CPU_FLAG_LIST += ERRATA_A715_2561034
1296
1297# Flag to apply erratum 2728106 workaround during reset. This erratum applies
1298# only to revision r0p0, r1p0 and r1p1. It is fixed in r1p2.
1299CPU_FLAG_LIST += ERRATA_A715_2728106
1300
1301# Flag to apply erratum 2804830 workaround during reset. This erratum applies
1302# to revisions r0p0, r1p0, r1p1 and r1p2. It is fixed in r1p3.
1303CPU_FLAG_LIST += ERRATA_A715_2804830
1304
1305# Flag to apply erratum 3456084 workaround during reset. This erratum applies
1306# to revisions r0p0, r1p0, r1p1, r1p2 and r1p3, and is still open.
1307CPU_FLAG_LIST += ERRATA_A715_3456084
1308
1309# Flag to apply erratum 3699560 workaround during context save/restore of
1310# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r1p2, r1p3
1311# of the Cortex-A715 cpu and is still open.
1312CPU_FLAG_LIST += ERRATA_A715_3699560
1313
1314# Flag to apply erratum 3711916 workaround during reset. This erratum applies
1315# to revisions r0p0, r1p0, r1p1, r1p2 and r1p3 and is still open.
1316CPU_FLAG_LIST += ERRATA_A715_3711916
1317
1318# Flag to apply erratum 2729604 workaround during reset. This erratum applies
1319# to revisions r0p0 and r0p1. It is fixed in r0p2.
1320CPU_FLAG_LIST += ERRATA_A720_2729604
1321
1322# Flag to apply erratum 2792132 workaround during reset. This erratum applies
1323# to revisions r0p0 and r0p1. It is fixed in r0p2.
1324CPU_FLAG_LIST += ERRATA_A720_2792132
1325
1326# Flag to apply erratum 2844092 workaround during reset. This erratum applies
1327# to revisions r0p0 and r0p1. It is fixed in r0p2.
1328CPU_FLAG_LIST += ERRATA_A720_2844092
1329
1330# Flag to apply erratum 2926083 workaround during reset. This erratum applies
1331# to revisions r0p0 and r0p1. It is fixed in r0p2.
1332CPU_FLAG_LIST += ERRATA_A720_2926083
1333
1334# Flag to apply erratum 2940794 workaround during reset. This erratum applies
1335# to revisions r0p0 and r0p1. It is fixed in r0p2.
1336CPU_FLAG_LIST += ERRATA_A720_2940794
1337
1338# Flag to apply erratum 3456091 workaround during reset. This erratum applies
1339# to revisions r0p0, r0p1 and r0p2 of the Cortex-A720 cpu and is still open.
1340CPU_FLAG_LIST += ERRATA_A720_3456091
1341
1342# Flag to apply erratum 3699561 workaround during context save/restore of
1343# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1, r0p2 of
1344# the Cortex-A720 cpu and is still open.
1345CPU_FLAG_LIST += ERRATA_A720_3699561
1346
1347# Flag to apply erratum 2940794 workaround during reset. This erratum applies
1348# to revisions r0p0, r0p1 and r0p2 of the Cortex-A720 cpu and is still open.
1349CPU_FLAG_LIST += ERRATA_A720_3711910
1350
1351# Flag to apply erratum 3456103 workaround during reset. This erratum applies
1352# to revisions r0p0 and r0p1 and is still open.
1353CPU_FLAG_LIST += ERRATA_A720_AE_3456103
1354
1355# Flag to apply erratum 3699562 workaround during context save/restore of
1356# ICH_VMCR_EL2 reg. This erratum applies to revision r0p0 the Cortex-A720-AE
1357# cpu and is still open.
1358CPU_FLAG_LIST += ERRATA_A720_AE_3699562
1359
1360# Flag to apply erratum 2874943 workaround during reset. This erratum applies
1361# to revisions r0p0 of the Cortex-A725 cpu and is fixed in r0p1.
1362CPU_FLAG_LIST += ERRATA_A725_2874943
1363
1364# Flag to apply erratum 2936490 workaround during reset. This erratum applies
1365# to revisions r0p0 of the Cortex-A725 cpu and is fixed in r0p1.
1366CPU_FLAG_LIST += ERRATA_A725_2936490
1367
1368# Flag to apply erratum 3456106 workaround during runtime. This erratum applies
1369# to revisions r0p0, r0p1 and r0p2 of the Cortex-A725 cpu and is still open.
1370CPU_FLAG_LIST += ERRATA_A725_3456106
1371
1372# Flag to apply erratum 3699564 workaround during context save/restore of
1373# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1 of
1374# the Cortex-A725 cpu and is fixed in r0p2.
1375CPU_FLAG_LIST += ERRATA_A725_3699564
1376
1377# Flag to apply erratum 3699564 workaround during reset. This erratum applies
1378# to revisions r0p0 and r0p1 and is fixed in r0p2.
1379CPU_FLAG_LIST += ERRATA_A725_3711914
1380
1381# Flag to apply erratum 3502731 workaround during reset. This erratum
1382# applies to revision r0p0 of C1-Ultra cpu and is fixed in r1p0.
1383CPU_FLAG_LIST += ERRATA_C1ULTRA_3502731
1384
1385# Flag to apply erratum 3324333 workaround during reset. This erratum
1386# applies to revision r0p0 of C1-Ultra cpu and is fixed in r1p0.
1387CPU_FLAG_LIST += ERRATA_C1ULTRA_3324333
1388
1389# Flag to apply erratum 3658374 workaround during reset. This erratum
1390# applies to revisions r0p0, r1p0 of C1-Ultra cpu and is still open.
1391CPU_FLAG_LIST += ERRATA_C1ULTRA_3658374
1392
1393# Flag to apply erratum 3684152 workaround during reset. This erratum
1394# applies to revision r0p0 of C1-Ultra cpu and is fixed in r1p0.
1395CPU_FLAG_LIST += ERRATA_C1ULTRA_3684152
1396
1397# Flag to apply erratum 3705939 workaround during reset. This erratum
1398# applies to revisions r0p0 and r1p0 of C1-Ultra cpu and is still open.
1399CPU_FLAG_LIST += ERRATA_C1ULTRA_3705939
1400
1401# Flag to apply erratum 3815514 workaround during reset. This erratum
1402# applies to revisions r0p0 and r1p0 of C1-Ultra cpu and is still open.
1403CPU_FLAG_LIST += ERRATA_C1ULTRA_3815514
1404
1405# Flag to apply erratum 3865171 workaround during reset. This erratum
1406# applies to revisions r0p0 and r1p0 of C1-Ultra cpu and is still open.
1407CPU_FLAG_LIST += ERRATA_C1ULTRA_3865171
1408
1409# Flag to apply erratum 3926381 workaround during reset. This erratum
1410# applies to revision r1p0 of C1-Ultra cpu and is still open.
1411CPU_FLAG_LIST += ERRATA_C1ULTRA_3926381
1412
1413# Flag to apply erratum 4102704 workaround during reset. This erratum
1414# applies to revisions r0p0 and r1p0 of C1-Ultra cpu and is still open.
1415CPU_FLAG_LIST += ERRATA_C1ULTRA_4102704
1416
1417# Flag to apply erratum 3324333 workaround during runtime. This erratum applies
1418# to revision r0p0 of C1-Premium cpu and is fixed in r1p0.
1419CPU_FLAG_LIST += ERRATA_C1PREMIUM_3324333
1420
1421# Flag to apply erratum 3502731 workaround during reset. This erratum applies
1422# to revision r0p0 of C1-Premium cpu and is fixed in r1p0.
1423CPU_FLAG_LIST += ERRATA_C1PREMIUM_3502731
1424
1425# Flag to apply erratum 3684152 workaround during reset. This erratum applies
1426# to revision r0p0 of C1-Premium cpu and is fixed in r1p0.
1427CPU_FLAG_LIST += ERRATA_C1PREMIUM_3684152
1428
1429# Flag to apply erratum 3705939 workaround during reset. This erratum applies
1430# to revisions r0p0, r1p0 of C1-Premium cpu and is still open.
1431CPU_FLAG_LIST += ERRATA_C1PREMIUM_3705939
1432
1433# Flag to apply erratum 3815514 workaround during reset. This erratum applies
1434# to revisions r0p0, r1p0 of C1-Premium cpu and is still open.
1435CPU_FLAG_LIST += ERRATA_C1PREMIUM_3815514
1436
1437# Flag to apply erratum 3865171 workaround during reset. This erratum applies
1438# to revisions r0p0, r1p0 of C1-Premium cpu and is still open.
1439CPU_FLAG_LIST += ERRATA_C1PREMIUM_3865171
1440
1441# Flag to apply erratum 3926381 workaround during reset. This erratum applies
1442# to revision r1p0 of C1-Premium cpu and is still open.
1443CPU_FLAG_LIST += ERRATA_C1PREMIUM_3926381
1444
1445# Flag to apply erratum 4102704 workaround during reset. This erratum applies
1446# to revisions r0p0, r1p0 of C1-Premium cpu and is still open.
1447CPU_FLAG_LIST += ERRATA_C1PREMIUM_4102704
1448
1449# Flag to apply erratum 3338470 workaround during reset. This erratum applies
1450# to revision r0p0 of the C1-Pro cpu and is fixed in r1p0.
1451CPU_FLAG_LIST += ERRATA_C1PRO_3338470
1452
1453# Flag to apply erratum 3362007 workaround during reset. This erratum applies
1454# to revision r0p0 of the C1-Pro cpu and is fixed in r1p0.
1455CPU_FLAG_LIST += ERRATA_C1PRO_3362007
1456
1457# Flag to apply erratum 3619847 workaround during reset. This erratum applies
1458# to revision r0p0 of the C1-Pro cpu and is fixed in r1p0.
1459CPU_FLAG_LIST += ERRATA_C1PRO_3619847
1460
1461# Flag to apply erratum 3686597 workaround during runtime. This erratum applies
1462# to revisions r0p0, r1p0 of the C1-Pro cpu and is fixed in r1p1.
1463CPU_FLAG_LIST += ERRATA_C1PRO_3686597
1464
1465# Flag to apply erratum 3694158 workaround during reset. This erratum applies
1466# to revisions r0p0, r1p0 and r1p1 of the C1-Pro cpu and is fixed in r1p2.
1467CPU_FLAG_LIST += ERRATA_C1PRO_3694158
1468
1469# Flag to apply erratum 3706576 workaround during reset. This erratum applies
1470# to revisions r0p0 and r1p0 of the C1-Pro cpu and is fixed in r1p1.
1471CPU_FLAG_LIST += ERRATA_C1PRO_3706576
1472
1473# Flag to apply erratum 3300099 workaround during runtime. This erratum applies
1474# to revisions r0p0 and r1p0 of the C1-Pro cpu and is fixed in r1p1.
1475CPU_FLAG_LIST += ERRATA_C1PRO_3300099
1476
1477# Flag to apply erratum 3392149 workaround during reset. This erratum applies
1478# to revision r0p0 of C1-Nano cpu and is fixed in r0p1.
1479CPU_FLAG_LIST += ERRATA_C1NANO_3392149
1480
1481# Flag to apply erratum 3419531 workaround during reset. This erratum applies
1482# to revision r0p0 of C1-Nano cpu and is fixed in r0p1.
1483CPU_FLAG_LIST += ERRATA_C1NANO_3419531
1484
1485# Flag to apply erratum 3437202 workaround during reset. This erratum applies
1486# to revision r0p0 of C1-Nano cpu and is fixed in r0p1.
1487CPU_FLAG_LIST += ERRATA_C1NANO_3437202
1488
1489# Flag to apply erratum 3516455 workaround during reset. This erratum applies
1490# to revision r0p0 of C1-Nano cpu and is fixed in r0p1.
1491CPU_FLAG_LIST += ERRATA_C1NANO_3516455
1492
1493# Flag to apply erratum 3616450 workaround during reset. This erratum applies
1494# to revision r0p0 of C1-Nano cpu and is fixed in r0p1.
1495CPU_FLAG_LIST += ERRATA_C1NANO_3616450
1496
1497# Flag to apply erratum 3630925 workaround during reset. This erratum applies
1498# to revision r0p0 of C1-Nano cpu and is fixed in r0p1.
1499CPU_FLAG_LIST += ERRATA_C1NANO_3630925
1500
1501# Flag to apply erratum 3754876 workaround during runtime. This erratum applies
1502# to revision r0p0 and r0p1 of C1-Nano cpu and is fixed in r0p2.
1503CPU_FLAG_LIST += ERRATA_C1NANO_3754876
1504
1505# Flag to apply DSU erratum 798953. This erratum applies to DSUs revision r0p0.
1506# Applying the workaround results in higher DSU power consumption on idle.
1507CPU_FLAG_LIST += ERRATA_DSU_798953
1508
1509# Flag to apply DSU erratum 936184. This erratum applies to DSUs containing
1510# the ACP interface and revision < r0p0. Applying the workaround results in
1511# higher DSU power consumption on idle.
1512CPU_FLAG_LIST += ERRATA_DSU_936184
1513
1514# Flag to apply DSU erratum 2313941. This erratum applies to DSUs revisions
1515# r0p0, r1p0, r2p0, r2p1, r3p0, r3p1 and is still open. Applying the workaround
1516# results in higher DSU power consumption on idle.
1517CPU_FLAG_LIST += ERRATA_DSU_2313941
1518
1519# Flag to apply DSU erratum 2900952 during reset. This erratum applies
1520# to some implementations of DSU-120 revision r2p0. Erratum might be fixed
1521# in some implementations of r2p0. This can be determined by reading
1522# the IMP_CLUSTERREVIDR_EL1 register where a set bit indicates that
1523# the erratum is fixed in this part. It is fixed in r2p1.
1524CPU_FLAG_LIST += ERRATA_DSU_2900952
1525
1526# process all flags
1527ifeq (${ENABLE_ERRATA_ALL},1)
1528$(eval $(call default_ones, $(CPU_FLAG_LIST)))
1529else
1530$(eval $(call default_zeros, $(CPU_FLAG_LIST)))
1531endif
1532