xref: /rk3399_ARM-atf/lib/cpus/cpu-ops.mk (revision 16de9fae932cd7b86e1aaaf73b34ff7a379e19fe)
1#
2# Copyright (c) 2014-2025, 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
45# Flags to indicate internal or external Last level cache
46# By default internal
47CPU_FLAG_LIST += NEOVERSE_Nx_EXTERNAL_LLC
48
49# Flag to enable or disable hardware prefetcher for Neoverse N2 CPU
50# By default enabled
51CPU_FLAG_LIST += NEOVERSE_N2_PREFETCHER_DISABLE
52
53# CPU Errata Build flags.
54# These should be enabled by the platform if the erratum workaround needs to be
55# applied.
56
57# Flag to apply erratum 794073 workaround when disabling mmu.
58CPU_FLAG_LIST += ERRATA_A9_794073
59
60# Flag to apply erratum 816470 workaround during power down. This erratum
61# applies only to revision >= r3p0 of the Cortex A15 cpu.
62CPU_FLAG_LIST += ERRATA_A15_816470
63
64# Flag to apply erratum 827671 workaround during reset. This erratum applies
65# only to revision >= r3p0 of the Cortex A15 cpu.
66CPU_FLAG_LIST += ERRATA_A15_827671
67
68# Flag to apply erratum 852421 workaround during reset. This erratum applies
69# only to revision <= r1p2 of the Cortex A17 cpu.
70CPU_FLAG_LIST += ERRATA_A17_852421
71
72# Flag to apply erratum 852423 workaround during reset. This erratum applies
73# only to revision <= r1p2 of the Cortex A17 cpu.
74CPU_FLAG_LIST += ERRATA_A17_852423
75
76# Flag to apply erratum 855472 workaround during reset. This erratum applies
77# only to revision r0p0 of the Cortex A35 cpu.
78CPU_FLAG_LIST += ERRATA_A35_855472
79
80# Flag to apply erratum 819472 workaround during reset. This erratum applies
81# only to revision <= r0p1 of the Cortex A53 cpu.
82CPU_FLAG_LIST += ERRATA_A53_819472
83
84# Flag to apply erratum 824069 workaround during reset. This erratum applies
85# only to revision <= r0p2 of the Cortex A53 cpu.
86CPU_FLAG_LIST += ERRATA_A53_824069
87
88# Flag to apply erratum 826319 workaround during reset. This erratum applies
89# only to revision <= r0p2 of the Cortex A53 cpu.
90CPU_FLAG_LIST += ERRATA_A53_826319
91
92# Flag to apply erratum 827319 workaround during reset. This erratum applies
93# only to revision <= r0p2 of the Cortex A53 cpu.
94CPU_FLAG_LIST += ERRATA_A53_827319
95
96# Flag to apply erratum 835769 workaround at compile and link time. This
97# erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this
98# workaround can lead the linker to create "*.stub" sections.
99CPU_FLAG_LIST += ERRATA_A53_835769
100
101# Flag to apply erratum 836870 workaround during reset. This erratum applies
102# only to revision <= r0p3 of the Cortex A53 cpu. From r0p4 and onwards, this
103# erratum workaround is enabled by default in hardware.
104CPU_FLAG_LIST += ERRATA_A53_836870
105
106# Flag to apply erratum 843419 workaround at link time.
107# This erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this
108# workaround could lead the linker to emit "*.stub" sections which are 4kB
109# aligned.
110CPU_FLAG_LIST += ERRATA_A53_843419
111
112# Flag to apply errata 855873 during reset. This errata applies to all
113# revisions of the Cortex A53 CPU, but this firmware workaround only works
114# for revisions r0p3 and higher. Earlier revisions are taken care
115# of by the rich OS.
116CPU_FLAG_LIST += ERRATA_A53_855873
117
118# Flag to apply erratum 1530924 workaround during reset. This erratum applies
119# to all revisions of Cortex A53 cpu.
120CPU_FLAG_LIST += ERRATA_A53_1530924
121
122# Flag to apply erratum 768277 workaround during reset. This erratum applies
123# only to revision r0p0 of the Cortex A55 cpu.
124CPU_FLAG_LIST += ERRATA_A55_768277
125
126# Flag to apply erratum 778703 workaround during reset. This erratum applies
127# only to revision r0p0 of the Cortex A55 cpu.
128CPU_FLAG_LIST += ERRATA_A55_778703
129
130# Flag to apply erratum 798797 workaround during reset. This erratum applies
131# only to revision r0p0 of the Cortex A55 cpu.
132CPU_FLAG_LIST += ERRATA_A55_798797
133
134# Flag to apply erratum 846532 workaround during reset. This erratum applies
135# only to revision <= r0p1 of the Cortex A55 cpu.
136CPU_FLAG_LIST += ERRATA_A55_846532
137
138# Flag to apply erratum 903758 workaround during reset. This erratum applies
139# only to revision <= r0p1 of the Cortex A55 cpu.
140CPU_FLAG_LIST += ERRATA_A55_903758
141
142# Flag to apply erratum 1221012 workaround during reset. This erratum applies
143# only to revision <= r1p0 of the Cortex A55 cpu.
144CPU_FLAG_LIST += ERRATA_A55_1221012
145
146# Flag to apply erratum 1530923 workaround during reset. This erratum applies
147# to all revisions of Cortex A55 cpu.
148CPU_FLAG_LIST += ERRATA_A55_1530923
149
150# Flag to apply erratum 806969 workaround during reset. This erratum applies
151# only to revision r0p0 of the Cortex A57 cpu.
152CPU_FLAG_LIST += ERRATA_A57_806969
153
154# Flag to apply erratum 813419 workaround during reset. This erratum applies
155# only to revision r0p0 of the Cortex A57 cpu.
156CPU_FLAG_LIST += ERRATA_A57_813419
157
158# Flag to apply erratum 813420 workaround during reset. This erratum applies
159# only to revision r0p0 of the Cortex A57 cpu.
160CPU_FLAG_LIST += ERRATA_A57_813420
161
162# Flag to apply erratum 814670 workaround during reset. This erratum applies
163# only to revision r0p0 of the Cortex A57 cpu.
164CPU_FLAG_LIST += ERRATA_A57_814670
165
166# Flag to apply erratum 817169 workaround during power down. This erratum
167# applies only to revision <= r0p1 of the Cortex A57 cpu.
168CPU_FLAG_LIST += ERRATA_A57_817169
169
170# Flag to apply erratum 826974 workaround during reset. This erratum applies
171# only to revision <= r1p1 of the Cortex A57 cpu.
172CPU_FLAG_LIST += ERRATA_A57_826974
173
174# Flag to apply erratum 826977 workaround during reset. This erratum applies
175# only to revision <= r1p1 of the Cortex A57 cpu.
176CPU_FLAG_LIST += ERRATA_A57_826977
177
178# Flag to apply erratum 828024 workaround during reset. This erratum applies
179# only to revision <= r1p1 of the Cortex A57 cpu.
180CPU_FLAG_LIST += ERRATA_A57_828024
181
182# Flag to apply erratum 829520 workaround during reset. This erratum applies
183# only to revision <= r1p2 of the Cortex A57 cpu.
184CPU_FLAG_LIST += ERRATA_A57_829520
185
186# Flag to apply erratum 833471 workaround during reset. This erratum applies
187# only to revision <= r1p2 of the Cortex A57 cpu.
188CPU_FLAG_LIST += ERRATA_A57_833471
189
190# Flag to apply erratum 855972 workaround during reset. This erratum applies
191# only to revision <= r1p3 of the Cortex A57 cpu.
192CPU_FLAG_LIST += ERRATA_A57_859972
193
194# Flag to apply erratum 1319537 workaround during reset. This erratum applies
195# to all revisions of Cortex A57 cpu.
196CPU_FLAG_LIST += ERRATA_A57_1319537
197
198# Flag to apply erratum 855971 workaround during reset. This erratum applies
199# only to revision <= r0p3 of the Cortex A72 cpu.
200CPU_FLAG_LIST += ERRATA_A72_859971
201
202# Flag to apply erratum 1319367 workaround during reset. This erratum applies
203# to all revisions of Cortex A72 cpu.
204CPU_FLAG_LIST += ERRATA_A72_1319367
205
206# Flag to apply erratum 852427 workaround during reset. This erratum applies
207# only to revision r0p0 of the Cortex A73 cpu.
208CPU_FLAG_LIST += ERRATA_A73_852427
209
210# Flag to apply erratum 855423 workaround during reset. This erratum applies
211# only to revision <= r0p1 of the Cortex A73 cpu.
212CPU_FLAG_LIST += ERRATA_A73_855423
213
214# Flag to apply erratum 764081 workaround during reset. This erratum applies
215# only to revision <= r0p0 of the Cortex A75 cpu.
216CPU_FLAG_LIST += ERRATA_A75_764081
217
218# Flag to apply erratum 790748 workaround during reset. This erratum applies
219# only to revision <= r0p0 of the Cortex A75 cpu.
220CPU_FLAG_LIST += ERRATA_A75_790748
221
222# Flag to apply erratum 1073348 workaround during reset. This erratum applies
223# only to revision <= r1p0 of the Cortex A76 cpu.
224CPU_FLAG_LIST += ERRATA_A76_1073348
225
226# Flag to apply erratum 1130799 workaround during reset. This erratum applies
227# only to revision <= r2p0 of the Cortex A76 cpu.
228CPU_FLAG_LIST += ERRATA_A76_1130799
229
230# Flag to apply erratum 1220197 workaround during reset. This erratum applies
231# only to revision <= r2p0 of the Cortex A76 cpu.
232CPU_FLAG_LIST += ERRATA_A76_1220197
233
234# Flag to apply erratum 1257314 workaround during reset. This erratum applies
235# only to revision <= r3p0 of the Cortex A76 cpu.
236CPU_FLAG_LIST += ERRATA_A76_1257314
237
238# Flag to apply erratum 1262606 workaround during reset. This erratum applies
239# only to revision <= r3p0 of the Cortex A76 cpu.
240CPU_FLAG_LIST += ERRATA_A76_1262606
241
242# Flag to apply erratum 1262888 workaround during reset. This erratum applies
243# only to revision <= r3p0 of the Cortex A76 cpu.
244CPU_FLAG_LIST += ERRATA_A76_1262888
245
246# Flag to apply erratum 1275112 workaround during reset. This erratum applies
247# only to revision <= r3p0 of the Cortex A76 cpu.
248CPU_FLAG_LIST += ERRATA_A76_1275112
249
250# Flag to apply erratum 1286807 workaround during reset. This erratum applies
251# only to revision <= r3p0 of the Cortex A76 cpu.
252CPU_FLAG_LIST += ERRATA_A76_1286807
253
254# Flag to apply erratum 1791580 workaround during reset. This erratum applies
255# only to revision <= r4p0 of the Cortex A76 cpu.
256CPU_FLAG_LIST += ERRATA_A76_1791580
257
258# Flag to apply erratum 1165522 workaround during reset. This erratum applies
259# to all revisions of Cortex A76 cpu.
260CPU_FLAG_LIST += ERRATA_A76_1165522
261
262# Flag to apply erratum 1868343 workaround during reset. This erratum applies
263# only to revision <= r4p0 of the Cortex A76 cpu.
264CPU_FLAG_LIST += ERRATA_A76_1868343
265
266# Flag to apply erratum 1946160 workaround during reset. This erratum applies
267# only to revisions r3p0 - r4p1 of the Cortex A76 cpu.
268CPU_FLAG_LIST += ERRATA_A76_1946160
269
270# Flag to apply erratum 2743102 workaround during powerdown. This erratum
271# applies to all revisions <= r4p1 of the Cortex A76 cpu and is still open.
272CPU_FLAG_LIST += ERRATA_A76_2743102
273
274# Flag to apply erratum 1931427 workaround during reset. This erratum
275# applies to revision r0p0 and r1p0 of the Cortex A76AE cpu and is fixed
276# in r1p1.
277CPU_FLAG_LIST += ERRATA_A76AE_1931427
278
279# Flag to apply erratum 1931435 workaround during reset. This erratum
280# applies to revision r0p0 and r1p0 of the Cortex A76AE cpu and is fixed
281# in r1p1.
282CPU_FLAG_LIST += ERRATA_A76AE_1931435
283
284# Flag to apply erratum 1508412 workaround during reset. This erratum applies
285# only to revision <= r1p0 of the Cortex A77 cpu.
286CPU_FLAG_LIST += ERRATA_A77_1508412
287
288# Flag to apply erratum 1925769 workaround during reset. This erratum applies
289# only to revision <= r1p1 of the Cortex A77 cpu.
290CPU_FLAG_LIST += ERRATA_A77_1925769
291
292# Flag to apply erratum 1946167 workaround during reset. This erratum applies
293# only to revision <= r1p1 of the Cortex A77 cpu.
294CPU_FLAG_LIST += ERRATA_A77_1946167
295
296# Flag to apply erratum 1791578 workaround during reset. This erratum applies
297# to revisions r0p0, r1p0, and r1p1, it is still open.
298CPU_FLAG_LIST += ERRATA_A77_1791578
299
300# Flag to apply erratum 2356587 workaround during reset. This erratum applies
301# to revisions r0p0, r1p0, and r1p1, it is still open.
302CPU_FLAG_LIST += ERRATA_A77_2356587
303
304# Flag to apply erratum 1800714 workaround during reset. This erratum applies
305# to revisions <= r1p1 of the Cortex A77 cpu.
306CPU_FLAG_LIST += ERRATA_A77_1800714
307
308# Flag to apply erratum 2743100 workaround during power down. This erratum
309# applies to revisions r0p0, r1p0, and r1p1, it is still open.
310CPU_FLAG_LIST += ERRATA_A77_2743100
311
312# Flag to apply erratum 1688305 workaround during reset. This erratum applies
313# to revisions r0p0 - r1p0 of the A78 cpu.
314CPU_FLAG_LIST += ERRATA_A78_1688305
315
316# Flag to apply erratum 1941498 workaround during reset. This erratum applies
317# to revisions r0p0, r1p0, and r1p1 of the A78 cpu.
318CPU_FLAG_LIST += ERRATA_A78_1941498
319
320# Flag to apply erratum 1951500 workaround during reset. This erratum applies
321# to revisions r1p0 and r1p1 of the A78 cpu. The issue is present in r0p0 as
322# well but there is no workaround for that revision.
323CPU_FLAG_LIST += ERRATA_A78_1951500
324
325# Flag to apply erratum 1821534 workaround during reset. This erratum applies
326# to revisions r0p0 and r1p0 of the A78 cpu.
327CPU_FLAG_LIST += ERRATA_A78_1821534
328
329# Flag to apply erratum 1952683 workaround during reset. This erratum applies
330# to revision r0p0 of the A78 cpu and was fixed in the revision r1p0.
331CPU_FLAG_LIST += ERRATA_A78_1952683
332
333# Flag to apply erratum 2242635 workaround during reset. This erratum applies
334# to revisions r1p0, r1p1, and r1p2 of the A78 cpu and is open. The issue is
335# present in r0p0 as well but there is no workaround for that revision.
336CPU_FLAG_LIST += ERRATA_A78_2242635
337
338# Flag to apply erratum 2376745 workaround during reset. This erratum applies
339# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
340CPU_FLAG_LIST += ERRATA_A78_2376745
341
342# Flag to apply erratum 2395406 workaround during reset. This erratum applies
343# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
344CPU_FLAG_LIST += ERRATA_A78_2395406
345
346# Flag to apply erratum 2712571 workaround for non-arm interconnect ip. This
347# erratum applies to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu.
348# It is fixed in r1p2.
349CPU_FLAG_LIST += ERRATA_A78_2712571
350
351# Flag to apply erratum 2742426 workaround during reset. This erratum
352# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still
353# open.
354CPU_FLAG_LIST += ERRATA_A78_2742426
355
356# Flag to apply erratum 2772019 workaround during powerdown. This erratum
357# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still
358# open.
359CPU_FLAG_LIST += ERRATA_A78_2772019
360
361# Flag to apply erratum 2779479 workaround during reset. This erratum applies
362# to revision r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still open.
363CPU_FLAG_LIST += ERRATA_A78_2779479
364
365# Flag to apply erratum 1941500 workaround during reset. This erratum applies
366# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
367CPU_FLAG_LIST += ERRATA_A78_AE_1941500
368
369# Flag to apply erratum 1951502 workaround during reset. This erratum applies
370# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
371CPU_FLAG_LIST += ERRATA_A78_AE_1951502
372
373# Flag to apply erratum 2376748 workaround during reset. This erratum applies
374# to revisions r0p0, r0p1 and r0p2 of the A78 AE cpu. It is still open.
375CPU_FLAG_LIST += ERRATA_A78_AE_2376748
376
377# Flag to apply erratum 2395408 workaround during reset. This erratum applies
378# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
379CPU_FLAG_LIST += ERRATA_A78_AE_2395408
380
381# Flag to apply erratum 1827430 workaround during reset. This erratum applies
382# to revision r0p0 of the A78C cpu. It is fixed in r0p1.
383CPU_FLAG_LIST += ERRATA_A78C_1827430
384
385# Flag to apply erratum 1827440 workaround during reset. This erratum applies
386# to revision r0p0 of the A78C cpu. It is fixed in r0p1.
387CPU_FLAG_LIST += ERRATA_A78C_1827440
388
389# Flag to apply erratum 2712574 workaround for non-arm interconnect ip. This
390# erratum applies to revisions r0p0, r0p1 and r0p2 of the A78 AE cpu.
391# It is still open.
392CPU_FLAG_LIST += ERRATA_A78_AE_2712574
393
394# Flag to apply erratum 2242638 workaround during reset. This erratum applies
395# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
396CPU_FLAG_LIST += ERRATA_A78C_2242638
397
398# Flag to apply erratum 2376749 workaround during reset. This erratum applies
399# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
400CPU_FLAG_LIST += ERRATA_A78C_2376749
401
402# Flag to apply erratum 2395411 workaround during reset. This erratum applies
403# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
404CPU_FLAG_LIST += ERRATA_A78C_2395411
405
406# Flag to apply erratum 2683027 workaround during reset. This erratum applies
407# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
408CPU_FLAG_LIST += ERRATA_A78C_2683027
409
410# Flag to apply erratum 2712575 workaround for non-arm interconnect ip. This
411# erratum applies to revisions r0p1 and r0p2 of the A78C cpu.
412# It is still open.
413CPU_FLAG_LIST += ERRATA_A78C_2712575
414
415# Flag to apply erratum 2743232 workaround during reset. This erratum applies
416# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
417CPU_FLAG_LIST += ERRATA_A78C_2743232
418
419# Flag to apply erratum 2772121 workaround during powerdown. This erratum
420# applies to revisions r0p0, r0p1 and r0p2 of the A78C cpu. It is still open.
421CPU_FLAG_LIST += ERRATA_A78C_2772121
422
423# Flag to apply erratum 2779484 workaround during reset. This erratum
424# applies to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
425CPU_FLAG_LIST += ERRATA_A78C_2779484
426
427# Flag to apply erratum 1821534 workaround during reset. This erratum applies
428# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
429CPU_FLAG_LIST += ERRATA_X1_1821534
430
431# Flag to apply erratum 1688305 workaround during reset. This erratum applies
432# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
433CPU_FLAG_LIST += ERRATA_X1_1688305
434
435# Flag to apply erratum 1827429 workaround during reset. This erratum applies
436# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
437CPU_FLAG_LIST += ERRATA_X1_1827429
438
439# Flag to apply T32 CLREX workaround during reset. This erratum applies
440# only to r0p0 and r1p0 of the Neoverse N1 cpu.
441CPU_FLAG_LIST += ERRATA_N1_1043202
442
443# Flag to apply erratum 1073348 workaround during reset. This erratum applies
444# only to revision r0p0 and r1p0 of the Neoverse N1 cpu.
445CPU_FLAG_LIST += ERRATA_N1_1073348
446
447# Flag to apply erratum 1130799 workaround during reset. This erratum applies
448# only to revision <= r2p0 of the Neoverse N1 cpu.
449CPU_FLAG_LIST += ERRATA_N1_1130799
450
451# Flag to apply erratum 1165347 workaround during reset. This erratum applies
452# only to revision <= r2p0 of the Neoverse N1 cpu.
453CPU_FLAG_LIST += ERRATA_N1_1165347
454
455# Flag to apply erratum 1207823 workaround during reset. This erratum applies
456# only to revision <= r2p0 of the Neoverse N1 cpu.
457CPU_FLAG_LIST += ERRATA_N1_1207823
458
459# Flag to apply erratum 1220197 workaround during reset. This erratum applies
460# only to revision <= r2p0 of the Neoverse N1 cpu.
461CPU_FLAG_LIST += ERRATA_N1_1220197
462
463# Flag to apply erratum 1257314 workaround during reset. This erratum applies
464# only to revision <= r3p0 of the Neoverse N1 cpu.
465CPU_FLAG_LIST += ERRATA_N1_1257314
466
467# Flag to apply erratum 1262606 workaround during reset. This erratum applies
468# only to revision <= r3p0 of the Neoverse N1 cpu.
469CPU_FLAG_LIST += ERRATA_N1_1262606
470
471# Flag to apply erratum 1262888 workaround during reset. This erratum applies
472# only to revision <= r3p0 of the Neoverse N1 cpu.
473CPU_FLAG_LIST += ERRATA_N1_1262888
474
475# Flag to apply erratum 1275112 workaround during reset. This erratum applies
476# only to revision <= r3p0 of the Neoverse N1 cpu.
477CPU_FLAG_LIST += ERRATA_N1_1275112
478
479# Flag to apply erratum 1315703 workaround during reset. This erratum applies
480# to revisions before r3p1 of the Neoverse N1 cpu.
481CPU_FLAG_LIST += ERRATA_N1_1315703
482
483# Flag to apply erratum 1542419 workaround during reset. This erratum applies
484# to revisions r3p0 - r4p0 of the Neoverse N1 cpu.
485CPU_FLAG_LIST += ERRATA_N1_1542419
486
487# Flag to apply erratum 1868343 workaround during reset. This erratum applies
488# to revision <= r4p0 of the Neoverse N1 cpu.
489CPU_FLAG_LIST += ERRATA_N1_1868343
490
491# Flag to apply erratum 1946160 workaround during reset. This erratum applies
492# to revisions r3p0, r3p1, r4p0, and r4p1 of the Neoverse N1 cpu. The issue
493# exists in revisions r0p0, r1p0, and r2p0 as well but there is no workaround.
494CPU_FLAG_LIST += ERRATA_N1_1946160
495
496# Flag to apply erratum 2743102 workaround during powerdown. This erratum
497# applies to all revisions <= r4p1 of the Neoverse N1 cpu and is still open.
498CPU_FLAG_LIST += ERRATA_N1_2743102
499
500# Flag to apply erratum 1618635 workaround during reset. This erratum applies
501# to revision r0p0 of the Neoverse V1 cpu and was fixed in the revision r1p0.
502CPU_FLAG_LIST += ERRATA_V1_1618635
503
504# Flag to apply erratum 1774420 workaround during reset. This erratum applies
505# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
506CPU_FLAG_LIST += ERRATA_V1_1774420
507
508# Flag to apply erratum 1791573 workaround during reset. This erratum applies
509# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
510CPU_FLAG_LIST += ERRATA_V1_1791573
511
512# Flag to apply erratum 1852267 workaround during reset. This erratum applies
513# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
514CPU_FLAG_LIST += ERRATA_V1_1852267
515
516# Flag to apply erratum 1925756 workaround during reset. This needs to be
517# enabled for r0p0, r1p0, and r1p1 of the Neoverse V1 core, it is still open.
518CPU_FLAG_LIST += ERRATA_V1_1925756
519
520# Flag to apply erratum 1940577 workaround during reset. This erratum applies
521# to revisions r1p0 and r1p1 of the Neoverse V1 cpu.
522CPU_FLAG_LIST += ERRATA_V1_1940577
523
524# Flag to apply erratum 1966096 workaround during reset. This erratum applies
525# to revisions r1p0 and r1p1 of the Neoverse V1 CPU and is open. This issue
526# exists in r0p0 as well but there is no workaround for that revision.
527CPU_FLAG_LIST += ERRATA_V1_1966096
528
529# Flag to apply erratum 2139242 workaround during reset. This erratum applies
530# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
531CPU_FLAG_LIST += ERRATA_V1_2139242
532
533# Flag to apply erratum 2216392 workaround during reset. This erratum applies
534# to revisions r1p0 and r1p1 of the Neoverse V1 cpu and is still open. This
535# issue exists in r0p0 as well but there is no workaround for that revision.
536CPU_FLAG_LIST += ERRATA_V1_2216392
537
538# Flag to apply erratum 2294912 workaround during reset. This erratum applies
539# to revisions r0p0, r1p0, and r1p1 and r1p2 of the Neoverse V1 cpu and is still open.
540CPU_FLAG_LIST += ERRATA_V1_2294912
541
542# Flag to apply erratum 2348377 workaround during reset. This erratum applies
543# to revisions r0p0, r1p0 and r1p1 of the Neoverse V1 cpu and is fixed in r1p2.
544CPU_FLAG_LIST += ERRATA_V1_2348377
545
546# Flag to apply erratum 2372203 workaround during reset. This erratum applies
547# to revisions r0p0, r1p0 and r1p1 of the Neoverse V1 cpu and is still open.
548CPU_FLAG_LIST += ERRATA_V1_2372203
549
550# Flag to apply erratum 2701953 workaround to non-arm interconnect ip. This
551# erratum applies to revisions r0p0, r1p0, r1p1 of the Neoverse V1 cpu,
552# it is fixed in r1p2.
553CPU_FLAG_LIST += ERRATA_V1_2701953
554
555# Flag to apply erratum 2743093 workaround during powerdown. This erratum
556# applies to revisions r0p0, r1p0, r1p1 and r1p2  of the Neoverse V1 cpu and is
557# still open.
558CPU_FLAG_LIST += ERRATA_V1_2743093
559
560# Flag to apply erratum 2743233 workaround during powerdown. This erratum
561# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the Neoverse V1 cpu and is
562# still open.
563CPU_FLAG_LIST += ERRATA_V1_2743233
564
565# Flag to apply erratum 2779461 workaround during powerdown. This erratum
566# applies to revisions r0p0, r1p0, r1p1 and r1p2  of the Neoverse V1 cpu and is
567# still open.
568CPU_FLAG_LIST += ERRATA_V1_2779461
569
570# Flag to apply erratum 2970647 workaround during reset. This erratum applies
571# to revisions r0p0 of the Neoverse V3 cpu and is fixed in r0p1.
572CPU_FLAG_LIST += ERRATA_V3_2970647
573
574# Flag to apply erratum 3701767 workaround during context save/restore of
575# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1 and r0p2 of
576# the Neoverse V3 cpu and is still open.
577CPU_FLAG_LIST += ERRATA_V3_3701767
578
579# Flag to apply erratum 1901946 workaround during reset. This erratum applies
580# to revision r1p0 and is fixed in r2p0.
581CPU_FLAG_LIST += ERRATA_A710_1901946
582
583# Flag to apply erratum 1916945 workaround during reset. This erratum applies
584# to revisions r0p0 and r1p0 of the Cortex-A710 CPU and is fixed in r2p0.
585CPU_FLAG_LIST += ERRATA_A710_1916945
586
587# Flag to apply erratum 1917258 workaround during reset. This erratum applies
588# to revisions r0p0 and r1p0 of the Cortex-A710 CPU and is fixed in r2p0.
589CPU_FLAG_LIST += ERRATA_A710_1917258
590
591# Flag to apply erratum 1927200 workaround during reset. This erratum applies
592# to revisions r0p0 and r1p0 of the Cortex-A710 CPU and is fixed in r2p0.
593CPU_FLAG_LIST += ERRATA_A710_1927200
594
595# Flag to apply erratum 1987031 workaround during reset. This erratum applies
596# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
597CPU_FLAG_LIST += ERRATA_A710_1987031
598
599# Flag to apply erratum 2081180 workaround during reset. This erratum applies
600# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
601CPU_FLAG_LIST += ERRATA_A710_2081180
602
603# Flag to apply erratum 2083908 workaround during reset. This erratum applies
604# to revision r2p0 of the Cortex-A710 cpu and is still open.
605CPU_FLAG_LIST += ERRATA_A710_2083908
606
607# Flag to apply erratum 2055002 workaround during reset. This erratum applies
608# to revision r1p0, r2p0 of the Cortex-A710 cpu and is still open.
609CPU_FLAG_LIST += ERRATA_A710_2055002
610
611# Flag to apply erratum 2017096 workaround during reset. This erratum applies
612# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
613CPU_FLAG_LIST += ERRATA_A710_2017096
614
615# Flag to apply erratum 2267065 workaround during reset. This erratum applies
616# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
617CPU_FLAG_LIST += ERRATA_A710_2267065
618
619# Flag to apply erratum 2136059 workaround during reset. This erratum applies
620# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
621CPU_FLAG_LIST += ERRATA_A710_2136059
622
623# Flag to apply erratum 2147715 workaround during reset. This erratum applies
624# to revision r2p0 of the Cortex-A710 CPU and is fixed in revision r2p1.
625CPU_FLAG_LIST += ERRATA_A710_2147715
626
627# Flag to apply erratum 2216384 workaround during reset. This erratum applies
628# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
629CPU_FLAG_LIST += ERRATA_A710_2216384
630
631# Flag to apply erratum 2282622 workaround during reset. This erratum applies
632# to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is still
633# open.
634CPU_FLAG_LIST += ERRATA_A710_2282622
635
636# Flag to apply erratum 2291219 workaround during reset. This erratum applies
637# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
638CPU_FLAG_LIST += ERRATA_A710_2291219
639
640# Flag to apply erratum 2008768 workaround during reset. This erratum applies
641# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
642CPU_FLAG_LIST += ERRATA_A710_2008768
643
644# Flag to apply erratum 2371105 workaround during reset. This erratum applies
645# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
646CPU_FLAG_LIST += ERRATA_A710_2371105
647
648# Flag to apply erratum 2701952 workaround for non-arm interconnect ip. This
649# erratum applies to revision r0p0, r1p0, r2p0, r2p1 of the Cortex-A710 cpu
650# and is still open.
651CPU_FLAG_LIST += ERRATA_A710_2701952
652
653# Flag to apply erratum 2742423 workaround during reset. This erratum applies
654# to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is still
655# open.
656CPU_FLAG_LIST += ERRATA_A710_2742423
657
658# Flag to apply erratum 2768515 workaround during power down. This erratum
659# applies to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is
660# still open.
661CPU_FLAG_LIST += ERRATA_A710_2768515
662
663# Flag to apply erratum 2778471 workaround during reset. This erratum applies
664# to revisions r0p0, r1p0, r2p0, r2p1 of the Cortex-A710 cpu and is still
665# open.
666CPU_FLAG_LIST += ERRATA_A710_2778471
667
668# Flag to apply erratum  3701772 workaround during context save/restore of
669# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r2p0, r2p1
670# of the Cortex-A710 cpu and is still open.
671CPU_FLAG_LIST += ERRATA_A710_3701772
672
673# Flag to apply erratum 2002655 workaround during reset. This erratum applies
674# to revisions r0p0 of the Neoverse-N2 cpu and is fixed in r0p1.
675CPU_FLAG_LIST += ERRATA_N2_2002655
676
677# Flag to apply erratum 2009478 workaround during powerdown. This erratum
678# applies to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1.
679CPU_FLAG_LIST += ERRATA_N2_2009478
680
681# Flag to apply erratum 2067956 workaround during reset. This erratum applies
682# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
683CPU_FLAG_LIST += ERRATA_N2_2067956
684
685# Flag to apply erratum 2025414 workaround during reset. This erratum applies
686# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
687CPU_FLAG_LIST += ERRATA_N2_2025414
688
689# Flag to apply erratum 2189731 workaround during reset. This erratum applies
690# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
691CPU_FLAG_LIST += ERRATA_N2_2189731
692
693# Flag to apply erratum 2138956 workaround during reset. This erratum applies
694# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
695CPU_FLAG_LIST += ERRATA_N2_2138956
696
697# Flag to apply erratum 2242415 workaround during reset. This erratum applies
698# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
699CPU_FLAG_LIST += ERRATA_N2_2242415
700
701# Flag to apply erratum 2138958 workaround during reset. This erratum applies
702# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
703CPU_FLAG_LIST += ERRATA_N2_2138958
704
705# Flag to apply erratum 2242400 workaround during reset. This erratum applies
706# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
707CPU_FLAG_LIST += ERRATA_N2_2242400
708
709# Flag to apply erratum 2280757 workaround during reset. This erratum applies
710# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
711CPU_FLAG_LIST += ERRATA_N2_2280757
712
713# Flag to apply erratum 2326639 workaroud during powerdown. This erratum
714# applies to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
715CPU_FLAG_LIST += ERRATA_N2_2326639
716
717# Flag to apply erratum 2340933 workaroud during reset. This erratum
718# applies to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
719CPU_FLAG_LIST += ERRATA_N2_2340933
720
721# Flag to apply erratum 2346952 workaround during reset. This erratum applies
722# to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
723CPU_FLAG_LIST += ERRATA_N2_2346952
724
725# Flag to apply erratum 2376738 workaround during reset. This erratum applies
726# to revision r0p0, r0p1, r0p2, r0p3 of the Neoverse N2 cpu and is still open.
727CPU_FLAG_LIST += ERRATA_N2_2376738
728
729# Flag to apply erratum 2388450 workaround during reset. This erratum applies
730# to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1.
731CPU_FLAG_LIST += ERRATA_N2_2388450
732
733# Flag to apply erratum 2728475 workaround for non-arm interconnect ip. This
734# erratum applies to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in
735# r0p3.
736CPU_FLAG_LIST += ERRATA_N2_2728475
737
738# Flag to apply erratum 2743014 workaround during reset. This erratum applies
739# to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
740CPU_FLAG_LIST += ERRATA_N2_2743014
741
742# Flag to apply erratum 2743089 workaround during during powerdown. This erratum
743# applies to all revisions <= r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
744CPU_FLAG_LIST += ERRATA_N2_2743089
745
746# Flag to apply erratum 2779511 workaround during reset. This erratum applies
747# to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
748CPU_FLAG_LIST += ERRATA_N2_2779511
749
750# Flag to apply erratum 3701773 workaround during context save/restore of
751# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1, r0p2 and r0p3
752# of the Neoverse N2 cpu and is still open.
753CPU_FLAG_LIST += ERRATA_N2_3701773
754
755# Flag to apply erratum 3699563 workaround during context save/restore of
756# ICH_VMCR_EL2 reg. This erratum applies to revision r0p0 of the Neoverse N3
757# cpu and is still open.
758CPU_FLAG_LIST += ERRATA_N3_3699563
759
760# Flag to apply erratum 1901946 workaround during reset. This erratum applies
761# only to revision r1p0 of the Cortex-X2 cpu, it is fixed in r2p0.
762CPU_FLAG_LIST += ERRATA_X2_1901946
763
764# Flag to apply erratum 1916945 workaround during reset. This erratum applies
765# to revisions r0p0 and r1p0 of the Cortex-X2 cpu, it is fixed in r2p0.
766CPU_FLAG_LIST += ERRATA_X2_1916945
767
768# Flag to apply erratum 1917258 workaround during reset. This erratum applies
769# to revisions r0p0 and r1p0 of the Cortex-X2 cpu, it is fixed in r2p0.
770CPU_FLAG_LIST += ERRATA_X2_1917258
771
772# Flag to apply erratum 1927200 workaround during reset. This erratum applies
773# to revisions r0p0 and r1p0 of the Cortex-X2 cpu, it is fixed in r2p0.
774CPU_FLAG_LIST += ERRATA_X2_1927200
775
776# Flag to apply erratum 1934260 workaround during reset. This erratum applies
777# only to revision r1p0 of the Cortex-X2 cpu, it is fixed in r2p0.
778CPU_FLAG_LIST += ERRATA_X2_1934260
779
780# Flag to apply erratum 2002765 workaround during reset. This erratum applies
781# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
782# r2p1.
783CPU_FLAG_LIST += ERRATA_X2_2002765
784
785# Flag to apply erratum 2017096 workaround during reset. This erratum applies
786# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
787# r2p1.
788CPU_FLAG_LIST += ERRATA_X2_2017096
789
790# Flag to apply erratum 2081180 workaround during reset. This erratum applies
791# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
792# r2p1.
793CPU_FLAG_LIST += ERRATA_X2_2081180
794
795# Flag to apply erratum 2083908 workaround during reset. This erratum applies
796# only to revision r2p0 of the Cortex-X2 cpu, it is fixed in r2p1.
797CPU_FLAG_LIST += ERRATA_X2_2083908
798
799# Flag to apply erratum 2136059 workaround during reset. This erratum applies
800# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
801# r2p1.
802CPU_FLAG_LIST += ERRATA_X2_2136059
803
804# Flag to apply erratum 2147715 workaround during reset. This erratum applies
805# only to revision r2p0 of the Cortex-X2 cpu, it is fixed in r2p1.
806CPU_FLAG_LIST += ERRATA_X2_2147715
807
808# Flag to apply erratum 2216384 workaround during reset. This erratum applies
809# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
810# r2p1.
811CPU_FLAG_LIST += ERRATA_X2_2216384
812
813# Flag to apply erratum 2267065 workaround during reset. This erratum applies
814# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
815# r2p1.
816CPU_FLAG_LIST += ERRATA_X2_2267065
817
818# Flag to apply erratum 2282622 workaround during reset. This erratum applies
819# to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still open.
820CPU_FLAG_LIST += ERRATA_X2_2282622
821
822# Flag to apply erratum 2291219 workaround during reset. This erratum applies
823# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
824# r2p1.
825CPU_FLAG_LIST += ERRATA_X2_2291219
826
827# Flag to apply erratum 2371105 workaround during reset. This erratum applies
828# to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in r2p1.
829CPU_FLAG_LIST += ERRATA_X2_2371105
830
831# Flag to apply erratum 2701952 workaround for non-Arm interconnect IP. This
832# erratum applies to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu
833# and is still open.
834CPU_FLAG_LIST += ERRATA_X2_2701952
835
836# Flag to apply erratum 2742423 workaround during reset. This erratum applies
837# to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still open.
838CPU_FLAG_LIST += ERRATA_X2_2742423
839
840# Flag to apply erratum 2768515 workaround during power down. This erratum
841# applies to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is
842# still open.
843CPU_FLAG_LIST += ERRATA_X2_2768515
844
845# Flag to apply erratum 2778471 workaround during reset. This erratum applies
846# to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still open.
847CPU_FLAG_LIST += ERRATA_X2_2778471
848
849# Flag to apply erratum 3701772 workaround during context save/restore of
850# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r2p0 and r2p1
851# of the Cortex-X2 cpu and is still open.
852CPU_FLAG_LIST += ERRATA_X2_3701772
853
854# Flag to apply erratum 2266875 workaround during reset. This erratum applies
855# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
856CPU_FLAG_LIST += ERRATA_X3_2266875
857
858# Flag to apply erratum 2302506 workaround during reset. This erratum applies
859# to revisions r0p0, r1p0 and r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
860CPU_FLAG_LIST += ERRATA_X3_2302506
861
862# Flag to apply erratum 2313909 workaround on powerdown. This erratum applies
863# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
864CPU_FLAG_LIST += ERRATA_X3_2313909
865
866# Flag to apply erratum 2372204 workaround during reset. This erratum applies
867# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
868CPU_FLAG_LIST += ERRATA_X3_2372204
869
870# Flag to apply erratum 2615812 workaround on powerdown. This erratum applies
871# to revisions r0p0, r1p0, r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
872CPU_FLAG_LIST += ERRATA_X3_2615812
873
874# Flag to apply erratum 2641945 workaround on reset. This erratum applies
875# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
876CPU_FLAG_LIST += ERRATA_X3_2641945
877
878# Flag to apply erratum 2701951 workaround for non-arm interconnect ip.
879# This erratum applies to revisions r0p0, r1p0, and r1p1. Its is fixed in r1p2.
880CPU_FLAG_LIST += ERRATA_X3_2701951
881
882# Flag to apply erratum 2742421 workaround on reset. This erratum applies
883# to revisions r0p0, r1p0 and r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
884CPU_FLAG_LIST += ERRATA_X3_2742421
885
886# Flag to apply erratum 2743088 workaround on powerdown. This erratum applies
887# to revisions r0p0, r1p0 and r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
888CPU_FLAG_LIST += ERRATA_X3_2743088
889
890# Flag to apply erratum 3701769 workaround during context save/restore of
891# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r1p1 and r1p2
892# of the Cortex-X3 cpu and is still open.
893CPU_FLAG_LIST += ERRATA_X3_3701769
894
895# Flag to apply erratum 2779509 workaround on reset. This erratum applies
896# to revisions r0p0, r1p0, r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
897CPU_FLAG_LIST += ERRATA_X3_2779509
898
899# Flag to apply erratum 3213672 workaround on reset. This erratum applies
900# to revisions r0p0, r1p0, r1p1 and r1p2 of the Cortex-X3 cpu.
901# It is still open.
902CPU_FLAG_LIST += ERRATA_X3_3213672
903
904# Flag to apply erratum 3692984 workaround on reset. This erratum applies
905# to revisions r0p0, r1p0, r1p1, r1p2 of the Cortex-X3 cpu and is still open.
906CPU_FLAG_LIST += ERRATA_X3_3692984
907
908# Flag to apply erratum 3827463 workaround on reset. This erratum applies
909# to revisions r0p0, r1p0 and r1p1 of the Cortex-X3 cpu. It is fixed in r1p2.
910CPU_FLAG_LIST += ERRATA_X3_3827463
911
912# Flag to apply erratum 2701112 workaround for platforms that do not use an
913# Arm interconnect IP. This erratum applies to revisions r0p0 of the Cortex-X4
914# cpu and is fixed in r0p1.
915CPU_FLAG_LIST += ERRATA_X4_2701112
916
917# Flag to apply erratum 2726228 workaround during warmboot. This erratum
918# applies to all revisions <= r0p1 of the Cortex-X4 cpu, it is fixed in r0p2.
919CPU_FLAG_LIST += ERRATA_X4_2726228
920
921# Flag to apply erratum 2740089 workaround during powerdown. This erratum
922# applies to all revisions <= r0p1 of the Cortex-X4 cpu, it is fixed in r0p2.
923CPU_FLAG_LIST += ERRATA_X4_2740089
924
925# Flag to apply erratum 2763018 workaround on reset. This erratum applies
926# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
927CPU_FLAG_LIST += ERRATA_X4_2763018
928
929# Flag to apply erratum 2816013 workaround on reset. This erratum applies
930# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
931CPU_FLAG_LIST += ERRATA_X4_2816013
932
933# Flag to apply erratum 2897503 workaround on reset. This erratum applies
934# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
935CPU_FLAG_LIST += ERRATA_X4_2897503
936
937# Flag to apply erratum 2923985 workaround on reset. This erratum applies
938# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
939CPU_FLAG_LIST += ERRATA_X4_2923985
940
941# Flag to apply erratum 2957258 workaround to avoid incorrect virtualization of
942# MPIDR_EL1/VMPIDR_EL2 and MIDR_EL1/VPIDR_EL2 when reading in EL2/EL3. This
943# erratum applies to revisions r0p0, r0p1 of the Cortex-X4 cpu. It is fixed
944# in r0p2.
945CPU_FLAG_LIST += ERRATA_X4_2957258
946
947# Flag to apply erratum 3076789 workaround on reset. This erratum applies
948# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
949CPU_FLAG_LIST += ERRATA_X4_3076789
950
951# Flag to apply erratum 3133195 workaround on reset. This erratum applies
952# to revision r0p2 of the Cortex-X4 cpu. It is fixed in r0p3.
953CPU_FLAG_LIST += ERRATA_X4_3133195
954
955# Flag to apply erratum 3701758 workaround during context save/restore of
956# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1, r0p2 and r0p3
957# of the Cortex-X4 cpu and is still open.
958CPU_FLAG_LIST += ERRATA_X4_3701758
959
960# Flag to apply erratum 3887999 workaround on reset. This erratum applies to
961# revisions r0p0, r0p1, r0p2 and r0p3 of the Cortex-X4 cpu and is still open.
962CPU_FLAG_LIST += ERRATA_X4_3887999
963
964# Flag to apply erratum 2963999 workaround during reset. This erratum applies
965# to revisions r0p0 of the Cortex-X925 cpu and is fixed in r0p1.
966CPU_FLAG_LIST += ERRATA_X925_2963999
967
968# Flag to apply erratum 3701747 workaround during context save/restore of
969# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1 of the
970# Cortex-X925 cpu and is still open.
971CPU_FLAG_LIST += ERRATA_X925_3701747
972
973# Flag to apply erratum 2008766 workaround during reset. This erratum applies
974# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, r1p1, r1p2 and r1p3 of the
975# Cortex-A510 cpu and is still open.
976CPU_FLAG_LIST += ERRATA_A510_2008766
977
978# Flag to apply erratum 2169012 workaround during reset. This erratum applies
979# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0 of the Cortex-A510 cpu and is
980# fixed in r1p1.
981CPU_FLAG_LIST += ERRATA_A510_2169012
982
983# Flag to apply erratum 2218134 workaround during reset. This erratum applies
984# to revision r1p0 of the Cortex-A510 cpu and is fixed in r1p1.
985CPU_FLAG_LIST += ERRATA_A510_2218134
986
987# Flag to apply erratum 2288014 workaround during reset. This erratum applies
988# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0 of the Cortex-A510 cpu and is
989# fixed in r1p1.
990CPU_FLAG_LIST += ERRATA_A510_2288014
991
992# Flag to apply erratum 2042739 workaround during reset. This erratum applies
993# to revisions r0p0, r0p1 and r0p2 of the Cortex-A510 cpu and is fixed in r0p3.
994CPU_FLAG_LIST += ERRATA_A510_2042739
995
996# Flag to apply erratum 2041909 workaround during reset. This erratum applies
997# to revision r0p2 of the Cortex-A510 cpu and is fixed in r0p3. The issue is
998# present in r0p0 and r0p1 but there is no workaround for those revisions.
999CPU_FLAG_LIST += ERRATA_A510_2041909
1000
1001# Flag to aply erratum 2080326 workaround during reset. This erratum applies
1002# to revision r0p2 of the Cortex-A510 cpu and is fixed in r0p3. The issue is
1003# also present in r0p0 and r0p1 but there is no workaround for those revisions.
1004CPU_FLAG_LIST += ERRATA_A510_2080326
1005
1006# Flag to apply erratum 2250311 workaround during reset. This erratum applies
1007# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
1008CPU_FLAG_LIST += ERRATA_A510_2250311
1009
1010# Flag to apply erratum 2218950 workaround during reset. This erratum applies
1011# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
1012CPU_FLAG_LIST += ERRATA_A510_2218950
1013
1014# Flag to apply erratum 2172148 workaround during reset. This erratum applies
1015# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
1016CPU_FLAG_LIST += ERRATA_A510_2172148
1017
1018# Flag to apply erratum 2347730 workaround during reset. This erratum applies
1019# to revisions r0p0, r0p1, r0p2, r0p3, r1p0 and r1p1 of the Cortex-A510 CPU,
1020# and is fixed in r1p2.
1021CPU_FLAG_LIST += ERRATA_A510_2347730
1022
1023# Flag to apply erratum 2371937 workaround during reset. This erratum applies
1024# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2.
1025CPU_FLAG_LIST += ERRATA_A510_2371937
1026
1027# Flag to apply erratum 2420992 workaround during reset. This erratum applies
1028# to revisions r1p0 and r1p1. It is fixed in r1p2.
1029CPU_FLAG_LIST += ERRATA_A510_2420992
1030
1031# Flag to apply erratum 2666669 workaround during reset. This erratum applies
1032# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2.
1033CPU_FLAG_LIST += ERRATA_A510_2666669
1034
1035# Flag to apply erratum 2684597 workaround during powerdown. This erratum
1036# applies to revision r0p0, r0p1, r0p2, r0p3, r1p0, r1p1 and r1p2 of the
1037# Cortex-A510 cpu and is fixed in r1p3.
1038CPU_FLAG_LIST += ERRATA_A510_2684597
1039
1040# Flag to apply erratum 2971420 workaround during context switch. This erratum
1041# applies to revisions r0p1, r0p2, r0p3, r1p0, r1p1, r1p2 and r1p3 of the
1042# Cortex-A510 cpu and is still open.
1043CPU_FLAG_LIST += ERRATA_A510_2971420
1044
1045# Flag to apply erratum 3672349 workaround during reset. This erratum applies to
1046# revisions r0p0, r0p1, r0p2, r0p3, r1p0, r1p1, r1p2 and r1p3 of the Cortex-A510
1047# cpu and is still open.
1048CPU_FLAG_LIST += ERRATA_A510_3672349
1049
1050# Flag to apply erratum 3704847 workaround during reset. This erratum applies to
1051# revisions r0p0, r0p1, r0p2, r0p3, r1p0, r1p1, r1p2 and r1p3 of the Cortex-A510
1052# cpu and is still open.
1053CPU_FLAG_LIST += ERRATA_A510_3704847
1054
1055# Flag to apply erratum 2630792 workaround during reset. This erratum applies
1056# to revisions r0p0, r0p1 of the Cortex-A520 cpu and is still open.
1057CPU_FLAG_LIST += ERRATA_A520_2630792
1058
1059# Flag to apply erratum 2858100 workaround during reset. This erratum
1060# applies to revision r0p0 and r0p1 of the Cortex-A520 cpu and is still open.
1061CPU_FLAG_LIST += ERRATA_A520_2858100
1062
1063# Flag to apply erratum 2938996 workaround during reset. This erratum
1064# applies to revision r0p0 and r0p1 of the Cortex-A520 cpu and is fixed in r0p2.
1065CPU_FLAG_LIST += ERRATA_A520_2938996
1066
1067# Flag to apply erratum 2618597 workaround during reset. This erratum applies
1068# to revisions r0p0 and r0p1. It is fixed in r0p2.
1069CPU_FLAG_LIST += ERRATA_V2_2618597
1070
1071# Flag to apply erratum 2662553 workaround during reset. This erratum applies
1072# to revisions r0p0 and r0p1. It is fixed in r0p2.
1073CPU_FLAG_LIST += ERRATA_V2_2662553
1074
1075# Flag to apply erratum 2719103 workaround for non-arm interconnect ip. This
1076# erratum applies to revisions r0p0, rop1. Fixed in r0p2.
1077CPU_FLAG_LIST += ERRATA_V2_2719103
1078
1079# Flag to apply erratum 2719105 workaround during reset. This erratum applies
1080# to revisions r0p0 and r0p1. It is fixed in r0p2.
1081CPU_FLAG_LIST += ERRATA_V2_2719105
1082
1083# Flag to apply erratum 2743011 workaround during reset. This erratum applies
1084# to revisions r0p0 and r0p1. It is fixed in r0p2.
1085CPU_FLAG_LIST += ERRATA_V2_2743011
1086
1087# Flag to apply erratum 2779510 workaround during reset. This erratum applies
1088# to revisions r0p0 and r0p1. It is fixed in r0p2.
1089CPU_FLAG_LIST += ERRATA_V2_2779510
1090
1091# Flag to apply erratum 2801372 workaround for all configurations.
1092# This erratum applies to revisions r0p0, r0p1. Fixed in r0p2.
1093CPU_FLAG_LIST += ERRATA_V2_2801372
1094
1095# Flag to apply erratum 3701771 workaround during context save/restore of
1096# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1 and r0p2 of
1097# the Neoverse V2 cpu and is still open.
1098CPU_FLAG_LIST += ERRATA_V2_3701771
1099
1100# Flag to apply erratum 3841324 workaround on reset. This erratum applies
1101# to revisions r0p0 and r0p1 of the Neoverse-V2 cpu. It is fixed in r0p2.
1102CPU_FLAG_LIST += ERRATA_V2_3841324
1103
1104# Flag to apply erratum 2331818 workaround during reset. This erratum applies
1105# to revisions r0p0 and r1p0. It is fixed in r1p1.
1106CPU_FLAG_LIST += ERRATA_A715_2331818
1107
1108# Flag to apply erratum 2344187 workaround during reset. This erratum applies
1109# to revisions r0p0, and r1p0. It is fixed in r1p1.
1110CPU_FLAG_LIST += ERRATA_A715_2344187
1111
1112# Flag to apply erratum 2376701 workaround during reset. This erratum applies
1113# to revisions r0p0, and r1p0. It is fixed in r1p1.
1114CPU_FLAG_LIST += ERRATA_A715_2376701
1115
1116# Flag to apply erratum 2409570 workaround during reset. This erratum applies to
1117# revisions r0p0 and r1p0 and is fixed in r1p1. The fix as implemented in TF-A
1118# only applies to r1p0.
1119CPU_FLAG_LIST += ERRATA_A715_2409570
1120
1121# Flag to apply erratum 2413290 workaround during reset. This erratum applies
1122# only to revision r1p0. It is fixed in r1p1.
1123CPU_FLAG_LIST += ERRATA_A715_2413290
1124
1125# Flag to apply erratum 2420947 workaround during reset. This erratum applies
1126# only to revision r1p0. It is fixed in r1p1.
1127CPU_FLAG_LIST += ERRATA_A715_2420947
1128
1129# Flag to apply erratum 2429384 workaround during reset. This erratum applies
1130# to revision r1p0. There is no workaround for r0p0. It is fixed in r1p1.
1131CPU_FLAG_LIST += ERRATA_A715_2429384
1132
1133# Flag to apply erratum 2561034 workaround during reset. This erratum applies
1134# only to revision r1p0. It is fixed in r1p1.
1135CPU_FLAG_LIST += ERRATA_A715_2561034
1136
1137# Flag to apply erratum 2728106 workaround during reset. This erratum applies
1138# only to revision r0p0, r1p0 and r1p1. It is fixed in r1p2.
1139CPU_FLAG_LIST += ERRATA_A715_2728106
1140
1141# Flag to apply erratum 2804830 workaround during reset. This erratum applies
1142# to revisions r0p0, r1p0, r1p1 and r1p2. It is fixed in r1p3.
1143CPU_FLAG_LIST += ERRATA_A715_2804830
1144
1145# Flag to apply erratum 3699560 workaround during context save/restore of
1146# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r1p2, r1p3
1147# of the Cortex-A715 cpu and is still open.
1148CPU_FLAG_LIST += ERRATA_A715_3699560
1149
1150# Flag to apply erratum 3711916 workaround during reset. This erratum applies
1151# to revisions r0p0, r1p0, r1p1, r1p2 and r1p3 and is still open.
1152CPU_FLAG_LIST += ERRATA_A715_3711916
1153
1154# Flag to apply erratum 2729604 workaround during reset. This erratum applies
1155# to revisions r0p0 and r0p1. It is fixed in r0p2.
1156CPU_FLAG_LIST += ERRATA_A720_2729604
1157
1158# Flag to apply erratum 2792132 workaround during reset. This erratum applies
1159# to revisions r0p0 and r0p1. It is fixed in r0p2.
1160CPU_FLAG_LIST += ERRATA_A720_2792132
1161
1162# Flag to apply erratum 2844092 workaround during reset. This erratum applies
1163# to revisions r0p0 and r0p1. It is fixed in r0p2.
1164CPU_FLAG_LIST += ERRATA_A720_2844092
1165
1166# Flag to apply erratum 2926083 workaround during reset. This erratum applies
1167# to revisions r0p0 and r0p1. It is fixed in r0p2.
1168CPU_FLAG_LIST += ERRATA_A720_2926083
1169
1170# Flag to apply erratum 2940794 workaround during reset. This erratum applies
1171# to revisions r0p0 and r0p1. It is fixed in r0p2.
1172CPU_FLAG_LIST += ERRATA_A720_2940794
1173
1174# Flag to apply erratum 3699561 workaround during context save/restore of
1175# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1, r0p2 of
1176# the Cortex-A720 cpu and is still open.
1177CPU_FLAG_LIST += ERRATA_A720_3699561
1178
1179# Flag to apply erratum 2940794 workaround during reset. This erratum applies
1180# to revisions r0p0, r0p1 and r0p2 of the Cortex-A720 cpu and is still open.
1181CPU_FLAG_LIST += ERRATA_A720_3711910
1182
1183# Flag to apply erratum 3699562 workaround during context save/restore of
1184# ICH_VMCR_EL2 reg. This erratum applies to revision r0p0 the Cortex-A720-AE
1185# cpu and is still open.
1186CPU_FLAG_LIST += ERRATA_A720_AE_3699562
1187
1188# Flag to apply erratum 3699564 workaround during context save/restore of
1189# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1 of
1190# the Cortex-A725 cpu and is fixed in r0p2
1191CPU_FLAG_LIST += ERRATA_A725_3699564
1192
1193# Flag to apply DSU erratum 798953. This erratum applies to DSUs revision r0p0.
1194# Applying the workaround results in higher DSU power consumption on idle.
1195CPU_FLAG_LIST += ERRATA_DSU_798953
1196
1197# Flag to apply DSU erratum 936184. This erratum applies to DSUs containing
1198# the ACP interface and revision < r0p0. Applying the workaround results in
1199# higher DSU power consumption on idle.
1200CPU_FLAG_LIST += ERRATA_DSU_936184
1201
1202# Flag to apply DSU erratum 2313941. This erratum applies to DSUs revisions
1203# r0p0, r1p0, r2p0, r2p1, r3p0, r3p1 and is still open. Applying the workaround
1204# results in higher DSU power consumption on idle.
1205CPU_FLAG_LIST += ERRATA_DSU_2313941
1206
1207# Flag to apply DSU erratum 2900952 during reset. This erratum applies
1208# to some implementations of DSU-120 revision r2p0. Erratum might be fixed
1209# in some implementations of r2p0. This can be determined by reading
1210# the IMP_CLUSTERREVIDR_EL1 register where a set bit indicates that
1211# the erratum is fixed in this part. It is fixed in r2p1.
1212CPU_FLAG_LIST += ERRATA_DSU_2900952
1213
1214# process all flags
1215ifeq (${ENABLE_ERRATA_ALL},1)
1216$(eval $(call default_ones, $(CPU_FLAG_LIST)))
1217else
1218$(eval $(call default_zeros, $(CPU_FLAG_LIST)))
1219endif
1220