blob: 0db7e94acb2a4f7030b0f56ee3f042893033b7d7 [file] [log] [blame]
Soby Mathew802f8652014-08-14 16:19:29 +01001#
Arvind Ram Prakash738a5542024-09-06 11:35:56 -05002# Copyright (c) 2014-2025, Arm Limited and Contributors. All rights reserved.
Varun Wadekar9030a6c2022-03-09 22:04:00 +00003# Copyright (c) 2020-2022, NVIDIA Corporation. All rights reserved.
Soby Mathew802f8652014-08-14 16:19:29 +01004#
dp-armfa3cf0b2017-05-03 09:38:09 +01005# SPDX-License-Identifier: BSD-3-Clause
Soby Mathew802f8652014-08-14 16:19:29 +01006#
7
Boyan Karatotevb4f25db2022-11-17 12:01:29 +00008include ${MAKE_HELPERS_DIRECTORY}$/build_macros.mk
9
Soby Mathew937488b2014-09-22 14:13:34 +010010# Cortex A57 specific optimisation to skip L1 cache flush when
11# cluster is powered down.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000012CPU_FLAG_LIST += SKIP_A57_L1_FLUSH_PWR_DWN
Soby Mathew937488b2014-09-22 14:13:34 +010013
Sandrine Bailleuxd4817592016-01-13 14:57:38 +000014# Flag to disable the cache non-temporal hint.
15# It is enabled by default.
johpow01de7b5242022-01-04 16:15:18 -060016A53_DISABLE_NON_TEMPORAL_HINT ?=1
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000017CPU_FLAG_LIST += A53_DISABLE_NON_TEMPORAL_HINT
Sandrine Bailleuxd4817592016-01-13 14:57:38 +000018
19# Flag to disable the cache non-temporal hint.
20# It is enabled by default.
johpow01de7b5242022-01-04 16:15:18 -060021A57_DISABLE_NON_TEMPORAL_HINT ?=1
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000022CPU_FLAG_LIST += A57_DISABLE_NON_TEMPORAL_HINT
Sandrine Bailleuxd4817592016-01-13 14:57:38 +000023
Varun Wadekar5ee3abc2018-06-12 16:49:12 -070024# Flag to enable higher performance non-cacheable load forwarding.
25# It is disabled by default.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000026CPU_FLAG_LIST += A57_ENABLE_NONCACHEABLE_LOAD_FWD
Varun Wadekar5ee3abc2018-06-12 16:49:12 -070027
johpow01de7b5242022-01-04 16:15:18 -060028WORKAROUND_CVE_2017_5715 ?=1
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000029CPU_FLAG_LIST += WORKAROUND_CVE_2017_5715
johpow01de7b5242022-01-04 16:15:18 -060030WORKAROUND_CVE_2018_3639 ?=1
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000031CPU_FLAG_LIST += WORKAROUND_CVE_2018_3639
32CPU_FLAG_LIST += DYNAMIC_WORKAROUND_CVE_2018_3639
Bipin Ravi86499742022-01-18 01:59:06 -060033WORKAROUND_CVE_2022_23960 ?=1
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000034CPU_FLAG_LIST += WORKAROUND_CVE_2022_23960
Arvind Ram Prakash738a5542024-09-06 11:35:56 -050035WORKAROUND_CVE_2024_7881 ?=1
36CPU_FLAG_LIST += WORKAROUND_CVE_2024_7881
Dimitris Papastamos446f7f12017-11-30 14:53:53 +000037
Sona Mathew53b6da52024-05-20 13:48:19 -050038# Flag to disable Hardware page aggregation(HPA).
39# This flag is enabled by default.
40WORKAROUND_CVE_2024_5660 ?=1
41CPU_FLAG_LIST += WORKAROUND_CVE_2024_5660
42
43
Javier Almansa Sobrino9faad3c2020-10-23 13:22:07 +010044# Flags to indicate internal or external Last level cache
Manish Pandey3880a362020-01-24 11:54:44 +000045# By default internal
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000046CPU_FLAG_LIST += NEOVERSE_Nx_EXTERNAL_LLC
Dimitris Papastamosba51d9e2018-05-16 11:36:14 +010047
Sandrine Bailleuxafa8a782016-04-14 12:59:42 +010048# CPU Errata Build flags.
49# These should be enabled by the platform if the erratum workaround needs to be
50# applied.
Soby Mathew802f8652014-08-14 16:19:29 +010051
Joel Hutton26d16762019-04-10 12:52:52 +010052# Flag to apply erratum 794073 workaround when disabling mmu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000053CPU_FLAG_LIST += ERRATA_A9_794073
Joel Hutton26d16762019-04-10 12:52:52 +010054
Ambroise Vincentd4a51eb2019-03-04 16:56:26 +000055# Flag to apply erratum 816470 workaround during power down. This erratum
56# applies only to revision >= r3p0 of the Cortex A15 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000057CPU_FLAG_LIST += ERRATA_A15_816470
Ambroise Vincentd4a51eb2019-03-04 16:56:26 +000058
Ambroise Vincent68b38122019-03-05 09:54:21 +000059# Flag to apply erratum 827671 workaround during reset. This erratum applies
60# only to revision >= r3p0 of the Cortex A15 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000061CPU_FLAG_LIST += ERRATA_A15_827671
Ambroise Vincent68b38122019-03-05 09:54:21 +000062
Ambroise Vincent8cf9eef2019-02-28 16:23:53 +000063# Flag to apply erratum 852421 workaround during reset. This erratum applies
64# only to revision <= r1p2 of the Cortex A17 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000065CPU_FLAG_LIST += ERRATA_A17_852421
Ambroise Vincent8cf9eef2019-02-28 16:23:53 +000066
Ambroise Vincentfa5c9512019-03-04 13:20:56 +000067# Flag to apply erratum 852423 workaround during reset. This erratum applies
68# only to revision <= r1p2 of the Cortex A17 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000069CPU_FLAG_LIST += ERRATA_A17_852423
Ambroise Vincentfa5c9512019-03-04 13:20:56 +000070
Louis Mayencourt8a061272019-04-05 16:25:25 +010071# Flag to apply erratum 855472 workaround during reset. This erratum applies
72# only to revision r0p0 of the Cortex A35 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000073CPU_FLAG_LIST += ERRATA_A35_855472
Louis Mayencourt8a061272019-04-05 16:25:25 +010074
Ambroise Vincentf5fdfbc2019-02-21 14:16:24 +000075# Flag to apply erratum 819472 workaround during reset. This erratum applies
76# only to revision <= r0p1 of the Cortex A53 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000077CPU_FLAG_LIST += ERRATA_A53_819472
Ambroise Vincentf5fdfbc2019-02-21 14:16:24 +000078
79# Flag to apply erratum 824069 workaround during reset. This erratum applies
80# only to revision <= r0p2 of the Cortex A53 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000081CPU_FLAG_LIST += ERRATA_A53_824069
Ambroise Vincentf5fdfbc2019-02-21 14:16:24 +000082
Sandrine Bailleuxafa8a782016-04-14 12:59:42 +010083# Flag to apply erratum 826319 workaround during reset. This erratum applies
84# only to revision <= r0p2 of the Cortex A53 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000085CPU_FLAG_LIST += ERRATA_A53_826319
developer4fceaca2015-07-29 20:55:31 +080086
Ambroise Vincentf5fdfbc2019-02-21 14:16:24 +000087# Flag to apply erratum 827319 workaround during reset. This erratum applies
88# only to revision <= r0p2 of the Cortex A53 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000089CPU_FLAG_LIST += ERRATA_A53_827319
Ambroise Vincentf5fdfbc2019-02-21 14:16:24 +000090
johpow01de7b5242022-01-04 16:15:18 -060091# Flag to apply erratum 835769 workaround at compile and link time. This
Douglas Raillardd56fb042017-06-19 15:38:02 +010092# erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this
93# workaround can lead the linker to create "*.stub" sections.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000094CPU_FLAG_LIST += ERRATA_A53_835769
Douglas Raillardd56fb042017-06-19 15:38:02 +010095
Sandrine Bailleuxafa8a782016-04-14 12:59:42 +010096# Flag to apply erratum 836870 workaround during reset. This erratum applies
97# only to revision <= r0p3 of the Cortex A53 cpu. From r0p4 and onwards, this
Douglas Raillardc847f662017-02-15 17:38:43 +000098# erratum workaround is enabled by default in hardware.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000099CPU_FLAG_LIST += ERRATA_A53_836870
developer4fceaca2015-07-29 20:55:31 +0800100
Douglas Raillardd56fb042017-06-19 15:38:02 +0100101# Flag to apply erratum 843419 workaround at link time.
102# This erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this
103# workaround could lead the linker to emit "*.stub" sections which are 4kB
104# aligned.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000105CPU_FLAG_LIST += ERRATA_A53_843419
Douglas Raillardd56fb042017-06-19 15:38:02 +0100106
Andre Przywara00eefd92016-10-06 16:54:53 +0100107# Flag to apply errata 855873 during reset. This errata applies to all
108# revisions of the Cortex A53 CPU, but this firmware workaround only works
109# for revisions r0p3 and higher. Earlier revisions are taken care
110# of by the rich OS.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000111CPU_FLAG_LIST += ERRATA_A53_855873
Andre Przywara00eefd92016-10-06 16:54:53 +0100112
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100113# Flag to apply erratum 1530924 workaround during reset. This erratum applies
114# to all revisions of Cortex A53 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000115CPU_FLAG_LIST += ERRATA_A53_1530924
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100116
Ambroise Vincent7927fa02019-02-21 16:20:43 +0000117# Flag to apply erratum 768277 workaround during reset. This erratum applies
118# only to revision r0p0 of the Cortex A55 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000119CPU_FLAG_LIST += ERRATA_A55_768277
Ambroise Vincent7927fa02019-02-21 16:20:43 +0000120
Ambroise Vincent6f319602019-02-21 16:25:37 +0000121# Flag to apply erratum 778703 workaround during reset. This erratum applies
122# only to revision r0p0 of the Cortex A55 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000123CPU_FLAG_LIST += ERRATA_A55_778703
Ambroise Vincent6f319602019-02-21 16:25:37 +0000124
Ambroise Vincent6a77f052019-02-21 16:27:34 +0000125# Flag to apply erratum 798797 workaround during reset. This erratum applies
126# only to revision r0p0 of the Cortex A55 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000127CPU_FLAG_LIST += ERRATA_A55_798797
Ambroise Vincent6a77f052019-02-21 16:27:34 +0000128
Ambroise Vincentdd961f72019-02-21 16:29:16 +0000129# Flag to apply erratum 846532 workaround during reset. This erratum applies
130# only to revision <= r0p1 of the Cortex A55 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000131CPU_FLAG_LIST += ERRATA_A55_846532
Ambroise Vincentdd961f72019-02-21 16:29:16 +0000132
Ambroise Vincenta1d64462019-02-21 16:29:50 +0000133# Flag to apply erratum 903758 workaround during reset. This erratum applies
134# only to revision <= r0p1 of the Cortex A55 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000135CPU_FLAG_LIST += ERRATA_A55_903758
Ambroise Vincenta1d64462019-02-21 16:29:50 +0000136
Ambroise Vincentb72fe7a2019-05-28 09:52:48 +0100137# Flag to apply erratum 1221012 workaround during reset. This erratum applies
138# only to revision <= r1p0 of the Cortex A55 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000139CPU_FLAG_LIST += ERRATA_A55_1221012
Ambroise Vincentb72fe7a2019-05-28 09:52:48 +0100140
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100141# Flag to apply erratum 1530923 workaround during reset. This erratum applies
142# to all revisions of Cortex A55 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000143CPU_FLAG_LIST += ERRATA_A55_1530923
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100144
Sandrine Bailleuxafa8a782016-04-14 12:59:42 +0100145# Flag to apply erratum 806969 workaround during reset. This erratum applies
146# only to revision r0p0 of the Cortex A57 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000147CPU_FLAG_LIST += ERRATA_A57_806969
Soby Mathew802f8652014-08-14 16:19:29 +0100148
Antonio Nino Diaz3f13c352017-02-24 11:39:22 +0000149# Flag to apply erratum 813419 workaround during reset. This erratum applies
150# only to revision r0p0 of the Cortex A57 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000151CPU_FLAG_LIST += ERRATA_A57_813419
Antonio Nino Diaz3f13c352017-02-24 11:39:22 +0000152
johpow01de7b5242022-01-04 16:15:18 -0600153# Flag to apply erratum 813420 workaround during reset. This erratum applies
Sandrine Bailleuxafa8a782016-04-14 12:59:42 +0100154# only to revision r0p0 of the Cortex A57 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000155CPU_FLAG_LIST += ERRATA_A57_813420
Soby Mathew802f8652014-08-14 16:19:29 +0100156
johpow01de7b5242022-01-04 16:15:18 -0600157# Flag to apply erratum 814670 workaround during reset. This erratum applies
Ambroise Vincent1b0db762019-02-21 16:35:07 +0000158# only to revision r0p0 of the Cortex A57 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000159CPU_FLAG_LIST += ERRATA_A57_814670
Ambroise Vincent1b0db762019-02-21 16:35:07 +0000160
Ambroise Vincentaa2c0292019-02-21 16:35:49 +0000161# Flag to apply erratum 817169 workaround during power down. This erratum
162# applies only to revision <= r0p1 of the Cortex A57 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000163CPU_FLAG_LIST += ERRATA_A57_817169
Ambroise Vincentaa2c0292019-02-21 16:35:49 +0000164
Sandrine Bailleuxa7e0c532016-04-14 13:32:31 +0100165# Flag to apply erratum 826974 workaround during reset. This erratum applies
166# only to revision <= r1p1 of the Cortex A57 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000167CPU_FLAG_LIST += ERRATA_A57_826974
Sandrine Bailleuxa7e0c532016-04-14 13:32:31 +0100168
Sandrine Bailleuxadcbd552016-04-14 14:24:13 +0100169# Flag to apply erratum 826977 workaround during reset. This erratum applies
170# only to revision <= r1p1 of the Cortex A57 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000171CPU_FLAG_LIST += ERRATA_A57_826977
Sandrine Bailleuxadcbd552016-04-14 14:24:13 +0100172
Sandrine Bailleuxc11116f2016-04-14 14:04:48 +0100173# Flag to apply erratum 828024 workaround during reset. This erratum applies
174# only to revision <= r1p1 of the Cortex A57 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000175CPU_FLAG_LIST += ERRATA_A57_828024
Sandrine Bailleuxc11116f2016-04-14 14:04:48 +0100176
Sandrine Bailleux48cbe852016-04-14 14:18:07 +0100177# Flag to apply erratum 829520 workaround during reset. This erratum applies
178# only to revision <= r1p2 of the Cortex A57 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000179CPU_FLAG_LIST += ERRATA_A57_829520
Sandrine Bailleux48cbe852016-04-14 14:18:07 +0100180
Sandrine Bailleux143ef1a2016-04-21 11:10:52 +0100181# Flag to apply erratum 833471 workaround during reset. This erratum applies
182# only to revision <= r1p2 of the Cortex A57 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000183CPU_FLAG_LIST += ERRATA_A57_833471
Sandrine Bailleux143ef1a2016-04-21 11:10:52 +0100184
Eleanor Bonnici0c9bd272017-08-02 16:35:04 +0100185# Flag to apply erratum 855972 workaround during reset. This erratum applies
186# only to revision <= r1p3 of the Cortex A57 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000187CPU_FLAG_LIST += ERRATA_A57_859972
Eleanor Bonnici0c9bd272017-08-02 16:35:04 +0100188
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100189# Flag to apply erratum 1319537 workaround during reset. This erratum applies
190# to all revisions of Cortex A57 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000191CPU_FLAG_LIST += ERRATA_A57_1319537
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100192
Eleanor Bonnicic3b4ca12017-08-02 18:33:41 +0100193# Flag to apply erratum 855971 workaround during reset. This erratum applies
194# only to revision <= r0p3 of the Cortex A72 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000195CPU_FLAG_LIST += ERRATA_A72_859971
Eleanor Bonnicic3b4ca12017-08-02 18:33:41 +0100196
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100197# Flag to apply erratum 1319367 workaround during reset. This erratum applies
198# to all revisions of Cortex A72 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000199CPU_FLAG_LIST += ERRATA_A72_1319367
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100200
Louis Mayencourtd69722c2019-02-27 14:24:16 +0000201# Flag to apply erratum 852427 workaround during reset. This erratum applies
202# only to revision r0p0 of the Cortex A73 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000203CPU_FLAG_LIST += ERRATA_A73_852427
Louis Mayencourtd69722c2019-02-27 14:24:16 +0000204
Louis Mayencourt4405de62019-02-21 16:38:16 +0000205# Flag to apply erratum 855423 workaround during reset. This erratum applies
206# only to revision <= r0p1 of the Cortex A73 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000207CPU_FLAG_LIST += ERRATA_A73_855423
Louis Mayencourt4405de62019-02-21 16:38:16 +0000208
Louis Mayencourt78a0aed2019-02-20 12:11:41 +0000209# Flag to apply erratum 764081 workaround during reset. This erratum applies
210# only to revision <= r0p0 of the Cortex A75 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000211CPU_FLAG_LIST += ERRATA_A75_764081
Louis Mayencourt78a0aed2019-02-20 12:11:41 +0000212
Louis Mayencourt8d868702019-02-25 14:57:57 +0000213# Flag to apply erratum 790748 workaround during reset. This erratum applies
214# only to revision <= r0p0 of the Cortex A75 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000215CPU_FLAG_LIST += ERRATA_A75_790748
Louis Mayencourt8d868702019-02-25 14:57:57 +0000216
Louis Mayencourt59fa2182019-02-25 15:17:44 +0000217# Flag to apply erratum 1073348 workaround during reset. This erratum applies
218# only to revision <= r1p0 of the Cortex A76 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000219CPU_FLAG_LIST += ERRATA_A76_1073348
Louis Mayencourt59fa2182019-02-25 15:17:44 +0000220
Louis Mayencourt09924472019-02-21 17:35:07 +0000221# Flag to apply erratum 1130799 workaround during reset. This erratum applies
222# only to revision <= r2p0 of the Cortex A76 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000223CPU_FLAG_LIST += ERRATA_A76_1130799
Louis Mayencourt09924472019-02-21 17:35:07 +0000224
Louis Mayencourtadda9d42019-02-25 11:37:38 +0000225# Flag to apply erratum 1220197 workaround during reset. This erratum applies
226# only to revision <= r2p0 of the Cortex A76 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000227CPU_FLAG_LIST += ERRATA_A76_1220197
Louis Mayencourtadda9d42019-02-25 11:37:38 +0000228
Soby Mathew1d3ba1c2019-05-01 09:43:18 +0100229# Flag to apply erratum 1257314 workaround during reset. This erratum applies
230# only to revision <= r3p0 of the Cortex A76 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000231CPU_FLAG_LIST += ERRATA_A76_1257314
Soby Mathew1d3ba1c2019-05-01 09:43:18 +0100232
233# Flag to apply erratum 1262606 workaround during reset. This erratum applies
234# only to revision <= r3p0 of the Cortex A76 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000235CPU_FLAG_LIST += ERRATA_A76_1262606
Soby Mathew1d3ba1c2019-05-01 09:43:18 +0100236
237# Flag to apply erratum 1262888 workaround during reset. This erratum applies
238# only to revision <= r3p0 of the Cortex A76 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000239CPU_FLAG_LIST += ERRATA_A76_1262888
Soby Mathew1d3ba1c2019-05-01 09:43:18 +0100240
241# Flag to apply erratum 1275112 workaround during reset. This erratum applies
242# only to revision <= r3p0 of the Cortex A76 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000243CPU_FLAG_LIST += ERRATA_A76_1275112
Soby Mathew1d3ba1c2019-05-01 09:43:18 +0100244
Soby Mathew16d006b2019-05-03 13:17:56 +0100245# Flag to apply erratum 1286807 workaround during reset. This erratum applies
246# only to revision <= r3p0 of the Cortex A76 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000247CPU_FLAG_LIST += ERRATA_A76_1286807
Soby Mathew16d006b2019-05-03 13:17:56 +0100248
johpow019603f982020-05-29 14:17:38 -0500249# Flag to apply erratum 1791580 workaround during reset. This erratum applies
250# only to revision <= r4p0 of the Cortex A76 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000251CPU_FLAG_LIST += ERRATA_A76_1791580
johpow019603f982020-05-29 14:17:38 -0500252
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100253# Flag to apply erratum 1165522 workaround during reset. This erratum applies
254# to all revisions of Cortex A76 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000255CPU_FLAG_LIST += ERRATA_A76_1165522
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100256
johpow0181365e32020-09-29 17:19:09 -0500257# Flag to apply erratum 1868343 workaround during reset. This erratum applies
258# only to revision <= r4p0 of the Cortex A76 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000259CPU_FLAG_LIST += ERRATA_A76_1868343
johpow0181365e32020-09-29 17:19:09 -0500260
johpow013e34e922020-12-15 19:02:18 -0600261# Flag to apply erratum 1946160 workaround during reset. This erratum applies
262# only to revisions r3p0 - r4p1 of the Cortex A76 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000263CPU_FLAG_LIST += ERRATA_A76_1946160
johpow013e34e922020-12-15 19:02:18 -0600264
Bipin Ravi23e29e42022-11-02 16:50:03 -0500265# Flag to apply erratum 2743102 workaround during powerdown. This erratum
266# applies to all revisions <= r4p1 of the Cortex A76 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000267CPU_FLAG_LIST += ERRATA_A76_2743102
Bipin Ravi23e29e42022-11-02 16:50:03 -0500268
laurenw-arm99ad9762020-07-14 14:18:34 -0500269# Flag to apply erratum 1508412 workaround during reset. This erratum applies
270# only to revision <= r1p0 of the Cortex A77 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000271CPU_FLAG_LIST += ERRATA_A77_1508412
laurenw-arm99ad9762020-07-14 14:18:34 -0500272
johpow01a2fa12c2020-09-10 13:39:26 -0500273# Flag to apply erratum 1925769 workaround during reset. This erratum applies
274# only to revision <= r1p1 of the Cortex A77 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000275CPU_FLAG_LIST += ERRATA_A77_1925769
johpow01a2fa12c2020-09-10 13:39:26 -0500276
laurenw-armf5dbbef2021-03-23 13:09:35 -0500277# Flag to apply erratum 1946167 workaround during reset. This erratum applies
278# only to revision <= r1p1 of the Cortex A77 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000279CPU_FLAG_LIST += ERRATA_A77_1946167
laurenw-armf5dbbef2021-03-23 13:09:35 -0500280
johpow01eb146102021-05-03 13:37:13 -0500281# Flag to apply erratum 1791578 workaround during reset. This erratum applies
282# to revisions r0p0, r1p0, and r1p1, it is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000283CPU_FLAG_LIST += ERRATA_A77_1791578
johpow01eb146102021-05-03 13:37:13 -0500284
Bipin Ravi8e916622022-06-08 15:27:00 -0500285# Flag to apply erratum 2356587 workaround during reset. This erratum applies
286# to revisions r0p0, r1p0, and r1p1, it is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000287CPU_FLAG_LIST += ERRATA_A77_2356587
Bipin Ravi8e916622022-06-08 15:27:00 -0500288
Boyan Karatoteve5cf16b2022-09-27 10:37:54 +0100289# Flag to apply erratum 1800714 workaround during reset. This erratum applies
290# to revisions <= r1p1 of the Cortex A77 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000291CPU_FLAG_LIST += ERRATA_A77_1800714
Boyan Karatoteve5cf16b2022-09-27 10:37:54 +0100292
Boyan Karatotevaaf5d292022-11-01 11:22:12 +0000293# Flag to apply erratum 2743100 workaround during power down. This erratum
294# applies to revisions r0p0, r1p0, and r1p1, it is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000295CPU_FLAG_LIST += ERRATA_A77_2743100
Boyan Karatotevaaf5d292022-11-01 11:22:12 +0000296
Madhukar Pappireddy4efede72019-12-18 15:56:27 -0600297# Flag to apply erratum 1688305 workaround during reset. This erratum applies
Jimmy Brisson3571fb92020-06-01 10:18:22 -0500298# to revisions r0p0 - r1p0 of the A78 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000299CPU_FLAG_LIST += ERRATA_A78_1688305
Madhukar Pappireddy4efede72019-12-18 15:56:27 -0600300
johpow019131eb82020-10-06 17:55:25 -0500301# Flag to apply erratum 1941498 workaround during reset. This erratum applies
302# to revisions r0p0, r1p0, and r1p1 of the A78 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000303CPU_FLAG_LIST += ERRATA_A78_1941498
johpow019131eb82020-10-06 17:55:25 -0500304
johpow0185ea43d2020-10-07 15:08:01 -0500305# Flag to apply erratum 1951500 workaround during reset. This erratum applies
johpow01de7b5242022-01-04 16:15:18 -0600306# to revisions r1p0 and r1p1 of the A78 cpu. The issue is present in r0p0 as
johpow0185ea43d2020-10-07 15:08:01 -0500307# well but there is no workaround for that revision.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000308CPU_FLAG_LIST += ERRATA_A78_1951500
johpow0185ea43d2020-10-07 15:08:01 -0500309
johpow01b3e82942021-04-30 18:08:52 -0500310# Flag to apply erratum 1821534 workaround during reset. This erratum applies
311# to revisions r0p0 and r1p0 of the A78 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000312CPU_FLAG_LIST += ERRATA_A78_1821534
johpow01b3e82942021-04-30 18:08:52 -0500313
nayanpatel-arm80bf7a52021-08-11 13:33:00 -0700314# Flag to apply erratum 1952683 workaround during reset. This erratum applies
315# to revision r0p0 of the A78 cpu and was fixed in the revision r1p0.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000316CPU_FLAG_LIST += ERRATA_A78_1952683
nayanpatel-arm80bf7a52021-08-11 13:33:00 -0700317
nayanpatel-arm39e08652021-09-28 17:31:50 -0700318# Flag to apply erratum 2132060 workaround during reset. This erratum applies
319# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000320CPU_FLAG_LIST += ERRATA_A78_2132060
johpow0145c17242021-09-02 17:53:30 -0500321
322# Flag to apply erratum 2242635 workaround during reset. This erratum applies
323# to revisions r1p0, r1p1, and r1p2 of the A78 cpu and is open. The issue is
324# present in r0p0 as well but there is no workaround for that revision.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000325CPU_FLAG_LIST += ERRATA_A78_2242635
johpow0145c17242021-09-02 17:53:30 -0500326
John Powell12bc0de2022-05-03 15:22:57 -0500327# Flag to apply erratum 2376745 workaround during reset. This erratum applies
328# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000329CPU_FLAG_LIST += ERRATA_A78_2376745
John Powell12bc0de2022-05-03 15:22:57 -0500330
John Powella93b7e52022-05-03 15:52:11 -0500331# Flag to apply erratum 2395406 workaround during reset. This erratum applies
332# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000333CPU_FLAG_LIST += ERRATA_A78_2395406
John Powella93b7e52022-05-03 15:52:11 -0500334
Sona Mathewc5b386d2023-03-14 16:50:36 -0500335# Flag to apply erratum 2712571 workaround for non-arm interconnect ip. This
336# erratum applies to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu.
337# It is fixed in r1p2.
338CPU_FLAG_LIST += ERRATA_A78_2712571
339
Bipin Ravi33100ef2023-02-28 14:51:28 -0600340# Flag to apply erratum 2742426 workaround during reset. This erratum
341# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still
342# open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000343CPU_FLAG_LIST += ERRATA_A78_2742426
Bipin Ravi33100ef2023-02-28 14:51:28 -0600344
Bipin Ravi8f78e0d2022-12-15 14:48:21 -0600345# Flag to apply erratum 2772019 workaround during powerdown. This erratum
346# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still
347# open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000348CPU_FLAG_LIST += ERRATA_A78_2772019
Bipin Ravi8f78e0d2022-12-15 14:48:21 -0600349
Sona Mathewf13c1a92023-01-11 12:55:30 -0600350# Flag to apply erratum 2779479 workaround during reset. This erratum applies
351# to revision r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000352CPU_FLAG_LIST += ERRATA_A78_2779479
Sona Mathewf13c1a92023-01-11 12:55:30 -0600353
johpow0145c17242021-09-02 17:53:30 -0500354# Flag to apply erratum 1941500 workaround during reset. This erratum applies
355# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000356CPU_FLAG_LIST += ERRATA_A78_AE_1941500
johpow0145c17242021-09-02 17:53:30 -0500357
358# Flag to apply erratum 1951502 workaround during reset. This erratum applies
359# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000360CPU_FLAG_LIST += ERRATA_A78_AE_1951502
nayanpatel-arm39e08652021-09-28 17:31:50 -0700361
Varun Wadekar9030a6c2022-03-09 22:04:00 +0000362# Flag to apply erratum 2376748 workaround during reset. This erratum applies
Sona Mathew20897752023-10-10 16:48:57 -0500363# to revisions r0p0, r0p1 and r0p2 of the A78 AE cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000364CPU_FLAG_LIST += ERRATA_A78_AE_2376748
Varun Wadekar9030a6c2022-03-09 22:04:00 +0000365
Varun Wadekarac6bf2e2022-03-09 22:20:32 +0000366# Flag to apply erratum 2395408 workaround during reset. This erratum applies
367# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000368CPU_FLAG_LIST += ERRATA_A78_AE_2395408
Varun Wadekarac6bf2e2022-03-09 22:20:32 +0000369
Bipin Ravibf205fc2023-03-14 10:04:23 -0500370# Flag to apply erratum 1827430 workaround during reset. This erratum applies
371# to revision r0p0 of the A78C cpu. It is fixed in r0p1.
372CPU_FLAG_LIST += ERRATA_A78C_1827430
373
Bipin Ravie49c7042023-03-14 11:03:24 -0500374# Flag to apply erratum 1827440 workaround during reset. This erratum applies
375# to revision r0p0 of the A78C cpu. It is fixed in r0p1.
376CPU_FLAG_LIST += ERRATA_A78C_1827440
377
Sona Mathewc5b386d2023-03-14 16:50:36 -0500378# Flag to apply erratum 2712574 workaround for non-arm interconnect ip. This
379# erratum applies to revisions r0p0, r0p1 and r0p2 of the A78 AE cpu.
380# It is still open.
381CPU_FLAG_LIST += ERRATA_A78_AE_2712574
382
laurenw-arm4dc18872022-07-12 10:43:52 -0500383# Flag to apply erratum 2132064 workaround during reset. This erratum applies
384# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000385CPU_FLAG_LIST += ERRATA_A78C_2132064
laurenw-arm4dc18872022-07-12 10:43:52 -0500386
Bipin Ravi9c36e122022-07-15 17:20:16 -0500387# Flag to apply erratum 2242638 workaround during reset. This erratum applies
388# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000389CPU_FLAG_LIST += ERRATA_A78C_2242638
Bipin Ravi9c36e122022-07-15 17:20:16 -0500390
Akram Ahmadfbc1edb2022-09-06 11:23:25 +0100391# Flag to apply erratum 2376749 workaround during reset. This erratum applies
392# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000393CPU_FLAG_LIST += ERRATA_A78C_2376749
Akram Ahmadfbc1edb2022-09-06 11:23:25 +0100394
Akram Ahmaddbff7cf2022-07-19 14:38:46 +0100395# Flag to apply erratum 2395411 workaround during reset. This erratum applies
396# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000397CPU_FLAG_LIST += ERRATA_A78C_2395411
Akram Ahmaddbff7cf2022-07-19 14:38:46 +0100398
Bipin Ravi8ca7aba2023-12-20 15:40:44 -0600399# Flag to apply erratum 2683027 workaround during reset. This erratum applies
400# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
401CPU_FLAG_LIST += ERRATA_A78C_2683027
402
Sona Mathewc5b386d2023-03-14 16:50:36 -0500403# Flag to apply erratum 2712575 workaround for non-arm interconnect ip. This
404# erratum applies to revisions r0p1 and r0p2 of the A78C cpu.
405# It is still open.
406CPU_FLAG_LIST += ERRATA_A78C_2712575
407
Sona Mathewdfde5042023-11-14 14:00:48 -0600408# Flag to apply erratum 2743232 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_2743232
411
Bipin Ravie0b52cc2023-01-18 11:03:21 -0600412# Flag to apply erratum 2772121 workaround during powerdown. This erratum
413# applies to revisions r0p0, r0p1 and r0p2 of the A78C cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000414CPU_FLAG_LIST += ERRATA_A78C_2772121
Bipin Ravie0b52cc2023-01-18 11:03:21 -0600415
Bipin Ravidb091082023-02-28 16:21:51 -0600416# Flag to apply erratum 2779484 workaround during reset. This erratum
417# applies to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000418CPU_FLAG_LIST += ERRATA_A78C_2779484
Bipin Ravidb091082023-02-28 16:21:51 -0600419
Okash Khawajabaee3902022-04-21 12:20:21 +0100420# Flag to apply erratum 1821534 workaround during reset. This erratum applies
421# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000422CPU_FLAG_LIST += ERRATA_X1_1821534
Okash Khawajabaee3902022-04-21 12:20:21 +0100423
424# Flag to apply erratum 1688305 workaround during reset. This erratum applies
425# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000426CPU_FLAG_LIST += ERRATA_X1_1688305
Okash Khawajabaee3902022-04-21 12:20:21 +0100427
428# Flag to apply erratum 1827429 workaround during reset. This erratum applies
429# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000430CPU_FLAG_LIST += ERRATA_X1_1827429
Okash Khawajabaee3902022-04-21 12:20:21 +0100431
Dimitris Papastamos7ca21db2018-03-26 16:46:01 +0100432# Flag to apply T32 CLREX workaround during reset. This erratum applies
John Tsichritzis56369c12019-02-19 13:49:06 +0000433# only to r0p0 and r1p0 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000434CPU_FLAG_LIST += ERRATA_N1_1043202
Dimitris Papastamos7ca21db2018-03-26 16:46:01 +0100435
lauwal01bd555f42019-06-24 11:23:50 -0500436# Flag to apply erratum 1073348 workaround during reset. This erratum applies
437# only to revision r0p0 and r1p0 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000438CPU_FLAG_LIST += ERRATA_N1_1073348
lauwal01bd555f42019-06-24 11:23:50 -0500439
lauwal01363ee3c2019-06-24 11:28:34 -0500440# Flag to apply erratum 1130799 workaround during reset. This erratum applies
441# only to revision <= r2p0 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000442CPU_FLAG_LIST += ERRATA_N1_1130799
lauwal01363ee3c2019-06-24 11:28:34 -0500443
lauwal01f2adb132019-06-24 11:32:40 -0500444# Flag to apply erratum 1165347 workaround during reset. This erratum applies
445# only to revision <= r2p0 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000446CPU_FLAG_LIST += ERRATA_N1_1165347
lauwal01f2adb132019-06-24 11:32:40 -0500447
lauwal01e1590442019-06-24 11:35:37 -0500448# Flag to apply erratum 1207823 workaround during reset. This erratum applies
449# only to revision <= r2p0 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000450CPU_FLAG_LIST += ERRATA_N1_1207823
lauwal01e1590442019-06-24 11:35:37 -0500451
lauwal01197f14c2019-06-24 11:38:53 -0500452# Flag to apply erratum 1220197 workaround during reset. This erratum applies
453# only to revision <= r2p0 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000454CPU_FLAG_LIST += ERRATA_N1_1220197
lauwal01197f14c2019-06-24 11:38:53 -0500455
lauwal0107c2a232019-06-24 11:42:02 -0500456# Flag to apply erratum 1257314 workaround during reset. This erratum applies
457# only to revision <= r3p0 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000458CPU_FLAG_LIST += ERRATA_N1_1257314
lauwal0107c2a232019-06-24 11:42:02 -0500459
lauwal0142771af2019-06-24 11:44:58 -0500460# Flag to apply erratum 1262606 workaround during reset. This erratum applies
461# only to revision <= r3p0 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000462CPU_FLAG_LIST += ERRATA_N1_1262606
lauwal0142771af2019-06-24 11:44:58 -0500463
lauwal0100396bf2019-06-24 11:47:30 -0500464# Flag to apply erratum 1262888 workaround during reset. This erratum applies
465# only to revision <= r3p0 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000466CPU_FLAG_LIST += ERRATA_N1_1262888
lauwal0100396bf2019-06-24 11:47:30 -0500467
lauwal01644b6ed2019-06-24 11:49:01 -0500468# Flag to apply erratum 1275112 workaround during reset. This erratum applies
469# only to revision <= r3p0 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000470CPU_FLAG_LIST += ERRATA_N1_1275112
lauwal01644b6ed2019-06-24 11:49:01 -0500471
Andre Przywarab9347402019-05-20 14:57:06 +0100472# Flag to apply erratum 1315703 workaround during reset. This erratum applies
473# to revisions before r3p1 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000474CPU_FLAG_LIST += ERRATA_N1_1315703
Andre Przywarab9347402019-05-20 14:57:06 +0100475
laurenw-arm94accd32019-08-20 15:51:24 -0500476# Flag to apply erratum 1542419 workaround during reset. This erratum applies
477# to revisions r3p0 - r4p0 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000478CPU_FLAG_LIST += ERRATA_N1_1542419
laurenw-arm94accd32019-08-20 15:51:24 -0500479
johpow01e2428fd2020-08-05 12:27:12 -0500480# Flag to apply erratum 1868343 workaround during reset. This erratum applies
481# to revision <= r4p0 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000482CPU_FLAG_LIST += ERRATA_N1_1868343
johpow01e2428fd2020-08-05 12:27:12 -0500483
johpow01f1a84f52020-10-07 14:33:15 -0500484# Flag to apply erratum 1946160 workaround during reset. This erratum applies
johpow01de7b5242022-01-04 16:15:18 -0600485# to revisions r3p0, r3p1, r4p0, and r4p1 of the Neoverse N1 cpu. The issue
johpow01f1a84f52020-10-07 14:33:15 -0500486# exists in revisions r0p0, r1p0, and r2p0 as well but there is no workaround.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000487CPU_FLAG_LIST += ERRATA_N1_1946160
johpow01f1a84f52020-10-07 14:33:15 -0500488
Bipin Ravi9edf2492022-11-02 16:12:01 -0500489# Flag to apply erratum 2743102 workaround during powerdown. This erratum
490# applies to all revisions <= r4p1 of the Neoverse N1 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000491CPU_FLAG_LIST += ERRATA_N1_2743102
Bipin Ravi9edf2492022-11-02 16:12:01 -0500492
Juan Pablo Conde31c93372022-02-28 14:14:44 -0500493# Flag to apply erratum 1618635 workaround during reset. This erratum applies
494# to revision r0p0 of the Neoverse V1 cpu and was fixed in the revision r1p0.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000495CPU_FLAG_LIST += ERRATA_V1_1618635
Juan Pablo Conde31c93372022-02-28 14:14:44 -0500496
johpow01de7b5242022-01-04 16:15:18 -0600497# Flag to apply erratum 1774420 workaround during reset. This erratum applies
laurenw-arm3c86d832021-08-02 13:22:32 -0500498# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000499CPU_FLAG_LIST += ERRATA_V1_1774420
laurenw-arm3c86d832021-08-02 13:22:32 -0500500
johpow01de7b5242022-01-04 16:15:18 -0600501# Flag to apply erratum 1791573 workaround during reset. This erratum applies
johpow01c73b03c2021-05-03 15:33:39 -0500502# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000503CPU_FLAG_LIST += ERRATA_V1_1791573
johpow01c73b03c2021-05-03 15:33:39 -0500504
johpow01de7b5242022-01-04 16:15:18 -0600505# Flag to apply erratum 1852267 workaround during reset. This erratum applies
laurenw-armb1923e92021-08-02 14:40:08 -0500506# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000507CPU_FLAG_LIST += ERRATA_V1_1852267
laurenw-armb1923e92021-08-02 14:40:08 -0500508
johpow01de7b5242022-01-04 16:15:18 -0600509# Flag to apply erratum 1925756 workaround during reset. This needs to be
laurenw-arm6b56f962021-08-02 15:00:15 -0500510# enabled for r0p0, r1p0, and r1p1 of the Neoverse V1 core, it is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000511CPU_FLAG_LIST += ERRATA_V1_1925756
laurenw-arm6b56f962021-08-02 15:00:15 -0500512
johpow0107acb4f2020-10-07 16:38:37 -0500513# Flag to apply erratum 1940577 workaround during reset. This erratum applies
514# to revisions r1p0 and r1p1 of the Neoverse V1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000515CPU_FLAG_LIST += ERRATA_V1_1940577
johpow0107acb4f2020-10-07 16:38:37 -0500516
johpow0197db6752021-08-02 18:59:08 -0500517# Flag to apply erratum 1966096 workaround during reset. This erratum applies
johpow01de7b5242022-01-04 16:15:18 -0600518# to revisions r1p0 and r1p1 of the Neoverse V1 CPU and is open. This issue
johpow0197db6752021-08-02 18:59:08 -0500519# exists in r0p0 as well but there is no workaround for that revision.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000520CPU_FLAG_LIST += ERRATA_V1_1966096
johpow0197db6752021-08-02 18:59:08 -0500521
johpow01ad1ca342021-08-03 14:35:20 -0500522# Flag to apply erratum 2139242 workaround during reset. This erratum applies
523# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000524CPU_FLAG_LIST += ERRATA_V1_2139242
nayanpatel-armfc26ffe2021-09-28 13:41:03 -0700525
526# Flag to apply erratum 2108267 workaround during reset. This erratum applies
527# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000528CPU_FLAG_LIST += ERRATA_V1_2108267
johpow01ad1ca342021-08-03 14:35:20 -0500529
johpow014de29cb2021-09-02 18:29:17 -0500530# Flag to apply erratum 2216392 workaround during reset. This erratum applies
531# to revisions r1p0 and r1p1 of the Neoverse V1 cpu and is still open. This
532# issue exists in r0p0 as well but there is no workaround for that revision.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000533CPU_FLAG_LIST += ERRATA_V1_2216392
johpow014de29cb2021-09-02 18:29:17 -0500534
Bipin Ravi971938f2022-06-08 16:28:46 -0500535# Flag to apply erratum 2294912 workaround during reset. This erratum applies
Sona Matheweb011172023-10-16 15:12:30 -0500536# to revisions r0p0, r1p0, and r1p1 and r1p2 of the Neoverse V1 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000537CPU_FLAG_LIST += ERRATA_V1_2294912
Bipin Ravi971938f2022-06-08 16:28:46 -0500538
Sona Mathewc54b3ef2023-11-07 13:46:15 -0600539# Flag to apply erratum 2348377 workaround during reset. This erratum applies
540# to revisions r0p0, r1p0 and r1p1 of the Neoverse V1 cpu and is fixed in r1p2.
541CPU_FLAG_LIST += ERRATA_V1_2348377
542
Bipin Ravib4cb31f2022-06-14 17:09:23 -0500543# Flag to apply erratum 2372203 workaround during reset. This erratum applies
544# to revisions r0p0, r1p0 and r1p1 of the Neoverse V1 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000545CPU_FLAG_LIST += ERRATA_V1_2372203
Bipin Ravib4cb31f2022-06-14 17:09:23 -0500546
Sona Mathewc5b386d2023-03-14 16:50:36 -0500547# Flag to apply erratum 2701953 workaround to non-arm interconnect ip. This
548# erratum applies to revisions r0p0, r1p0, r1p1 of the Neoverse V1 cpu,
549# it is fixed in r1p2.
550CPU_FLAG_LIST += ERRATA_V1_2701953
551
Bipin Ravife4b0c42022-12-15 11:57:53 -0600552# Flag to apply erratum 2743093 workaround during powerdown. This erratum
553# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the Neoverse V1 cpu and is
554# still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000555CPU_FLAG_LIST += ERRATA_V1_2743093
Bipin Ravife4b0c42022-12-15 11:57:53 -0600556
Sona Mathew2ef5db72023-03-02 15:07:55 -0600557# Flag to apply erratum 2743233 workaround during powerdown. This erratum
558# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the Neoverse V1 cpu and is
559# still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000560CPU_FLAG_LIST += ERRATA_V1_2743233
Sona Mathew2ef5db72023-03-02 15:07:55 -0600561
Sona Mathewfe405d02023-01-11 17:04:24 -0600562# Flag to apply erratum 2779461 workaround during powerdown. This erratum
563# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the Neoverse V1 cpu and is
564# still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000565CPU_FLAG_LIST += ERRATA_V1_2779461
Sona Mathewfe405d02023-01-11 17:04:24 -0600566
Govindraj Raja5b216d92025-01-21 19:20:29 -0600567# Flag to apply erratum 3701767 workaround during context save/restore of
568# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1 and r0p2 of
569# the Neoverse V3 cpu and is still open.
570CPU_FLAG_LIST += ERRATA_V3_3701767
571
nayanpatel-arme55d3252021-08-06 16:39:48 -0700572# Flag to apply erratum 1987031 workaround during reset. This erratum applies
573# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000574CPU_FLAG_LIST += ERRATA_A710_1987031
nayanpatel-arme55d3252021-08-06 16:39:48 -0700575
nayanpatel-arm7597d082021-08-25 17:35:15 -0700576# Flag to apply erratum 2081180 workaround during reset. This erratum applies
577# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000578CPU_FLAG_LIST += ERRATA_A710_2081180
nayanpatel-arm7597d082021-08-25 17:35:15 -0700579
nayanpatel-arm0b338b42021-09-16 15:27:53 -0700580# Flag to apply erratum 2083908 workaround during reset. This erratum applies
581# to revision r2p0 of the Cortex-A710 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000582CPU_FLAG_LIST += ERRATA_A710_2083908
nayanpatel-arm0b338b42021-09-16 15:27:53 -0700583
nayanpatel-armf2dce0e2021-09-22 12:35:03 -0700584# Flag to apply erratum 2058056 workaround during reset. This erratum applies
Sona Mathew6d691c52023-10-10 13:51:45 -0500585# to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is still
586# open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000587CPU_FLAG_LIST += ERRATA_A710_2058056
nayanpatel-armf2dce0e2021-09-22 12:35:03 -0700588
johpow01de7b5242022-01-04 16:15:18 -0600589# Flag to apply erratum 2055002 workaround during reset. This erratum applies
590# to revision r1p0, r2p0 of the Cortex-A710 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000591CPU_FLAG_LIST += ERRATA_A710_2055002
johpow01de7b5242022-01-04 16:15:18 -0600592
593# Flag to apply erratum 2017096 workaround during reset. This erratum applies
594# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000595CPU_FLAG_LIST += ERRATA_A710_2017096
johpow01de7b5242022-01-04 16:15:18 -0600596
597# Flag to apply erratum 2267065 workaround during reset. This erratum applies
598# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000599CPU_FLAG_LIST += ERRATA_A710_2267065
johpow01de7b5242022-01-04 16:15:18 -0600600
601# Flag to apply erratum 2136059 workaround during reset. This erratum applies
602# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000603CPU_FLAG_LIST += ERRATA_A710_2136059
johpow01de7b5242022-01-04 16:15:18 -0600604
Akram Ahmad1714c1d2022-07-21 15:25:08 +0100605# Flag to apply erratum 2147715 workaround during reset. This erratum applies
606# to revision r2p0 of the Cortex-A710 CPU and is fixed in revision r2p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000607CPU_FLAG_LIST += ERRATA_A710_2147715
Akram Ahmad1714c1d2022-07-21 15:25:08 +0100608
Jayanth Dodderi Chidanandde4f5892022-09-01 22:09:54 +0100609# Flag to apply erratum 2216384 workaround during reset. This erratum applies
610# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000611CPU_FLAG_LIST += ERRATA_A710_2216384
Jayanth Dodderi Chidanandde4f5892022-09-01 22:09:54 +0100612
johpow017249fd02022-02-28 18:34:04 -0600613# Flag to apply erratum 2282622 workaround during reset. This erratum applies
Bipin Ravi380c1982022-12-22 13:31:46 -0600614# to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is still
615# open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000616CPU_FLAG_LIST += ERRATA_A710_2282622
johpow017249fd02022-02-28 18:34:04 -0600617
Boyan Karatotevf8de5352022-10-03 14:21:28 +0100618# Flag to apply erratum 2291219 workaround during reset. This erratum applies
619# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000620CPU_FLAG_LIST += ERRATA_A710_2291219
Boyan Karatotevf8de5352022-10-03 14:21:28 +0100621
johpow017d52a8f2022-03-09 16:23:04 -0600622# Flag to apply erratum 2008768 workaround during reset. This erratum applies
623# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000624CPU_FLAG_LIST += ERRATA_A710_2008768
johpow017d52a8f2022-03-09 16:23:04 -0600625
Bipin Ravi77eab292022-07-12 15:53:21 -0500626# Flag to apply erratum 2371105 workaround during reset. This erratum applies
627# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000628CPU_FLAG_LIST += ERRATA_A710_2371105
Bipin Ravi77eab292022-07-12 15:53:21 -0500629
Sona Mathewc5b386d2023-03-14 16:50:36 -0500630# Flag to apply erratum 2701952 workaround for non-arm interconnect ip. This
631# erratum applies to revision r0p0, r1p0, r2p0, r2p1 of the Cortex-A710 cpu
632# and is still open.
633CPU_FLAG_LIST += ERRATA_A710_2701952
634
Bipin Ravibfa14682023-10-17 07:55:55 -0500635# Flag to apply erratum 2742423 workaround during reset. This erratum applies
636# to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is still
637# open.
638CPU_FLAG_LIST += ERRATA_A710_2742423
639
Bipin Ravief9a1552022-12-07 13:32:35 -0600640# Flag to apply erratum 2768515 workaround during power down. This erratum
641# applies to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is
642# still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000643CPU_FLAG_LIST += ERRATA_A710_2768515
Bipin Ravief9a1552022-12-07 13:32:35 -0600644
Sona Mathewe2fea182023-12-08 20:52:17 -0600645# Flag to apply erratum 2778471 workaround during reset. This erratum applies
646# to revisions r0p0, r1p0, r2p0, r2p1 of the Cortex-A710 cpu and is still
647# open.
648CPU_FLAG_LIST += ERRATA_A710_2778471
649
Govindraj Rajacf7cf542025-01-21 12:32:14 -0600650# Flag to apply erratum 3701772 workaround during context save/restore of
651# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r2p0, r2p1
652# of the Cortex-A710 cpu and is still open.
653CPU_FLAG_LIST += ERRATA_A710_3701772
654
Bipin Ravicc744bf2022-12-07 17:01:26 -0600655# Flag to apply erratum 2002655 workaround during reset. This erratum applies
Arvind Ram Prakashf99b7982023-06-29 16:17:23 -0500656# to revisions r0p0 of the Neoverse-N2 cpu and is fixed in r0p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000657CPU_FLAG_LIST += ERRATA_N2_2002655
Bipin Ravicc744bf2022-12-07 17:01:26 -0600658
Bipin Ravidd5bc632023-08-29 13:59:09 -0500659# Flag to apply erratum 2009478 workaround during powerdown. This erratum
660# applies to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1.
661CPU_FLAG_LIST += ERRATA_N2_2009478
662
Bipin Ravieb35e852021-03-30 16:08:32 -0500663# Flag to apply erratum 2067956 workaround during reset. This erratum applies
Arvind Ram Prakashf99b7982023-06-29 16:17:23 -0500664# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000665CPU_FLAG_LIST += ERRATA_N2_2067956
Bipin Ravieb35e852021-03-30 16:08:32 -0500666
Bipin Ravi7f565472021-03-31 10:10:27 -0500667# Flag to apply erratum 2025414 workaround during reset. This erratum applies
Arvind Ram Prakashf99b7982023-06-29 16:17:23 -0500668# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000669CPU_FLAG_LIST += ERRATA_N2_2025414
Bipin Ravi7f565472021-03-31 10:10:27 -0500670
Bipin Ravi7e030692021-08-30 13:02:51 -0500671# Flag to apply erratum 2189731 workaround during reset. This erratum applies
Arvind Ram Prakashf99b7982023-06-29 16:17:23 -0500672# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000673CPU_FLAG_LIST += ERRATA_N2_2189731
Bipin Ravi7e030692021-08-30 13:02:51 -0500674
Bipin Ravi0ba631c2021-09-01 01:36:43 -0500675# Flag to apply erratum 2138956 workaround during reset. This erratum applies
Arvind Ram Prakashf99b7982023-06-29 16:17:23 -0500676# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000677CPU_FLAG_LIST += ERRATA_N2_2138956
Bipin Ravi0ba631c2021-09-01 01:36:43 -0500678
nayanpatel-armd4c5f9c2021-09-28 09:46:45 -0700679# Flag to apply erratum 2138953 workaround during reset. This erratum applies
Arvind Ram Prakashf99b7982023-06-29 16:17:23 -0500680# to revision r0p0, r0p1, r0p2, r0p3 of the Neoverse N2 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000681CPU_FLAG_LIST += ERRATA_N2_2138953
nayanpatel-armd4c5f9c2021-09-28 09:46:45 -0700682
nayanpatel-arm2f153992021-10-06 15:31:24 -0700683# Flag to apply erratum 2242415 workaround during reset. This erratum applies
Arvind Ram Prakashf99b7982023-06-29 16:17:23 -0500684# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000685CPU_FLAG_LIST += ERRATA_N2_2242415
nayanpatel-arm2f153992021-10-06 15:31:24 -0700686
nayanpatel-arm8e1aa012021-10-20 18:28:58 -0700687# Flag to apply erratum 2138958 workaround during reset. This erratum applies
Arvind Ram Prakashf99b7982023-06-29 16:17:23 -0500688# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000689CPU_FLAG_LIST += ERRATA_N2_2138958
nayanpatel-arm8e1aa012021-10-20 18:28:58 -0700690
nayanpatel-armfed98132021-10-07 17:59:33 -0700691# Flag to apply erratum 2242400 workaround during reset. This erratum applies
Arvind Ram Prakashf99b7982023-06-29 16:17:23 -0500692# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000693CPU_FLAG_LIST += ERRATA_N2_2242400
nayanpatel-armfed98132021-10-07 17:59:33 -0700694
nayanpatel-arm45b9f6f2021-10-20 17:30:46 -0700695# Flag to apply erratum 2280757 workaround during reset. This erratum applies
Arvind Ram Prakashf99b7982023-06-29 16:17:23 -0500696# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000697CPU_FLAG_LIST += ERRATA_N2_2280757
nayanpatel-arm45b9f6f2021-10-20 17:30:46 -0700698
Bipin Ravi2997ab92023-10-17 06:21:15 -0500699# Flag to apply erratum 2326639 workaroud during powerdown. This erratum
Boyan Karatotevd3f8b4d2022-10-03 14:07:08 +0100700# applies to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000701CPU_FLAG_LIST += ERRATA_N2_2326639
Boyan Karatotevd3f8b4d2022-10-03 14:07:08 +0100702
Bipin Ravi2997ab92023-10-17 06:21:15 -0500703# Flag to apply erratum 2340933 workaroud during reset. This erratum
704# applies to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
705CPU_FLAG_LIST += ERRATA_N2_2340933
706
Bipin Ravi03ba5d82023-10-17 05:56:01 -0500707# Flag to apply erratum 2346952 workaround during reset. This erratum applies
708# to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
709CPU_FLAG_LIST += ERRATA_N2_2346952
710
Akram Ahmadb621bda2022-07-18 12:27:29 +0100711# Flag to apply erratum 2376738 workaround during reset. This erratum applies
Arvind Ram Prakashf99b7982023-06-29 16:17:23 -0500712# to revision r0p0, r0p1, r0p2, r0p3 of the Neoverse N2 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000713CPU_FLAG_LIST += ERRATA_N2_2376738
Akram Ahmadb621bda2022-07-18 12:27:29 +0100714
Daniel Boulby1af2b112022-07-06 14:33:13 +0100715# Flag to apply erratum 2388450 workaround during reset. This erratum applies
716# to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000717CPU_FLAG_LIST += ERRATA_N2_2388450
Daniel Boulby1af2b112022-07-06 14:33:13 +0100718
Sona Mathewc5b386d2023-03-14 16:50:36 -0500719# Flag to apply erratum 2728475 workaround for non-arm interconnect ip. This
720# erratum applies to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in
721# r0p3.
722CPU_FLAG_LIST += ERRATA_N2_2728475
723
Arvind Ram Prakash465f93b2023-07-05 17:24:23 -0500724# Flag to apply erratum 2743014 workaround during reset. This erratum applies
725# to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
726CPU_FLAG_LIST += ERRATA_N2_2743014
727
Bipin Ravicc744bf2022-12-07 17:01:26 -0600728# Flag to apply erratum 2743089 workaround during during powerdown. This erratum
729# applies to all revisions <= r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000730CPU_FLAG_LIST += ERRATA_N2_2743089
Bipin Ravicc744bf2022-12-07 17:01:26 -0600731
Arvind Ram Prakash189622a2023-07-17 14:46:14 -0500732# Flag to apply erratum 2779511 workaround during reset. This erratum applies
733# to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
734CPU_FLAG_LIST += ERRATA_N2_2779511
735
Govindraj Rajad7461c62025-01-21 18:56:25 -0600736# Flag to apply erratum 3701773 workaround during context save/restore of
737# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1, r0p2 and r0p3
738# of the Neoverse N2 cpu and is still open.
739CPU_FLAG_LIST += ERRATA_N2_3701773
740
Govindraj Rajab1ddd6c2025-01-21 19:03:34 -0600741# Flag to apply erratum 3699563 workaround during context save/restore of
742# ICH_VMCR_EL2 reg. This erratum applies to revision r0p0 of the Neoverse N3
743# cpu and is still open.
744CPU_FLAG_LIST += ERRATA_N3_3699563
745
johpow010afef362021-12-02 13:25:50 -0600746# Flag to apply erratum 2002765 workaround during reset. This erratum applies
747# to revisions r0p0, r1p0, and r2p0 of the Cortex-X2 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000748CPU_FLAG_LIST += ERRATA_X2_2002765
johpow010afef362021-12-02 13:25:50 -0600749
johpow01f6c37de2021-12-03 11:27:33 -0600750# Flag to apply erratum 2058056 workaround during reset. This erratum applies
Sona Mathew414f4e82023-10-16 13:33:18 -0500751# to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000752CPU_FLAG_LIST += ERRATA_X2_2058056
johpow01f6c37de2021-12-03 11:27:33 -0600753
johpow0115f10bd2021-12-01 17:40:39 -0600754# Flag to apply erratum 2083908 workaround during reset. This erratum applies
755# to revision r2p0 of the Cortex-X2 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000756CPU_FLAG_LIST += ERRATA_X2_2083908
Bipin Ravi2f73d972022-01-20 00:01:04 -0600757
758# Flag to apply erratum 2017096 workaround during reset. This erratum applies
759# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
760# r2p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000761CPU_FLAG_LIST += ERRATA_X2_2017096
johpow0115f10bd2021-12-01 17:40:39 -0600762
Bipin Ravi9ad54782022-01-20 00:42:05 -0600763# Flag to apply erratum 2081180 workaround during reset. This erratum applies
764# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
765# r2p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000766CPU_FLAG_LIST += ERRATA_X2_2081180
Bipin Ravi9ad54782022-01-20 00:42:05 -0600767
Bipin Ravi78b72082022-02-06 01:29:31 -0600768# Flag to apply erratum 2216384 workaround during reset. This erratum applies
769# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
770# r2p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000771CPU_FLAG_LIST += ERRATA_X2_2216384
Bipin Ravi78b72082022-02-06 01:29:31 -0600772
Bipin Ravic6b65212022-03-08 10:37:43 -0600773# Flag to apply erratum 2147715 workaround during reset. This erratum applies
774# only to revision r2p0 of the Cortex-X2 cpu, it is fixed in r2p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000775CPU_FLAG_LIST += ERRATA_X2_2147715
Bipin Ravic6b65212022-03-08 10:37:43 -0600776
Bipin Ravi7dccf8f2022-12-22 14:19:59 -0600777# Flag to apply erratum 2282622 workaround during reset. This erratum applies
778# to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still
779# open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000780CPU_FLAG_LIST += ERRATA_X2_2282622
Bipin Ravi7dccf8f2022-12-22 14:19:59 -0600781
Bipin Ravi4e315c32022-07-12 17:13:01 -0500782# Flag to apply erratum 2371105 workaround during reset. This erratum applies
783# to revision r0p0, r1p0 and r2p0 of the Cortex-X2 cpu and is fixed in r2p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000784CPU_FLAG_LIST += ERRATA_X2_2371105
Bipin Ravi4e315c32022-07-12 17:13:01 -0500785
Sona Mathewc5b386d2023-03-14 16:50:36 -0500786# Flag to apply erratum 2701952 workaround for non-arm interconnect ip. This
787# erratum applies to revisions r0p0, r1p0, r2p0, r2p1 of the Cortex-x2 cpu
788# and is still open.
789CPU_FLAG_LIST += ERRATA_X2_2701952
790
Bipin Ravi483bc9e2023-10-17 09:11:19 -0500791# Flag to apply erratum 2742423 workaround during reset. This erratum applies
792# to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still open.
793CPU_FLAG_LIST += ERRATA_X2_2742423
794
Bipin Ravi86839eb2022-12-07 13:54:02 -0600795# Flag to apply erratum 2768515 workaround during power down. This erratum
796# applies to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is
797# still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000798CPU_FLAG_LIST += ERRATA_X2_2768515
Bipin Ravi86839eb2022-12-07 13:54:02 -0600799
Sona Mathewc3813332023-12-09 13:09:30 -0600800# Flag to apply erratum 2778471 workaround during reset. This erratum applies
801# to revisions r0p0, r1p0, r2p0, r2p1 of the Cortex-X2 cpu and it is still open.
802CPU_FLAG_LIST += ERRATA_X2_2778471
803
Govindraj Rajadb514a72025-01-21 18:02:51 -0600804# Flag to apply erratum 3701772 workaround during context save/restore of
805# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r2p0 and r2p1
806# of the Cortex-X2 cpu and is still open.
807CPU_FLAG_LIST += ERRATA_X2_3701772
808
Sona Mathew35c7d392023-10-03 17:09:09 -0500809# Flag to apply erratum 2070301 workaround on reset. This erratum applies
810# to revisions r0p0, r1p0, r1p1 and r1p2 of the Cortex-X3 cpu and is
811# still open.
812CPU_FLAG_LIST += ERRATA_X3_2070301
813
Bipin Ravidfa4cf42023-12-20 14:53:37 -0600814# Flag to apply erratum 2266875 workaround during reset. This erratum applies
815# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
816CPU_FLAG_LIST += ERRATA_X3_2266875
817
Bipin Ravi9cafab82023-12-20 14:32:02 -0600818# Flag to apply erratum 2302506 workaround during reset. This erratum applies
819# to revisions r0p0, r1p0 and r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
820CPU_FLAG_LIST += ERRATA_X3_2302506
821
Boyan Karatotev6559dbd2022-10-03 14:18:28 +0100822# Flag to apply erratum 2313909 workaround on powerdown. This erratum applies
823# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000824CPU_FLAG_LIST += ERRATA_X3_2313909
Boyan Karatotev6559dbd2022-10-03 14:18:28 +0100825
Bipin Ravi89b6c6a2024-02-27 15:13:17 -0600826# Flag to apply erratum 2372204 workaround during reset. This erratum applies
827# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
828CPU_FLAG_LIST += ERRATA_X3_2372204
829
Harrison Mutai82dd5ac2022-11-11 14:09:55 +0000830# Flag to apply erratum 2615812 workaround on powerdown. This erratum applies
Sona Matheweaed76b2024-03-15 11:07:33 -0500831# to revisions r0p0, r1p0, r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000832CPU_FLAG_LIST += ERRATA_X3_2615812
Harrison Mutai82dd5ac2022-11-11 14:09:55 +0000833
Bipin Ravi42c6eb52024-01-25 15:38:46 -0600834# Flag to apply erratum 2641945 workaround on reset. This erratum applies
835# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
836CPU_FLAG_LIST += ERRATA_X3_2641945
837
Sona Mathewd8b91ac2024-02-21 15:07:30 -0600838# Flag to apply erratum 2701951 workaround for non-arm interconnect ip.
839# This erratum applies to revisions r0p0, r1p0, and r1p1. Its is fixed in r1p2.
840CPU_FLAG_LIST += ERRATA_X3_2701951
841
Sona Mathew95168582023-09-05 14:10:03 -0500842# Flag to apply erratum 2742421 workaround on reset. This erratum applies
843# to revisions r0p0, r1p0 and r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
844CPU_FLAG_LIST += ERRATA_X3_2742421
845
Harrison Mutai51775542023-12-12 11:17:19 +0000846# Flag to apply erratum 2743088 workaround on powerdown. This erratum applies
847# to revisions r0p0, r1p0 and r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
848CPU_FLAG_LIST += ERRATA_X3_2743088
849
Govindraj Rajadd6882e2025-01-21 18:12:35 -0600850# Flag to apply erratum 3701769 workaround during context save/restore of
851# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r1p1 and r1p2
852# of the Cortex-X3 cpu and is still open.
853CPU_FLAG_LIST += ERRATA_X3_3701769
854
Sona Mathew2eab9d02023-11-06 13:48:22 -0600855# Flag to apply erratum 2779509 workaround on reset. This erratum applies
856# to revisions r0p0, r1p0, r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
857CPU_FLAG_LIST += ERRATA_X3_2779509
858
Sona Mathew9421e522024-03-01 13:36:21 -0600859# Flag to apply erratum 2701112 workaround for platforms that do not use an
860# Arm interconnect IP. This erratum applies to revisions r0p0 of the Cortex-X4
861# cpu and is fixed in r0p1.
862CPU_FLAG_LIST += ERRATA_X4_2701112
863
Arvind Ram Prakash2b433932024-08-05 16:04:37 -0500864# Flag to apply erratum 2726228 workaround during warmboot. This erratum
865# applies to all revisions <= r0p1 of the Cortex-X4 cpu, it is fixed in r0p2.
866CPU_FLAG_LIST += ERRATA_X4_2726228
867
Bipin Ravia72cc3c2024-04-10 15:33:21 -0500868# Flag to apply erratum 2740089 workaround during powerdown. This erratum
869# applies to all revisions <= r0p1 of the Cortex-X4 cpu, it is fixed in r0p2.
870CPU_FLAG_LIST += ERRATA_X4_2740089
871
Sona Mathewd9c8eff2024-04-05 16:27:07 -0500872# Flag to apply erratum 2763018 workaround on reset. This erratum applies
873# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
874CPU_FLAG_LIST += ERRATA_X4_2763018
875
Sona Mathewd1cb83e2024-07-16 14:34:42 -0500876# Flag to apply erratum 2816013 workaround on reset. This erratum applies
877# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
878CPU_FLAG_LIST += ERRATA_X4_2816013
879
Arvind Ram Prakash0f38c772024-08-26 17:04:27 -0500880# Flag to apply erratum 2897503 workaround on reset. This erratum applies
881# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
882CPU_FLAG_LIST += ERRATA_X4_2897503
883
Arvind Ram Prakash52ac80a2024-11-27 15:02:32 -0600884# Flag to apply erratum 2923985 workaround on reset. This erratum applies
885# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
886CPU_FLAG_LIST += ERRATA_X4_2923985
887
Ryan Everett89e83072024-05-21 11:56:37 +0100888# Flag to apply erratum 3076789 workaround on reset. This erratum applies
889# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
890CPU_FLAG_LIST += ERRATA_X4_3076789
891
Govindraj Raja802197d2025-01-21 18:24:57 -0600892# Flag to apply erratum 3701758 workaround during context save/restore of
893# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1, r0p2 and r0p3
894# of the Cortex-X4 cpu and is still open.
895CPU_FLAG_LIST += ERRATA_X4_3701758
896
Govindraj Raja191a64f2025-01-21 18:38:56 -0600897# Flag to apply erratum 3701747 workaround during context save/restore of
898# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1 of the
899# Cortex-X925 cpu and is still open.
900CPU_FLAG_LIST += ERRATA_X925_3701747
901
johpow01de7b5242022-01-04 16:15:18 -0600902# Flag to apply erratum 1922240 workaround during reset. This erratum applies
903# to revision r0p0 of the Cortex-A510 cpu and is fixed in r0p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000904CPU_FLAG_LIST += ERRATA_A510_1922240
johpow01de7b5242022-01-04 16:15:18 -0600905
johpow0149f60dd2022-01-06 14:54:49 -0600906# Flag to apply erratum 2288014 workaround during reset. This erratum applies
907# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0 of the Cortex-A510 cpu and is
908# fixed in r1p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000909CPU_FLAG_LIST += ERRATA_A510_2288014
johpow0149f60dd2022-01-06 14:54:49 -0600910
johpow018276f252022-01-07 17:12:31 -0600911# Flag to apply erratum 2042739 workaround during reset. This erratum applies
912# to revisions r0p0, r0p1 and r0p2 of the Cortex-A510 cpu and is fixed in r0p3.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000913CPU_FLAG_LIST += ERRATA_A510_2042739
johpow018276f252022-01-07 17:12:31 -0600914
johpow015a993002022-01-11 17:54:41 -0600915# Flag to apply erratum 2041909 workaround during reset. This erratum applies
916# to revision r0p2 of the Cortex-A510 cpu and is fixed in r0p3. The issue is
917# present in r0p0 and r0p1 but there is no workaround for those revisions.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000918CPU_FLAG_LIST += ERRATA_A510_2041909
johpow015a993002022-01-11 17:54:41 -0600919
Sona Mathewd273f762023-10-12 12:04:53 -0500920# Flag to aply erratum 2080326 workaround during reset. This erratum applies
921# to revision r0p2 of the Cortex-A510 cpu and is fixed in r0p3. The issue is
922# also present in r0p0 and r0p1 but there is no workaround for those revisions.
923CPU_FLAG_LIST += ERRATA_A510_2080326
924
johpow013ba9cb22022-02-13 21:00:10 -0600925# Flag to apply erratum 2250311 workaround during reset. This erratum applies
926# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000927CPU_FLAG_LIST += ERRATA_A510_2250311
johpow013ba9cb22022-02-13 21:00:10 -0600928
johpow013ead2952022-02-14 20:19:08 -0600929# Flag to apply erratum 2218950 workaround during reset. This erratum applies
930# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000931CPU_FLAG_LIST += ERRATA_A510_2218950
johpow013ead2952022-02-14 20:19:08 -0600932
johpow01ac55c012022-02-15 22:55:22 -0600933# Flag to apply erratum 2172148 workaround during reset. This erratum applies
934# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000935CPU_FLAG_LIST += ERRATA_A510_2172148
johpow01ac55c012022-02-15 22:55:22 -0600936
Akram Ahmada85254e2022-07-21 14:01:33 +0100937# Flag to apply erratum 2347730 workaround during reset. This erratum applies
938# to revisions r0p0, r0p1, r0p2, r0p3, r1p0 and r1p1 of the Cortex-A510 CPU,
939# and is fixed in r1p2.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000940CPU_FLAG_LIST += ERRATA_A510_2347730
Akram Ahmada85254e2022-07-21 14:01:33 +0100941
Akram Ahmad60accba2022-07-22 16:20:44 +0100942# Flag to apply erratum 2371937 workaround during reset. This erratum applies
943# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000944CPU_FLAG_LIST += ERRATA_A510_2371937
Akram Ahmad60accba2022-07-22 16:20:44 +0100945
Akram Ahmad89034d62022-09-21 13:59:56 +0100946# Flag to apply erratum 2666669 workaround during reset. This erratum applies
947# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000948CPU_FLAG_LIST += ERRATA_A510_2666669
Akram Ahmad89034d62022-09-21 13:59:56 +0100949
Harrison Mutaie5249fe2022-12-09 12:14:25 +0000950# Flag to apply erratum 2684597 workaround during powerdown. This erratum
951# applies to revision r0p0, r0p1, r0p2, r0p3, r1p0, r1p1 and r1p2 of the
952# Cortex-A510 cpu and is fixed in r1p3.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000953CPU_FLAG_LIST += ERRATA_A510_2684597
Harrison Mutaie5249fe2022-12-09 12:14:25 +0000954
Sona Mathew87821142023-12-09 20:44:56 -0600955# Flag to apply erratum 2630792 workaround during reset. This erratum applies
956# to revisions r0p0, r0p1 of the Cortex-A520 cpu and is still open.
957CPU_FLAG_LIST += ERRATA_A520_2630792
958
Arvind Ram Prakash512c2362023-12-08 20:19:58 -0600959# Flag to apply erratum 2858100 workaround during reset. This erratum
960# applies to revision r0p0 and r0p1 of the Cortex-A520 cpu and is still open.
961CPU_FLAG_LIST += ERRATA_A520_2858100
962
Arvind Ram Prakash2b433932024-08-05 16:04:37 -0500963# Flag to apply erratum 2938996 workaround during reset. This erratum
964# applies to revision r0p0 and r0p1 of the Cortex-A520 cpu and is fixed in r0p2.
965CPU_FLAG_LIST += ERRATA_A520_2938996
966
Bipin Ravi4f9b75f2023-09-18 16:34:13 -0500967# Flag to apply erratum 2331132 workaround during reset. This erratum applies
968# to revisions r0p0, r0p1 and r0p2. It is still open.
969CPU_FLAG_LIST += ERRATA_V2_2331132
970
Bipin Raviafcf4fe2023-10-17 19:42:15 -0500971# Flag to apply erratum 2618597 workaround during reset. This erratum applies
972# to revisions r0p0 and r0p1. It is fixed in r0p2.
973CPU_FLAG_LIST += ERRATA_V2_2618597
974
Bipin Ravi4b46c782023-10-17 18:35:55 -0500975# Flag to apply erratum 2662553 workaround during reset. This erratum applies
976# to revisions r0p0 and r0p1. It is fixed in r0p2.
977CPU_FLAG_LIST += ERRATA_V2_2662553
978
Sona Mathewc5b386d2023-03-14 16:50:36 -0500979# Flag to apply erratum 2719103 workaround for non-arm interconnect ip. This
980# erratum applies to revisions r0p0, rop1. Fixed in r0p2.
981CPU_FLAG_LIST += ERRATA_V2_2719103
982
Bipin Ravi90aaf982023-09-18 17:27:29 -0500983# Flag to apply erratum 2719105 workaround during reset. This erratum applies
984# to revisions r0p0 and r0p1. It is fixed in r0p2.
985CPU_FLAG_LIST += ERRATA_V2_2719105
986
Bipin Ravia20d0612023-09-18 19:54:41 -0500987# Flag to apply erratum 2743011 workaround during reset. This erratum applies
988# to revisions r0p0 and r0p1. It is fixed in r0p2.
989CPU_FLAG_LIST += ERRATA_V2_2743011
990
Bipin Ravi9d46b352023-09-18 19:28:32 -0500991# Flag to apply erratum 2779510 workaround during reset. This erratum applies
992# to revisions r0p0 and r0p1. It is fixed in r0p2.
993CPU_FLAG_LIST += ERRATA_V2_2779510
994
Moritz Fischer98870062023-07-06 00:01:23 +0000995# Flag to apply erratum 2801372 workaround for all configurations.
996# This erratum applies to revisions r0p0, r0p1. Fixed in r0p2.
997CPU_FLAG_LIST += ERRATA_V2_2801372
998
Bipin Ravia4ec9402024-02-27 17:49:12 -0600999# Flag to apply erratum 2331818 workaround during reset. This erratum applies
1000# to revisions r0p0 and r1p0. It is fixed in r1p1.
1001CPU_FLAG_LIST += ERRATA_A715_2331818
1002
Harrison Mutai5af4b782024-01-02 16:55:44 +00001003# Flag to apply erratum 2344187 workaround during reset. This erratum applies
1004# to revisions r0p0, and r1p0. It is fixed in r1p1.
1005CPU_FLAG_LIST += ERRATA_A715_2344187
1006
Sona Mathewbfcacc82024-02-20 16:59:45 -06001007# Flag to apply erratum 2413290 workaround during reset. This erratum applies
1008# only to revision r1p0. It is fixed in r1p1.
1009CPU_FLAG_LIST += ERRATA_A715_2413290
1010
Bipin Ravi7ff27422024-02-27 17:34:05 -06001011# Flag to apply erratum 2420947 workaround during reset. This erratum applies
1012# only to revision r1p0. It is fixed in r1p1.
1013CPU_FLAG_LIST += ERRATA_A715_2420947
1014
Bipin Ravi9e7e0082024-02-27 17:14:22 -06001015# Flag to apply erratum 2429384 workaround during reset. This erratum applies
1016# to revision r1p0. There is no workaround for r0p0. It is fixed in r1p1.
1017CPU_FLAG_LIST += ERRATA_A715_2429384
1018
Bipin Raviad767132024-01-25 16:18:20 -06001019# Flag to apply erratum 2561034 workaround during reset. This erratum applies
1020# only to revision r1p0. It is fixed in r1p1.
1021CPU_FLAG_LIST += ERRATA_A715_2561034
1022
Bipin Ravi7061d072024-04-10 15:06:11 -05001023# Flag to apply erratum 2728106 workaround during reset. This erratum applies
1024# only to revision r0p0, r1p0 and r1p1. It is fixed in r1p2.
1025CPU_FLAG_LIST += ERRATA_A715_2728106
1026
Govindraj Raja152ec362025-01-21 17:00:11 -06001027# Flag to apply erratum 3699560 workaround during context save/restore of
1028# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r1p2, r1p3
1029# of the Cortex-A715 cpu and is still open.
1030CPU_FLAG_LIST += ERRATA_A715_3699560
1031
Arvind Ram Prakasha85a8ba2024-07-19 15:59:17 -05001032# Flag to apply erratum 2792132 workaround during reset. This erratum applies
1033# to revisions r0p0 and r0p1. It is fixed in r0p2.
1034CPU_FLAG_LIST += ERRATA_A720_2792132
1035
Sona Mathew1ee6a982024-07-19 18:09:20 -05001036# Flag to apply erratum 2844092 workaround during reset. This erratum applies
1037# to revisions r0p0 and r0p1. It is fixed in r0p2.
1038CPU_FLAG_LIST += ERRATA_A720_2844092
1039
Bipin Ravi5e039752024-03-14 16:52:21 -05001040# Flag to apply erratum 2926083 workaround during reset. This erratum applies
1041# to revisions r0p0 and r0p1. It is fixed in r0p2.
1042CPU_FLAG_LIST += ERRATA_A720_2926083
1043
Bipin Ravi38ab0b72024-03-12 10:29:16 -05001044# Flag to apply erratum 2940794 workaround during reset. This erratum applies
1045# to revisions r0p0 and r0p1. It is fixed in r0p2.
1046CPU_FLAG_LIST += ERRATA_A720_2940794
1047
Govindraj Raja1ad24572025-01-21 17:12:33 -06001048# Flag to apply erratum 3699561 workaround during context save/restore of
1049# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1, r0p2 of
1050# the Cortex-A720 cpu and is still open.
1051CPU_FLAG_LIST += ERRATA_A720_3699561
1052
Govindraj Rajaa4c60f62025-01-21 17:23:26 -06001053# Flag to apply erratum 3699562 workaround during context save/restore of
1054# ICH_VMCR_EL2 reg. This erratum applies to revision r0p0 the Cortex-A720-AE
1055# cpu and is still open.
1056CPU_FLAG_LIST += ERRATA_A720_AE_3699562
1057
Govindraj Raja3c1defc2025-01-21 17:44:17 -06001058# Flag to apply erratum 3699564 workaround during context save/restore of
1059# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1 of
1060# the Cortex-A725 cpu and is fixed in r0p2
1061CPU_FLAG_LIST += ERRATA_A725_3699564
1062
Louis Mayencourt4498b152019-04-09 16:29:01 +01001063# Flag to apply DSU erratum 798953. This erratum applies to DSUs revision r0p0.
1064# Applying the workaround results in higher DSU power consumption on idle.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +00001065CPU_FLAG_LIST += ERRATA_DSU_798953
Louis Mayencourt4498b152019-04-09 16:29:01 +01001066
John Tsichritzis4daa1de2018-07-23 09:11:59 +01001067# Flag to apply DSU erratum 936184. This erratum applies to DSUs containing
Govindraj Raja1ad24572025-01-21 17:12:33 -06001068# the ACP interface and revision < r0p0. Applying the workaround results in
John Tsichritzis4daa1de2018-07-23 09:11:59 +01001069# higher DSU power consumption on idle.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +00001070CPU_FLAG_LIST += ERRATA_DSU_936184
John Tsichritzis4daa1de2018-07-23 09:11:59 +01001071
Bipin Raviaf40d692021-12-22 14:35:21 -06001072# Flag to apply DSU erratum 2313941. This erratum applies to DSUs revisions
1073# r0p0, r1p0, r2p0, r2p1, r3p0, r3p1 and is still open. Applying the workaround
1074# results in higher DSU power consumption on idle.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +00001075CPU_FLAG_LIST += ERRATA_DSU_2313941
Douglas Raillardd56fb042017-06-19 15:38:02 +01001076
Boyan Karatotevb4f25db2022-11-17 12:01:29 +00001077ifneq (${DYNAMIC_WORKAROUND_CVE_2018_3639},0)
1078 ifeq (${WORKAROUND_CVE_2018_3639},0)
1079 $(error "Error: WORKAROUND_CVE_2018_3639 must be 1 if DYNAMIC_WORKAROUND_CVE_2018_3639 is 1")
1080 endif
1081endif
John Tsichritzis4daa1de2018-07-23 09:11:59 +01001082
Boyan Karatotevb4f25db2022-11-17 12:01:29 +00001083# process all flags
Boyan Karatotev17e059e2023-03-22 15:55:36 +00001084ifeq (${ENABLE_ERRATA_ALL},1)
1085$(eval $(call default_ones, $(CPU_FLAG_LIST)))
1086else
Boyan Karatotevb4f25db2022-11-17 12:01:29 +00001087$(eval $(call default_zeros, $(CPU_FLAG_LIST)))
Boyan Karatotev17e059e2023-03-22 15:55:36 +00001088endif
Boyan Karatotevb4f25db2022-11-17 12:01:29 +00001089$(eval $(call add_defines, $(CPU_FLAG_LIST)))
1090$(eval $(call assert_booleans, $(CPU_FLAG_LIST)))
Bipin Raviaf40d692021-12-22 14:35:21 -06001091
Douglas Raillardd56fb042017-06-19 15:38:02 +01001092# Errata build flags
1093ifneq (${ERRATA_A53_843419},0)
Douglas Raillardd0c82732017-06-22 14:44:48 +01001094TF_LDFLAGS_aarch64 += --fix-cortex-a53-843419
Douglas Raillardd56fb042017-06-19 15:38:02 +01001095endif
1096
1097ifneq (${ERRATA_A53_835769},0)
1098TF_CFLAGS_aarch64 += -mfix-cortex-a53-835769
Douglas Raillardd0c82732017-06-22 14:44:48 +01001099TF_LDFLAGS_aarch64 += --fix-cortex-a53-835769
Douglas Raillardd56fb042017-06-19 15:38:02 +01001100endif
Manish V Badarkhe7672edf2020-08-03 18:43:14 +01001101
1102ifneq ($(filter 1,${ERRATA_A53_1530924} ${ERRATA_A55_1530923} \
1103 ${ERRATA_A57_1319537} ${ERRATA_A72_1319367} ${ERRATA_A76_1165522}),)
1104ERRATA_SPECULATIVE_AT := 1
1105else
1106ERRATA_SPECULATIVE_AT := 0
1107endif