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