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