xref: /rk3399_ARM-atf/lib/cpus/cpu-ops.mk (revision 8177e1ef0c9f275cf5abc73d47216b02f501f089)
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 1508412 workaround during reset. This erratum applies
287# only to revision <= r1p0 of the Cortex A77 cpu.
288CPU_FLAG_LIST += ERRATA_A77_1508412
289
290# Flag to apply erratum 1925769 workaround during reset. This erratum applies
291# only to revision <= r1p1 of the Cortex A77 cpu.
292CPU_FLAG_LIST += ERRATA_A77_1925769
293
294# Flag to apply erratum 1946167 workaround during reset. This erratum applies
295# only to revision <= r1p1 of the Cortex A77 cpu.
296CPU_FLAG_LIST += ERRATA_A77_1946167
297
298# Flag to apply erratum 1791578 workaround during reset. This erratum applies
299# to revisions r0p0, r1p0, and r1p1, it is still open.
300CPU_FLAG_LIST += ERRATA_A77_1791578
301
302# Flag to apply erratum 2356587 workaround during reset. This erratum applies
303# to revisions r0p0, r1p0, and r1p1, it is still open.
304CPU_FLAG_LIST += ERRATA_A77_2356587
305
306# Flag to apply erratum 1800714 workaround during reset. This erratum applies
307# to revisions <= r1p1 of the Cortex A77 cpu.
308CPU_FLAG_LIST += ERRATA_A77_1800714
309
310# Flag to apply erratum 2743100 workaround during power down. This erratum
311# applies to revisions r0p0, r1p0, and r1p1, it is still open.
312CPU_FLAG_LIST += ERRATA_A77_2743100
313
314# Flag to apply erratum 1688305 workaround during reset. This erratum applies
315# to revisions r0p0 - r1p0 of the A78 cpu.
316CPU_FLAG_LIST += ERRATA_A78_1688305
317
318# Flag to apply erratum 1941498 workaround during reset. This erratum applies
319# to revisions r0p0, r1p0, and r1p1 of the A78 cpu.
320CPU_FLAG_LIST += ERRATA_A78_1941498
321
322# Flag to apply erratum 1951500 workaround during reset. This erratum applies
323# to revisions r1p0 and r1p1 of the A78 cpu. The issue is present in r0p0 as
324# well but there is no workaround for that revision.
325CPU_FLAG_LIST += ERRATA_A78_1951500
326
327# Flag to apply erratum 1821534 workaround during reset. This erratum applies
328# to revisions r0p0 and r1p0 of the A78 cpu.
329CPU_FLAG_LIST += ERRATA_A78_1821534
330
331# Flag to apply erratum 1952683 workaround during reset. This erratum applies
332# to revision r0p0 of the A78 cpu and was fixed in the revision r1p0.
333CPU_FLAG_LIST += ERRATA_A78_1952683
334
335# Flag to apply erratum 2242635 workaround during reset. This erratum applies
336# to revisions r1p0, r1p1, and r1p2 of the A78 cpu and is open. The issue is
337# present in r0p0 as well but there is no workaround for that revision.
338CPU_FLAG_LIST += ERRATA_A78_2242635
339
340# Flag to apply erratum 2376745 workaround during reset. This erratum applies
341# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
342CPU_FLAG_LIST += ERRATA_A78_2376745
343
344# Flag to apply erratum 2395406 workaround during reset. This erratum applies
345# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
346CPU_FLAG_LIST += ERRATA_A78_2395406
347
348# Flag to apply erratum 2712571 workaround for non-arm interconnect ip. This
349# erratum applies to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu.
350# It is fixed in r1p2.
351CPU_FLAG_LIST += ERRATA_A78_2712571
352
353# Flag to apply erratum 2742426 workaround during reset. This erratum
354# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still
355# open.
356CPU_FLAG_LIST += ERRATA_A78_2742426
357
358# Flag to apply erratum 2772019 workaround during powerdown. This erratum
359# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still
360# open.
361CPU_FLAG_LIST += ERRATA_A78_2772019
362
363# Flag to apply erratum 2779479 workaround during reset. This erratum applies
364# to revision r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still open.
365CPU_FLAG_LIST += ERRATA_A78_2779479
366
367# Flag to apply erratum 1941500 workaround during reset. This erratum applies
368# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
369CPU_FLAG_LIST += ERRATA_A78_AE_1941500
370
371# Flag to apply erratum 1951502 workaround during reset. This erratum applies
372# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
373CPU_FLAG_LIST += ERRATA_A78_AE_1951502
374
375# Flag to apply erratum 2376748 workaround during reset. This erratum applies
376# to revisions r0p0, r0p1 and r0p2 of the A78 AE cpu. It is still open.
377CPU_FLAG_LIST += ERRATA_A78_AE_2376748
378
379# Flag to apply erratum 2395408 workaround during reset. This erratum applies
380# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
381CPU_FLAG_LIST += ERRATA_A78_AE_2395408
382
383# Flag to apply erratum 1827430 workaround during reset. This erratum applies
384# to revision r0p0 of the A78C cpu. It is fixed in r0p1.
385CPU_FLAG_LIST += ERRATA_A78C_1827430
386
387# Flag to apply erratum 1827440 workaround during reset. This erratum applies
388# to revision r0p0 of the A78C cpu. It is fixed in r0p1.
389CPU_FLAG_LIST += ERRATA_A78C_1827440
390
391# Flag to apply erratum 2712574 workaround for non-arm interconnect ip. This
392# erratum applies to revisions r0p0, r0p1 and r0p2 of the A78 AE cpu.
393# It is still open.
394CPU_FLAG_LIST += ERRATA_A78_AE_2712574
395
396# Flag to apply erratum 2242638 workaround during reset. This erratum applies
397# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
398CPU_FLAG_LIST += ERRATA_A78C_2242638
399
400# Flag to apply erratum 2376749 workaround during reset. This erratum applies
401# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
402CPU_FLAG_LIST += ERRATA_A78C_2376749
403
404# Flag to apply erratum 2395411 workaround during reset. This erratum applies
405# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
406CPU_FLAG_LIST += ERRATA_A78C_2395411
407
408# Flag to apply erratum 2683027 workaround during reset. This erratum applies
409# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
410CPU_FLAG_LIST += ERRATA_A78C_2683027
411
412# Flag to apply erratum 2712575 workaround for non-arm interconnect ip. This
413# erratum applies to revisions r0p1 and r0p2 of the A78C cpu.
414# It is still open.
415CPU_FLAG_LIST += ERRATA_A78C_2712575
416
417# Flag to apply erratum 2743232 workaround during reset. This erratum applies
418# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
419CPU_FLAG_LIST += ERRATA_A78C_2743232
420
421# Flag to apply erratum 2772121 workaround during powerdown. This erratum
422# applies to revisions r0p0, r0p1 and r0p2 of the A78C cpu. It is still open.
423CPU_FLAG_LIST += ERRATA_A78C_2772121
424
425# Flag to apply erratum 2779484 workaround during reset. This erratum
426# applies to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
427CPU_FLAG_LIST += ERRATA_A78C_2779484
428
429# Flag to apply erratum 1821534 workaround during reset. This erratum applies
430# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
431CPU_FLAG_LIST += ERRATA_X1_1821534
432
433# Flag to apply erratum 1688305 workaround during reset. This erratum applies
434# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
435CPU_FLAG_LIST += ERRATA_X1_1688305
436
437# Flag to apply erratum 1827429 workaround during reset. This erratum applies
438# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
439CPU_FLAG_LIST += ERRATA_X1_1827429
440
441# Flag to apply T32 CLREX workaround during reset. This erratum applies
442# only to r0p0 and r1p0 of the Neoverse N1 cpu.
443CPU_FLAG_LIST += ERRATA_N1_1043202
444
445# Flag to apply erratum 1073348 workaround during reset. This erratum applies
446# only to revision r0p0 and r1p0 of the Neoverse N1 cpu.
447CPU_FLAG_LIST += ERRATA_N1_1073348
448
449# Flag to apply erratum 1130799 workaround during reset. This erratum applies
450# only to revision <= r2p0 of the Neoverse N1 cpu.
451CPU_FLAG_LIST += ERRATA_N1_1130799
452
453# Flag to apply erratum 1165347 workaround during reset. This erratum applies
454# only to revision <= r2p0 of the Neoverse N1 cpu.
455CPU_FLAG_LIST += ERRATA_N1_1165347
456
457# Flag to apply erratum 1207823 workaround during reset. This erratum applies
458# only to revision <= r2p0 of the Neoverse N1 cpu.
459CPU_FLAG_LIST += ERRATA_N1_1207823
460
461# Flag to apply erratum 1220197 workaround during reset. This erratum applies
462# only to revision <= r2p0 of the Neoverse N1 cpu.
463CPU_FLAG_LIST += ERRATA_N1_1220197
464
465# Flag to apply erratum 1257314 workaround during reset. This erratum applies
466# only to revision <= r3p0 of the Neoverse N1 cpu.
467CPU_FLAG_LIST += ERRATA_N1_1257314
468
469# Flag to apply erratum 1262606 workaround during reset. This erratum applies
470# only to revision <= r3p0 of the Neoverse N1 cpu.
471CPU_FLAG_LIST += ERRATA_N1_1262606
472
473# Flag to apply erratum 1262888 workaround during reset. This erratum applies
474# only to revision <= r3p0 of the Neoverse N1 cpu.
475CPU_FLAG_LIST += ERRATA_N1_1262888
476
477# Flag to apply erratum 1275112 workaround during reset. This erratum applies
478# only to revision <= r3p0 of the Neoverse N1 cpu.
479CPU_FLAG_LIST += ERRATA_N1_1275112
480
481# Flag to apply erratum 1315703 workaround during reset. This erratum applies
482# to revisions before r3p1 of the Neoverse N1 cpu.
483CPU_FLAG_LIST += ERRATA_N1_1315703
484
485# Flag to apply erratum 1542419 workaround during reset. This erratum applies
486# to revisions r3p0 - r4p0 of the Neoverse N1 cpu.
487CPU_FLAG_LIST += ERRATA_N1_1542419
488
489# Flag to apply erratum 1868343 workaround during reset. This erratum applies
490# to revision <= r4p0 of the Neoverse N1 cpu.
491CPU_FLAG_LIST += ERRATA_N1_1868343
492
493# Flag to apply erratum 1946160 workaround during reset. This erratum applies
494# to revisions r3p0, r3p1, r4p0, and r4p1 of the Neoverse N1 cpu. The issue
495# exists in revisions r0p0, r1p0, and r2p0 as well but there is no workaround.
496CPU_FLAG_LIST += ERRATA_N1_1946160
497
498# Flag to apply erratum 2743102 workaround during powerdown. This erratum
499# applies to all revisions <= r4p1 of the Neoverse N1 cpu and is still open.
500CPU_FLAG_LIST += ERRATA_N1_2743102
501
502# Flag to apply erratum 1618635 workaround during reset. This erratum applies
503# to revision r0p0 of the Neoverse V1 cpu and was fixed in the revision r1p0.
504CPU_FLAG_LIST += ERRATA_V1_1618635
505
506# Flag to apply erratum 1774420 workaround during reset. This erratum applies
507# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
508CPU_FLAG_LIST += ERRATA_V1_1774420
509
510# Flag to apply erratum 1791573 workaround during reset. This erratum applies
511# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
512CPU_FLAG_LIST += ERRATA_V1_1791573
513
514# Flag to apply erratum 1852267 workaround during reset. This erratum applies
515# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
516CPU_FLAG_LIST += ERRATA_V1_1852267
517
518# Flag to apply erratum 1925756 workaround during reset. This needs to be
519# enabled for r0p0, r1p0, and r1p1 of the Neoverse V1 core, it is still open.
520CPU_FLAG_LIST += ERRATA_V1_1925756
521
522# Flag to apply erratum 1940577 workaround during reset. This erratum applies
523# to revisions r1p0 and r1p1 of the Neoverse V1 cpu.
524CPU_FLAG_LIST += ERRATA_V1_1940577
525
526# Flag to apply erratum 1966096 workaround during reset. This erratum applies
527# to revisions r1p0 and r1p1 of the Neoverse V1 CPU and is open. This issue
528# exists in r0p0 as well but there is no workaround for that revision.
529CPU_FLAG_LIST += ERRATA_V1_1966096
530
531# Flag to apply erratum 2139242 workaround during reset. This erratum applies
532# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
533CPU_FLAG_LIST += ERRATA_V1_2139242
534
535# Flag to apply erratum 2216392 workaround during reset. This erratum applies
536# to revisions r1p0 and r1p1 of the Neoverse V1 cpu and is still open. This
537# issue exists in r0p0 as well but there is no workaround for that revision.
538CPU_FLAG_LIST += ERRATA_V1_2216392
539
540# Flag to apply erratum 2294912 workaround during reset. This erratum applies
541# to revisions r0p0, r1p0, and r1p1 and r1p2 of the Neoverse V1 cpu and is still open.
542CPU_FLAG_LIST += ERRATA_V1_2294912
543
544# Flag to apply erratum 2348377 workaround during reset. This erratum applies
545# to revisions r0p0, r1p0 and r1p1 of the Neoverse V1 cpu and is fixed in r1p2.
546CPU_FLAG_LIST += ERRATA_V1_2348377
547
548# Flag to apply erratum 2372203 workaround during reset. This erratum applies
549# to revisions r0p0, r1p0 and r1p1 of the Neoverse V1 cpu and is still open.
550CPU_FLAG_LIST += ERRATA_V1_2372203
551
552# Flag to apply erratum 2701953 workaround to non-arm interconnect ip. This
553# erratum applies to revisions r0p0, r1p0, r1p1 of the Neoverse V1 cpu,
554# it is fixed in r1p2.
555CPU_FLAG_LIST += ERRATA_V1_2701953
556
557# Flag to apply erratum 2743093 workaround during powerdown. This erratum
558# applies to revisions r0p0, r1p0, r1p1 and r1p2  of the Neoverse V1 cpu and is
559# still open.
560CPU_FLAG_LIST += ERRATA_V1_2743093
561
562# Flag to apply erratum 2743233 workaround during powerdown. This erratum
563# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the Neoverse V1 cpu and is
564# still open.
565CPU_FLAG_LIST += ERRATA_V1_2743233
566
567# Flag to apply erratum 2779461 workaround during powerdown. This erratum
568# applies to revisions r0p0, r1p0, r1p1 and r1p2  of the Neoverse V1 cpu and is
569# still open.
570CPU_FLAG_LIST += ERRATA_V1_2779461
571
572# Flag to apply erratum 2970647 workaround during reset. This erratum applies
573# to revisions r0p0 of the Neoverse V3 cpu and is fixed in r0p1.
574CPU_FLAG_LIST += ERRATA_V3_2970647
575
576# Flag to apply erratum 3701767 workaround during context save/restore of
577# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1 and r0p2 of
578# the Neoverse V3 cpu and is still open.
579CPU_FLAG_LIST += ERRATA_V3_3701767
580
581# Flag to apply erratum 1901946 workaround during reset. This erratum applies
582# to revision r1p0 and is fixed in r2p0.
583CPU_FLAG_LIST += ERRATA_A710_1901946
584
585# Flag to apply erratum 1916945 workaround during reset. This erratum applies
586# to revisions r0p0 and r1p0 of the Cortex-A710 CPU and is fixed in r2p0.
587CPU_FLAG_LIST += ERRATA_A710_1916945
588
589# Flag to apply erratum 1917258 workaround during reset. This erratum applies
590# to revisions r0p0 and r1p0 of the Cortex-A710 CPU and is fixed in r2p0.
591CPU_FLAG_LIST += ERRATA_A710_1917258
592
593# Flag to apply erratum 1927200 workaround during reset. This erratum applies
594# to revisions r0p0 and r1p0 of the Cortex-A710 CPU and is fixed in r2p0.
595CPU_FLAG_LIST += ERRATA_A710_1927200
596
597# Flag to apply erratum 1987031 workaround during reset. This erratum applies
598# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
599CPU_FLAG_LIST += ERRATA_A710_1987031
600
601# Flag to apply erratum 2081180 workaround during reset. This erratum applies
602# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
603CPU_FLAG_LIST += ERRATA_A710_2081180
604
605# Flag to apply erratum 2083908 workaround during reset. This erratum applies
606# to revision r2p0 of the Cortex-A710 cpu and is still open.
607CPU_FLAG_LIST += ERRATA_A710_2083908
608
609# Flag to apply erratum 2055002 workaround during reset. This erratum applies
610# to revision r1p0, r2p0 of the Cortex-A710 cpu and is still open.
611CPU_FLAG_LIST += ERRATA_A710_2055002
612
613# Flag to apply erratum 2017096 workaround during reset. This erratum applies
614# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
615CPU_FLAG_LIST += ERRATA_A710_2017096
616
617# Flag to apply erratum 2267065 workaround during reset. This erratum applies
618# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
619CPU_FLAG_LIST += ERRATA_A710_2267065
620
621# Flag to apply erratum 2136059 workaround during reset. This erratum applies
622# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
623CPU_FLAG_LIST += ERRATA_A710_2136059
624
625# Flag to apply erratum 2147715 workaround during reset. This erratum applies
626# to revision r2p0 of the Cortex-A710 CPU and is fixed in revision r2p1.
627CPU_FLAG_LIST += ERRATA_A710_2147715
628
629# Flag to apply erratum 2216384 workaround during reset. This erratum applies
630# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
631CPU_FLAG_LIST += ERRATA_A710_2216384
632
633# Flag to apply erratum 2282622 workaround during reset. This erratum applies
634# to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is still
635# open.
636CPU_FLAG_LIST += ERRATA_A710_2282622
637
638# Flag to apply erratum 2291219 workaround during reset. This erratum applies
639# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
640CPU_FLAG_LIST += ERRATA_A710_2291219
641
642# Flag to apply erratum 2008768 workaround during reset. This erratum applies
643# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
644CPU_FLAG_LIST += ERRATA_A710_2008768
645
646# Flag to apply erratum 2371105 workaround during reset. This erratum applies
647# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
648CPU_FLAG_LIST += ERRATA_A710_2371105
649
650# Flag to apply erratum 2701952 workaround for non-arm interconnect ip. This
651# erratum applies to revision r0p0, r1p0, r2p0, r2p1 of the Cortex-A710 cpu
652# and is still open.
653CPU_FLAG_LIST += ERRATA_A710_2701952
654
655# Flag to apply erratum 2742423 workaround during reset. This erratum applies
656# to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is still
657# open.
658CPU_FLAG_LIST += ERRATA_A710_2742423
659
660# Flag to apply erratum 2768515 workaround during power down. This erratum
661# applies to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is
662# still open.
663CPU_FLAG_LIST += ERRATA_A710_2768515
664
665# Flag to apply erratum 2778471 workaround during reset. This erratum applies
666# to revisions r0p0, r1p0, r2p0, r2p1 of the Cortex-A710 cpu and is still
667# open.
668CPU_FLAG_LIST += ERRATA_A710_2778471
669
670# Flag to apply erratum  3701772 workaround during context save/restore of
671# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r2p0, r2p1
672# of the Cortex-A710 cpu and is still open.
673CPU_FLAG_LIST += ERRATA_A710_3701772
674
675# Flag to apply erratum 2002655 workaround during reset. This erratum applies
676# to revisions r0p0 of the Neoverse-N2 cpu and is fixed in r0p1.
677CPU_FLAG_LIST += ERRATA_N2_2002655
678
679# Flag to apply erratum 2009478 workaround during powerdown. This erratum
680# applies to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1.
681CPU_FLAG_LIST += ERRATA_N2_2009478
682
683# Flag to apply erratum 2067956 workaround during reset. This erratum applies
684# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
685CPU_FLAG_LIST += ERRATA_N2_2067956
686
687# Flag to apply erratum 2025414 workaround during reset. This erratum applies
688# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
689CPU_FLAG_LIST += ERRATA_N2_2025414
690
691# Flag to apply erratum 2189731 workaround during reset. This erratum applies
692# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
693CPU_FLAG_LIST += ERRATA_N2_2189731
694
695# Flag to apply erratum 2138956 workaround during reset. This erratum applies
696# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
697CPU_FLAG_LIST += ERRATA_N2_2138956
698
699# Flag to apply erratum 2242415 workaround during reset. This erratum applies
700# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
701CPU_FLAG_LIST += ERRATA_N2_2242415
702
703# Flag to apply erratum 2138958 workaround during reset. This erratum applies
704# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
705CPU_FLAG_LIST += ERRATA_N2_2138958
706
707# Flag to apply erratum 2242400 workaround during reset. This erratum applies
708# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
709CPU_FLAG_LIST += ERRATA_N2_2242400
710
711# Flag to apply erratum 2280757 workaround during reset. This erratum applies
712# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
713CPU_FLAG_LIST += ERRATA_N2_2280757
714
715# Flag to apply erratum 2326639 workaroud during powerdown. This erratum
716# applies to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
717CPU_FLAG_LIST += ERRATA_N2_2326639
718
719# Flag to apply erratum 2340933 workaroud during reset. This erratum
720# applies to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
721CPU_FLAG_LIST += ERRATA_N2_2340933
722
723# Flag to apply erratum 2346952 workaround during reset. This erratum applies
724# to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
725CPU_FLAG_LIST += ERRATA_N2_2346952
726
727# Flag to apply erratum 2376738 workaround during reset. This erratum applies
728# to revision r0p0, r0p1, r0p2, r0p3 of the Neoverse N2 cpu and is still open.
729CPU_FLAG_LIST += ERRATA_N2_2376738
730
731# Flag to apply erratum 2388450 workaround during reset. This erratum applies
732# to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1.
733CPU_FLAG_LIST += ERRATA_N2_2388450
734
735# Flag to apply erratum 2728475 workaround for non-arm interconnect ip. This
736# erratum applies to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in
737# r0p3.
738CPU_FLAG_LIST += ERRATA_N2_2728475
739
740# Flag to apply erratum 2743014 workaround during reset. This erratum applies
741# to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
742CPU_FLAG_LIST += ERRATA_N2_2743014
743
744# Flag to apply erratum 2743089 workaround during during powerdown. This erratum
745# applies to all revisions <= r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
746CPU_FLAG_LIST += ERRATA_N2_2743089
747
748# Flag to apply erratum 2779511 workaround during reset. This erratum applies
749# to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
750CPU_FLAG_LIST += ERRATA_N2_2779511
751
752# Flag to apply erratum 3701773 workaround during context save/restore of
753# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1, r0p2 and r0p3
754# of the Neoverse N2 cpu and is still open.
755CPU_FLAG_LIST += ERRATA_N2_3701773
756
757# Flag to apply erratum 3699563 workaround during context save/restore of
758# ICH_VMCR_EL2 reg. This erratum applies to revision r0p0 of the Neoverse N3
759# cpu and is still open.
760CPU_FLAG_LIST += ERRATA_N3_3699563
761
762# Flag to apply erratum 1901946 workaround during reset. This erratum applies
763# only to revision r1p0 of the Cortex-X2 cpu, it is fixed in r2p0.
764CPU_FLAG_LIST += ERRATA_X2_1901946
765
766# Flag to apply erratum 1916945 workaround during reset. This erratum applies
767# to revisions r0p0 and r1p0 of the Cortex-X2 cpu, it is fixed in r2p0.
768CPU_FLAG_LIST += ERRATA_X2_1916945
769
770# Flag to apply erratum 1917258 workaround during reset. This erratum applies
771# to revisions r0p0 and r1p0 of the Cortex-X2 cpu, it is fixed in r2p0.
772CPU_FLAG_LIST += ERRATA_X2_1917258
773
774# Flag to apply erratum 1927200 workaround during reset. This erratum applies
775# to revisions r0p0 and r1p0 of the Cortex-X2 cpu, it is fixed in r2p0.
776CPU_FLAG_LIST += ERRATA_X2_1927200
777
778# Flag to apply erratum 1934260 workaround during reset. This erratum applies
779# only to revision r1p0 of the Cortex-X2 cpu, it is fixed in r2p0.
780CPU_FLAG_LIST += ERRATA_X2_1934260
781
782# Flag to apply erratum 2002765 workaround during reset. This erratum applies
783# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
784# r2p1.
785CPU_FLAG_LIST += ERRATA_X2_2002765
786
787# Flag to apply erratum 2017096 workaround during reset. This erratum applies
788# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
789# r2p1.
790CPU_FLAG_LIST += ERRATA_X2_2017096
791
792# Flag to apply erratum 2081180 workaround during reset. This erratum applies
793# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
794# r2p1.
795CPU_FLAG_LIST += ERRATA_X2_2081180
796
797# Flag to apply erratum 2083908 workaround during reset. This erratum applies
798# only to revision r2p0 of the Cortex-X2 cpu, it is fixed in r2p1.
799CPU_FLAG_LIST += ERRATA_X2_2083908
800
801# Flag to apply erratum 2136059 workaround during reset. This erratum applies
802# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
803# r2p1.
804CPU_FLAG_LIST += ERRATA_X2_2136059
805
806# Flag to apply erratum 2147715 workaround during reset. This erratum applies
807# only to revision r2p0 of the Cortex-X2 cpu, it is fixed in r2p1.
808CPU_FLAG_LIST += ERRATA_X2_2147715
809
810# Flag to apply erratum 2216384 workaround during reset. This erratum applies
811# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
812# r2p1.
813CPU_FLAG_LIST += ERRATA_X2_2216384
814
815# Flag to apply erratum 2267065 workaround during reset. This erratum applies
816# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
817# r2p1.
818CPU_FLAG_LIST += ERRATA_X2_2267065
819
820# Flag to apply erratum 2282622 workaround during reset. This erratum applies
821# to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still open.
822CPU_FLAG_LIST += ERRATA_X2_2282622
823
824# Flag to apply erratum 2291219 workaround during reset. This erratum applies
825# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
826# r2p1.
827CPU_FLAG_LIST += ERRATA_X2_2291219
828
829# Flag to apply erratum 2371105 workaround during reset. This erratum applies
830# to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in r2p1.
831CPU_FLAG_LIST += ERRATA_X2_2371105
832
833# Flag to apply erratum 2701952 workaround for non-Arm interconnect IP. This
834# erratum applies to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu
835# and is still open.
836CPU_FLAG_LIST += ERRATA_X2_2701952
837
838# Flag to apply erratum 2742423 workaround during reset. This erratum applies
839# to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still open.
840CPU_FLAG_LIST += ERRATA_X2_2742423
841
842# Flag to apply erratum 2768515 workaround during power down. This erratum
843# applies to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is
844# still open.
845CPU_FLAG_LIST += ERRATA_X2_2768515
846
847# Flag to apply erratum 2778471 workaround during reset. This erratum applies
848# to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still open.
849CPU_FLAG_LIST += ERRATA_X2_2778471
850
851# Flag to apply erratum 3701772 workaround during context save/restore of
852# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r2p0 and r2p1
853# of the Cortex-X2 cpu and is still open.
854CPU_FLAG_LIST += ERRATA_X2_3701772
855
856# Flag to apply erratum 2266875 workaround during reset. This erratum applies
857# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
858CPU_FLAG_LIST += ERRATA_X3_2266875
859
860# Flag to apply erratum 2302506 workaround during reset. This erratum applies
861# to revisions r0p0, r1p0 and r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
862CPU_FLAG_LIST += ERRATA_X3_2302506
863
864# Flag to apply erratum 2313909 workaround on powerdown. This erratum applies
865# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
866CPU_FLAG_LIST += ERRATA_X3_2313909
867
868# Flag to apply erratum 2372204 workaround during reset. This erratum applies
869# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
870CPU_FLAG_LIST += ERRATA_X3_2372204
871
872# Flag to apply erratum 2615812 workaround on powerdown. This erratum applies
873# to revisions r0p0, r1p0, r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
874CPU_FLAG_LIST += ERRATA_X3_2615812
875
876# Flag to apply erratum 2641945 workaround on reset. This erratum applies
877# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
878CPU_FLAG_LIST += ERRATA_X3_2641945
879
880# Flag to apply erratum 2701951 workaround for non-arm interconnect ip.
881# This erratum applies to revisions r0p0, r1p0, and r1p1. Its is fixed in r1p2.
882CPU_FLAG_LIST += ERRATA_X3_2701951
883
884# Flag to apply erratum 2742421 workaround on reset. This erratum applies
885# to revisions r0p0, r1p0 and r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
886CPU_FLAG_LIST += ERRATA_X3_2742421
887
888# Flag to apply erratum 2743088 workaround on powerdown. This erratum applies
889# to revisions r0p0, r1p0 and r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
890CPU_FLAG_LIST += ERRATA_X3_2743088
891
892# Flag to apply erratum 3701769 workaround during context save/restore of
893# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r1p1 and r1p2
894# of the Cortex-X3 cpu and is still open.
895CPU_FLAG_LIST += ERRATA_X3_3701769
896
897# Flag to apply erratum 2779509 workaround on reset. This erratum applies
898# to revisions r0p0, r1p0, r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
899CPU_FLAG_LIST += ERRATA_X3_2779509
900
901# Flag to apply erratum 3213672 workaround on reset. This erratum applies
902# to revisions r0p0, r1p0, r1p1 and r1p2 of the Cortex-X3 cpu.
903# It is still open.
904CPU_FLAG_LIST += ERRATA_X3_3213672
905
906# Flag to apply erratum 3692984 workaround on reset. This erratum applies
907# to revisions r0p0, r1p0, r1p1, r1p2 of the Cortex-X3 cpu and is still open.
908CPU_FLAG_LIST += ERRATA_X3_3692984
909
910# Flag to apply erratum 3827463 workaround on reset. This erratum applies
911# to revisions r0p0, r1p0 and r1p1 of the Cortex-X3 cpu. It is fixed in r1p2.
912CPU_FLAG_LIST += ERRATA_X3_3827463
913
914# Flag to apply erratum 2701112 workaround for platforms that do not use an
915# Arm interconnect IP. This erratum applies to revisions r0p0 of the Cortex-X4
916# cpu and is fixed in r0p1.
917CPU_FLAG_LIST += ERRATA_X4_2701112
918
919# Flag to apply erratum 2726228 workaround during warmboot. This erratum
920# applies to all revisions <= r0p1 of the Cortex-X4 cpu, it is fixed in r0p2.
921CPU_FLAG_LIST += ERRATA_X4_2726228
922
923# Flag to apply erratum 2740089 workaround during powerdown. This erratum
924# applies to all revisions <= r0p1 of the Cortex-X4 cpu, it is fixed in r0p2.
925CPU_FLAG_LIST += ERRATA_X4_2740089
926
927# Flag to apply erratum 2763018 workaround on reset. This erratum applies
928# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
929CPU_FLAG_LIST += ERRATA_X4_2763018
930
931# Flag to apply erratum 2816013 workaround on reset. This erratum applies
932# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
933CPU_FLAG_LIST += ERRATA_X4_2816013
934
935# Flag to apply erratum 2897503 workaround on reset. This erratum applies
936# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
937CPU_FLAG_LIST += ERRATA_X4_2897503
938
939# Flag to apply erratum 2923985 workaround on reset. This erratum applies
940# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
941CPU_FLAG_LIST += ERRATA_X4_2923985
942
943# Flag to apply erratum 2957258 workaround to avoid incorrect virtualization of
944# MPIDR_EL1/VMPIDR_EL2 and MIDR_EL1/VPIDR_EL2 when reading in EL2/EL3. This
945# erratum applies to revisions r0p0, r0p1 of the Cortex-X4 cpu. It is fixed
946# in r0p2.
947CPU_FLAG_LIST += ERRATA_X4_2957258
948
949# Flag to apply erratum 3076789 workaround on reset. This erratum applies
950# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
951CPU_FLAG_LIST += ERRATA_X4_3076789
952
953# Flag to apply erratum 3133195 workaround on reset. This erratum applies
954# to revision r0p2 of the Cortex-X4 cpu. It is fixed in r0p3.
955CPU_FLAG_LIST += ERRATA_X4_3133195
956
957# Flag to apply erratum 3701758 workaround during context save/restore of
958# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1, r0p2 and r0p3
959# of the Cortex-X4 cpu and is still open.
960CPU_FLAG_LIST += ERRATA_X4_3701758
961
962# Flag to apply erratum 3887999 workaround on reset. This erratum applies to
963# revisions r0p0, r0p1, r0p2 and r0p3 of the Cortex-X4 cpu and is still open.
964CPU_FLAG_LIST += ERRATA_X4_3887999
965
966# Flag to apply erratum 2963999 workaround during reset. This erratum applies
967# to revisions r0p0 of the Cortex-X925 cpu and is fixed in r0p1.
968CPU_FLAG_LIST += ERRATA_X925_2963999
969
970# Flag to apply erratum 3701747 workaround during context save/restore of
971# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1 of the
972# Cortex-X925 cpu and is still open.
973CPU_FLAG_LIST += ERRATA_X925_3701747
974
975# Flag to apply erratum 2008766 workaround during reset. This erratum applies
976# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, r1p1, r1p2 and r1p3 of the
977# Cortex-A510 cpu and is still open.
978CPU_FLAG_LIST += ERRATA_A510_2008766
979
980# Flag to apply erratum 2169012 workaround during reset. This erratum applies
981# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0 of the Cortex-A510 cpu and is
982# fixed in r1p1.
983CPU_FLAG_LIST += ERRATA_A510_2169012
984
985# Flag to apply erratum 2218134 workaround during reset. This erratum applies
986# to revision r1p0 of the Cortex-A510 cpu and is fixed in r1p1.
987CPU_FLAG_LIST += ERRATA_A510_2218134
988
989# Flag to apply erratum 2288014 workaround during reset. This erratum applies
990# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0 of the Cortex-A510 cpu and is
991# fixed in r1p1.
992CPU_FLAG_LIST += ERRATA_A510_2288014
993
994# Flag to apply erratum 2042739 workaround during reset. This erratum applies
995# to revisions r0p0, r0p1 and r0p2 of the Cortex-A510 cpu and is fixed in r0p3.
996CPU_FLAG_LIST += ERRATA_A510_2042739
997
998# Flag to apply erratum 2041909 workaround during reset. This erratum applies
999# to revision r0p2 of the Cortex-A510 cpu and is fixed in r0p3. The issue is
1000# present in r0p0 and r0p1 but there is no workaround for those revisions.
1001CPU_FLAG_LIST += ERRATA_A510_2041909
1002
1003# Flag to aply erratum 2080326 workaround during reset. This erratum applies
1004# to revision r0p2 of the Cortex-A510 cpu and is fixed in r0p3. The issue is
1005# also present in r0p0 and r0p1 but there is no workaround for those revisions.
1006CPU_FLAG_LIST += ERRATA_A510_2080326
1007
1008# Flag to apply erratum 2250311 workaround during reset. This erratum applies
1009# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
1010CPU_FLAG_LIST += ERRATA_A510_2250311
1011
1012# Flag to apply erratum 2218950 workaround during reset. This erratum applies
1013# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
1014CPU_FLAG_LIST += ERRATA_A510_2218950
1015
1016# Flag to apply erratum 2172148 workaround during reset. This erratum applies
1017# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
1018CPU_FLAG_LIST += ERRATA_A510_2172148
1019
1020# Flag to apply erratum 2347730 workaround during reset. This erratum applies
1021# to revisions r0p0, r0p1, r0p2, r0p3, r1p0 and r1p1 of the Cortex-A510 CPU,
1022# and is fixed in r1p2.
1023CPU_FLAG_LIST += ERRATA_A510_2347730
1024
1025# Flag to apply erratum 2371937 workaround during reset. This erratum applies
1026# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2.
1027CPU_FLAG_LIST += ERRATA_A510_2371937
1028
1029# Flag to apply erratum 2420992 workaround during reset. This erratum applies
1030# to revisions r1p0 and r1p1. It is fixed in r1p2.
1031CPU_FLAG_LIST += ERRATA_A510_2420992
1032
1033# Flag to apply erratum 2666669 workaround during reset. This erratum applies
1034# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2.
1035CPU_FLAG_LIST += ERRATA_A510_2666669
1036
1037# Flag to apply erratum 2684597 workaround during powerdown. This erratum
1038# applies to revision r0p0, r0p1, r0p2, r0p3, r1p0, r1p1 and r1p2 of the
1039# Cortex-A510 cpu and is fixed in r1p3.
1040CPU_FLAG_LIST += ERRATA_A510_2684597
1041
1042# Flag to apply erratum 2971420 workaround during context switch. This erratum
1043# applies to revisions r0p1, r0p2, r0p3, r1p0, r1p1, r1p2 and r1p3 of the
1044# Cortex-A510 cpu and is still open.
1045CPU_FLAG_LIST += ERRATA_A510_2971420
1046
1047# Flag to apply erratum 3672349 workaround during reset. This erratum applies to
1048# revisions r0p0, r0p1, r0p2, r0p3, r1p0, r1p1, r1p2 and r1p3 of the Cortex-A510
1049# cpu and is still open.
1050CPU_FLAG_LIST += ERRATA_A510_3672349
1051
1052# Flag to apply erratum 3704847 workaround during reset. This erratum applies to
1053# revisions r0p0, r0p1, r0p2, r0p3, r1p0, r1p1, r1p2 and r1p3 of the Cortex-A510
1054# cpu and is still open.
1055CPU_FLAG_LIST += ERRATA_A510_3704847
1056
1057# Flag to apply erratum 2630792 workaround during reset. This erratum applies
1058# to revisions r0p0, r0p1 of the Cortex-A520 cpu and is still open.
1059CPU_FLAG_LIST += ERRATA_A520_2630792
1060
1061# Flag to apply erratum 2858100 workaround during reset. This erratum
1062# applies to revision r0p0 and r0p1 of the Cortex-A520 cpu and is still open.
1063CPU_FLAG_LIST += ERRATA_A520_2858100
1064
1065# Flag to apply erratum 2938996 workaround during reset. This erratum
1066# applies to revision r0p0 and r0p1 of the Cortex-A520 cpu and is fixed in r0p2.
1067CPU_FLAG_LIST += ERRATA_A520_2938996
1068
1069# Flag to apply erratum 2618597 workaround during reset. This erratum applies
1070# to revisions r0p0 and r0p1. It is fixed in r0p2.
1071CPU_FLAG_LIST += ERRATA_V2_2618597
1072
1073# Flag to apply erratum 2662553 workaround during reset. This erratum applies
1074# to revisions r0p0 and r0p1. It is fixed in r0p2.
1075CPU_FLAG_LIST += ERRATA_V2_2662553
1076
1077# Flag to apply erratum 2719103 workaround for non-arm interconnect ip. This
1078# erratum applies to revisions r0p0, rop1. Fixed in r0p2.
1079CPU_FLAG_LIST += ERRATA_V2_2719103
1080
1081# Flag to apply erratum 2719105 workaround during reset. This erratum applies
1082# to revisions r0p0 and r0p1. It is fixed in r0p2.
1083CPU_FLAG_LIST += ERRATA_V2_2719105
1084
1085# Flag to apply erratum 2743011 workaround during reset. This erratum applies
1086# to revisions r0p0 and r0p1. It is fixed in r0p2.
1087CPU_FLAG_LIST += ERRATA_V2_2743011
1088
1089# Flag to apply erratum 2779510 workaround during reset. This erratum applies
1090# to revisions r0p0 and r0p1. It is fixed in r0p2.
1091CPU_FLAG_LIST += ERRATA_V2_2779510
1092
1093# Flag to apply erratum 2801372 workaround for all configurations.
1094# This erratum applies to revisions r0p0, r0p1. Fixed in r0p2.
1095CPU_FLAG_LIST += ERRATA_V2_2801372
1096
1097# Flag to apply erratum 3701771 workaround during context save/restore of
1098# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1 and r0p2 of
1099# the Neoverse V2 cpu and is still open.
1100CPU_FLAG_LIST += ERRATA_V2_3701771
1101
1102# Flag to apply erratum 3841324 workaround on reset. This erratum applies
1103# to revisions r0p0 and r0p1 of the Neoverse-V2 cpu. It is fixed in r0p2.
1104CPU_FLAG_LIST += ERRATA_V2_3841324
1105
1106# Flag to apply erratum 2331818 workaround during reset. This erratum applies
1107# to revisions r0p0 and r1p0. It is fixed in r1p1.
1108CPU_FLAG_LIST += ERRATA_A715_2331818
1109
1110# Flag to apply erratum 2344187 workaround during reset. This erratum applies
1111# to revisions r0p0, and r1p0. It is fixed in r1p1.
1112CPU_FLAG_LIST += ERRATA_A715_2344187
1113
1114# Flag to apply erratum 2376701 workaround during reset. This erratum applies
1115# to revisions r0p0, and r1p0. It is fixed in r1p1.
1116CPU_FLAG_LIST += ERRATA_A715_2376701
1117
1118# Flag to apply erratum 2409570 workaround during reset. This erratum applies to
1119# revisions r0p0 and r1p0 and is fixed in r1p1. The fix as implemented in TF-A
1120# only applies to r1p0.
1121CPU_FLAG_LIST += ERRATA_A715_2409570
1122
1123# Flag to apply erratum 2413290 workaround during reset. This erratum applies
1124# only to revision r1p0. It is fixed in r1p1.
1125CPU_FLAG_LIST += ERRATA_A715_2413290
1126
1127# Flag to apply erratum 2420947 workaround during reset. This erratum applies
1128# only to revision r1p0. It is fixed in r1p1.
1129CPU_FLAG_LIST += ERRATA_A715_2420947
1130
1131# Flag to apply erratum 2429384 workaround during reset. This erratum applies
1132# to revision r1p0. There is no workaround for r0p0. It is fixed in r1p1.
1133CPU_FLAG_LIST += ERRATA_A715_2429384
1134
1135# Flag to apply erratum 2561034 workaround during reset. This erratum applies
1136# only to revision r1p0. It is fixed in r1p1.
1137CPU_FLAG_LIST += ERRATA_A715_2561034
1138
1139# Flag to apply erratum 2728106 workaround during reset. This erratum applies
1140# only to revision r0p0, r1p0 and r1p1. It is fixed in r1p2.
1141CPU_FLAG_LIST += ERRATA_A715_2728106
1142
1143# Flag to apply erratum 2804830 workaround during reset. This erratum applies
1144# to revisions r0p0, r1p0, r1p1 and r1p2. It is fixed in r1p3.
1145CPU_FLAG_LIST += ERRATA_A715_2804830
1146
1147# Flag to apply erratum 3699560 workaround during context save/restore of
1148# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r1p2, r1p3
1149# of the Cortex-A715 cpu and is still open.
1150CPU_FLAG_LIST += ERRATA_A715_3699560
1151
1152# Flag to apply erratum 3711916 workaround during reset. This erratum applies
1153# to revisions r0p0, r1p0, r1p1, r1p2 and r1p3 and is still open.
1154CPU_FLAG_LIST += ERRATA_A715_3711916
1155
1156# Flag to apply erratum 2729604 workaround during reset. This erratum applies
1157# to revisions r0p0 and r0p1. It is fixed in r0p2.
1158CPU_FLAG_LIST += ERRATA_A720_2729604
1159
1160# Flag to apply erratum 2792132 workaround during reset. This erratum applies
1161# to revisions r0p0 and r0p1. It is fixed in r0p2.
1162CPU_FLAG_LIST += ERRATA_A720_2792132
1163
1164# Flag to apply erratum 2844092 workaround during reset. This erratum applies
1165# to revisions r0p0 and r0p1. It is fixed in r0p2.
1166CPU_FLAG_LIST += ERRATA_A720_2844092
1167
1168# Flag to apply erratum 2926083 workaround during reset. This erratum applies
1169# to revisions r0p0 and r0p1. It is fixed in r0p2.
1170CPU_FLAG_LIST += ERRATA_A720_2926083
1171
1172# Flag to apply erratum 2940794 workaround during reset. This erratum applies
1173# to revisions r0p0 and r0p1. It is fixed in r0p2.
1174CPU_FLAG_LIST += ERRATA_A720_2940794
1175
1176# Flag to apply erratum 3699561 workaround during context save/restore of
1177# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1, r0p2 of
1178# the Cortex-A720 cpu and is still open.
1179CPU_FLAG_LIST += ERRATA_A720_3699561
1180
1181# Flag to apply erratum 2940794 workaround during reset. This erratum applies
1182# to revisions r0p0, r0p1 and r0p2 of the Cortex-A720 cpu and is still open.
1183CPU_FLAG_LIST += ERRATA_A720_3711910
1184
1185# Flag to apply erratum 3699562 workaround during context save/restore of
1186# ICH_VMCR_EL2 reg. This erratum applies to revision r0p0 the Cortex-A720-AE
1187# cpu and is still open.
1188CPU_FLAG_LIST += ERRATA_A720_AE_3699562
1189
1190# Flag to apply erratum 3699564 workaround during context save/restore of
1191# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1 of
1192# the Cortex-A725 cpu and is fixed in r0p2
1193CPU_FLAG_LIST += ERRATA_A725_3699564
1194
1195# Flag to apply DSU erratum 798953. This erratum applies to DSUs revision r0p0.
1196# Applying the workaround results in higher DSU power consumption on idle.
1197CPU_FLAG_LIST += ERRATA_DSU_798953
1198
1199# Flag to apply DSU erratum 936184. This erratum applies to DSUs containing
1200# the ACP interface and revision < r0p0. Applying the workaround results in
1201# higher DSU power consumption on idle.
1202CPU_FLAG_LIST += ERRATA_DSU_936184
1203
1204# Flag to apply DSU erratum 2313941. This erratum applies to DSUs revisions
1205# r0p0, r1p0, r2p0, r2p1, r3p0, r3p1 and is still open. Applying the workaround
1206# results in higher DSU power consumption on idle.
1207CPU_FLAG_LIST += ERRATA_DSU_2313941
1208
1209# Flag to apply DSU erratum 2900952 during reset. This erratum applies
1210# to some implementations of DSU-120 revision r2p0. Erratum might be fixed
1211# in some implementations of r2p0. This can be determined by reading
1212# the IMP_CLUSTERREVIDR_EL1 register where a set bit indicates that
1213# the erratum is fixed in this part. It is fixed in r2p1.
1214CPU_FLAG_LIST += ERRATA_DSU_2900952
1215
1216# process all flags
1217ifeq (${ENABLE_ERRATA_ALL},1)
1218$(eval $(call default_ones, $(CPU_FLAG_LIST)))
1219else
1220$(eval $(call default_zeros, $(CPU_FLAG_LIST)))
1221endif
1222