blob: 82a4890cf7973cb661df76b83353947276fb5763 [file] [log] [blame]
Soby Mathew802f8652014-08-14 16:19:29 +01001#
Bipin Ravi7dccf8f2022-12-22 14:19:59 -06002# Copyright (c) 2014-2023, 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
Dimitris Papastamos446f7f12017-11-30 14:53:53 +000035
Javier Almansa Sobrino9faad3c2020-10-23 13:22:07 +010036# Flags to indicate internal or external Last level cache
Manish Pandey3880a362020-01-24 11:54:44 +000037# By default internal
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000038CPU_FLAG_LIST += NEOVERSE_Nx_EXTERNAL_LLC
Dimitris Papastamosba51d9e2018-05-16 11:36:14 +010039
Sandrine Bailleuxafa8a782016-04-14 12:59:42 +010040# CPU Errata Build flags.
41# These should be enabled by the platform if the erratum workaround needs to be
42# applied.
Soby Mathew802f8652014-08-14 16:19:29 +010043
Joel Hutton26d16762019-04-10 12:52:52 +010044# Flag to apply erratum 794073 workaround when disabling mmu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000045CPU_FLAG_LIST += ERRATA_A9_794073
Joel Hutton26d16762019-04-10 12:52:52 +010046
Ambroise Vincentd4a51eb2019-03-04 16:56:26 +000047# Flag to apply erratum 816470 workaround during power down. This erratum
48# applies only to revision >= r3p0 of the Cortex A15 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000049CPU_FLAG_LIST += ERRATA_A15_816470
Ambroise Vincentd4a51eb2019-03-04 16:56:26 +000050
Ambroise Vincent68b38122019-03-05 09:54:21 +000051# Flag to apply erratum 827671 workaround during reset. This erratum applies
52# only to revision >= r3p0 of the Cortex A15 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000053CPU_FLAG_LIST += ERRATA_A15_827671
Ambroise Vincent68b38122019-03-05 09:54:21 +000054
Ambroise Vincent8cf9eef2019-02-28 16:23:53 +000055# Flag to apply erratum 852421 workaround during reset. This erratum applies
56# only to revision <= r1p2 of the Cortex A17 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000057CPU_FLAG_LIST += ERRATA_A17_852421
Ambroise Vincent8cf9eef2019-02-28 16:23:53 +000058
Ambroise Vincentfa5c9512019-03-04 13:20:56 +000059# Flag to apply erratum 852423 workaround during reset. This erratum applies
60# only to revision <= r1p2 of the Cortex A17 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000061CPU_FLAG_LIST += ERRATA_A17_852423
Ambroise Vincentfa5c9512019-03-04 13:20:56 +000062
Louis Mayencourt8a061272019-04-05 16:25:25 +010063# Flag to apply erratum 855472 workaround during reset. This erratum applies
64# only to revision r0p0 of the Cortex A35 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000065CPU_FLAG_LIST += ERRATA_A35_855472
Louis Mayencourt8a061272019-04-05 16:25:25 +010066
Ambroise Vincentf5fdfbc2019-02-21 14:16:24 +000067# Flag to apply erratum 819472 workaround during reset. This erratum applies
68# only to revision <= r0p1 of the Cortex A53 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000069CPU_FLAG_LIST += ERRATA_A53_819472
Ambroise Vincentf5fdfbc2019-02-21 14:16:24 +000070
71# Flag to apply erratum 824069 workaround during reset. This erratum applies
72# only to revision <= r0p2 of the Cortex A53 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000073CPU_FLAG_LIST += ERRATA_A53_824069
Ambroise Vincentf5fdfbc2019-02-21 14:16:24 +000074
Sandrine Bailleuxafa8a782016-04-14 12:59:42 +010075# Flag to apply erratum 826319 workaround during reset. This erratum applies
76# only to revision <= r0p2 of the Cortex A53 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000077CPU_FLAG_LIST += ERRATA_A53_826319
developer4fceaca2015-07-29 20:55:31 +080078
Ambroise Vincentf5fdfbc2019-02-21 14:16:24 +000079# Flag to apply erratum 827319 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_827319
Ambroise Vincentf5fdfbc2019-02-21 14:16:24 +000082
johpow01de7b5242022-01-04 16:15:18 -060083# Flag to apply erratum 835769 workaround at compile and link time. This
Douglas Raillardd56fb042017-06-19 15:38:02 +010084# erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this
85# workaround can lead the linker to create "*.stub" sections.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000086CPU_FLAG_LIST += ERRATA_A53_835769
Douglas Raillardd56fb042017-06-19 15:38:02 +010087
Sandrine Bailleuxafa8a782016-04-14 12:59:42 +010088# Flag to apply erratum 836870 workaround during reset. This erratum applies
89# only to revision <= r0p3 of the Cortex A53 cpu. From r0p4 and onwards, this
Douglas Raillardc847f662017-02-15 17:38:43 +000090# erratum workaround is enabled by default in hardware.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000091CPU_FLAG_LIST += ERRATA_A53_836870
developer4fceaca2015-07-29 20:55:31 +080092
Douglas Raillardd56fb042017-06-19 15:38:02 +010093# Flag to apply erratum 843419 workaround at link time.
94# This erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this
95# workaround could lead the linker to emit "*.stub" sections which are 4kB
96# aligned.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +000097CPU_FLAG_LIST += ERRATA_A53_843419
Douglas Raillardd56fb042017-06-19 15:38:02 +010098
Andre Przywara00eefd92016-10-06 16:54:53 +010099# Flag to apply errata 855873 during reset. This errata applies to all
100# revisions of the Cortex A53 CPU, but this firmware workaround only works
101# for revisions r0p3 and higher. Earlier revisions are taken care
102# of by the rich OS.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000103CPU_FLAG_LIST += ERRATA_A53_855873
Andre Przywara00eefd92016-10-06 16:54:53 +0100104
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100105# Flag to apply erratum 1530924 workaround during reset. This erratum applies
106# to all revisions of Cortex A53 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000107CPU_FLAG_LIST += ERRATA_A53_1530924
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100108
Ambroise Vincent7927fa02019-02-21 16:20:43 +0000109# Flag to apply erratum 768277 workaround during reset. This erratum applies
110# only to revision r0p0 of the Cortex A55 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000111CPU_FLAG_LIST += ERRATA_A55_768277
Ambroise Vincent7927fa02019-02-21 16:20:43 +0000112
Ambroise Vincent6f319602019-02-21 16:25:37 +0000113# Flag to apply erratum 778703 workaround during reset. This erratum applies
114# only to revision r0p0 of the Cortex A55 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000115CPU_FLAG_LIST += ERRATA_A55_778703
Ambroise Vincent6f319602019-02-21 16:25:37 +0000116
Ambroise Vincent6a77f052019-02-21 16:27:34 +0000117# Flag to apply erratum 798797 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_798797
Ambroise Vincent6a77f052019-02-21 16:27:34 +0000120
Ambroise Vincentdd961f72019-02-21 16:29:16 +0000121# Flag to apply erratum 846532 workaround during reset. This erratum applies
122# only to revision <= r0p1 of the Cortex A55 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000123CPU_FLAG_LIST += ERRATA_A55_846532
Ambroise Vincentdd961f72019-02-21 16:29:16 +0000124
Ambroise Vincenta1d64462019-02-21 16:29:50 +0000125# Flag to apply erratum 903758 workaround during reset. This erratum applies
126# only to revision <= r0p1 of the Cortex A55 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000127CPU_FLAG_LIST += ERRATA_A55_903758
Ambroise Vincenta1d64462019-02-21 16:29:50 +0000128
Ambroise Vincentb72fe7a2019-05-28 09:52:48 +0100129# Flag to apply erratum 1221012 workaround during reset. This erratum applies
130# only to revision <= r1p0 of the Cortex A55 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000131CPU_FLAG_LIST += ERRATA_A55_1221012
Ambroise Vincentb72fe7a2019-05-28 09:52:48 +0100132
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100133# Flag to apply erratum 1530923 workaround during reset. This erratum applies
134# to all revisions of Cortex A55 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000135CPU_FLAG_LIST += ERRATA_A55_1530923
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100136
Sandrine Bailleuxafa8a782016-04-14 12:59:42 +0100137# Flag to apply erratum 806969 workaround during reset. This erratum applies
138# only to revision r0p0 of the Cortex A57 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000139CPU_FLAG_LIST += ERRATA_A57_806969
Soby Mathew802f8652014-08-14 16:19:29 +0100140
Antonio Nino Diaz3f13c352017-02-24 11:39:22 +0000141# Flag to apply erratum 813419 workaround during reset. This erratum applies
142# only to revision r0p0 of the Cortex A57 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000143CPU_FLAG_LIST += ERRATA_A57_813419
Antonio Nino Diaz3f13c352017-02-24 11:39:22 +0000144
johpow01de7b5242022-01-04 16:15:18 -0600145# Flag to apply erratum 813420 workaround during reset. This erratum applies
Sandrine Bailleuxafa8a782016-04-14 12:59:42 +0100146# only to revision r0p0 of the Cortex A57 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000147CPU_FLAG_LIST += ERRATA_A57_813420
Soby Mathew802f8652014-08-14 16:19:29 +0100148
johpow01de7b5242022-01-04 16:15:18 -0600149# Flag to apply erratum 814670 workaround during reset. This erratum applies
Ambroise Vincent1b0db762019-02-21 16:35:07 +0000150# only to revision r0p0 of the Cortex A57 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000151CPU_FLAG_LIST += ERRATA_A57_814670
Ambroise Vincent1b0db762019-02-21 16:35:07 +0000152
Ambroise Vincentaa2c0292019-02-21 16:35:49 +0000153# Flag to apply erratum 817169 workaround during power down. This erratum
154# applies only to revision <= r0p1 of the Cortex A57 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000155CPU_FLAG_LIST += ERRATA_A57_817169
Ambroise Vincentaa2c0292019-02-21 16:35:49 +0000156
Sandrine Bailleuxa7e0c532016-04-14 13:32:31 +0100157# Flag to apply erratum 826974 workaround during reset. This erratum applies
158# only to revision <= r1p1 of the Cortex A57 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000159CPU_FLAG_LIST += ERRATA_A57_826974
Sandrine Bailleuxa7e0c532016-04-14 13:32:31 +0100160
Sandrine Bailleuxadcbd552016-04-14 14:24:13 +0100161# Flag to apply erratum 826977 workaround during reset. This erratum applies
162# only to revision <= r1p1 of the Cortex A57 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000163CPU_FLAG_LIST += ERRATA_A57_826977
Sandrine Bailleuxadcbd552016-04-14 14:24:13 +0100164
Sandrine Bailleuxc11116f2016-04-14 14:04:48 +0100165# Flag to apply erratum 828024 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_828024
Sandrine Bailleuxc11116f2016-04-14 14:04:48 +0100168
Sandrine Bailleux48cbe852016-04-14 14:18:07 +0100169# Flag to apply erratum 829520 workaround during reset. This erratum applies
170# only to revision <= r1p2 of the Cortex A57 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000171CPU_FLAG_LIST += ERRATA_A57_829520
Sandrine Bailleux48cbe852016-04-14 14:18:07 +0100172
Sandrine Bailleux143ef1a2016-04-21 11:10:52 +0100173# Flag to apply erratum 833471 workaround during reset. This erratum applies
174# only to revision <= r1p2 of the Cortex A57 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000175CPU_FLAG_LIST += ERRATA_A57_833471
Sandrine Bailleux143ef1a2016-04-21 11:10:52 +0100176
Eleanor Bonnici0c9bd272017-08-02 16:35:04 +0100177# Flag to apply erratum 855972 workaround during reset. This erratum applies
178# only to revision <= r1p3 of the Cortex A57 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000179CPU_FLAG_LIST += ERRATA_A57_859972
Eleanor Bonnici0c9bd272017-08-02 16:35:04 +0100180
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100181# Flag to apply erratum 1319537 workaround during reset. This erratum applies
182# to all revisions of Cortex A57 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000183CPU_FLAG_LIST += ERRATA_A57_1319537
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100184
Eleanor Bonnicic3b4ca12017-08-02 18:33:41 +0100185# Flag to apply erratum 855971 workaround during reset. This erratum applies
186# only to revision <= r0p3 of the Cortex A72 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000187CPU_FLAG_LIST += ERRATA_A72_859971
Eleanor Bonnicic3b4ca12017-08-02 18:33:41 +0100188
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100189# Flag to apply erratum 1319367 workaround during reset. This erratum applies
190# to all revisions of Cortex A72 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000191CPU_FLAG_LIST += ERRATA_A72_1319367
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100192
Louis Mayencourtd69722c2019-02-27 14:24:16 +0000193# Flag to apply erratum 852427 workaround during reset. This erratum applies
194# only to revision r0p0 of the Cortex A73 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000195CPU_FLAG_LIST += ERRATA_A73_852427
Louis Mayencourtd69722c2019-02-27 14:24:16 +0000196
Louis Mayencourt4405de62019-02-21 16:38:16 +0000197# Flag to apply erratum 855423 workaround during reset. This erratum applies
198# only to revision <= r0p1 of the Cortex A73 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000199CPU_FLAG_LIST += ERRATA_A73_855423
Louis Mayencourt4405de62019-02-21 16:38:16 +0000200
Louis Mayencourt78a0aed2019-02-20 12:11:41 +0000201# Flag to apply erratum 764081 workaround during reset. This erratum applies
202# only to revision <= r0p0 of the Cortex A75 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000203CPU_FLAG_LIST += ERRATA_A75_764081
Louis Mayencourt78a0aed2019-02-20 12:11:41 +0000204
Louis Mayencourt8d868702019-02-25 14:57:57 +0000205# Flag to apply erratum 790748 workaround during reset. This erratum applies
206# only to revision <= r0p0 of the Cortex A75 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000207CPU_FLAG_LIST += ERRATA_A75_790748
Louis Mayencourt8d868702019-02-25 14:57:57 +0000208
Louis Mayencourt59fa2182019-02-25 15:17:44 +0000209# Flag to apply erratum 1073348 workaround during reset. This erratum applies
210# only to revision <= r1p0 of the Cortex A76 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000211CPU_FLAG_LIST += ERRATA_A76_1073348
Louis Mayencourt59fa2182019-02-25 15:17:44 +0000212
Louis Mayencourt09924472019-02-21 17:35:07 +0000213# Flag to apply erratum 1130799 workaround during reset. This erratum applies
214# only to revision <= r2p0 of the Cortex A76 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000215CPU_FLAG_LIST += ERRATA_A76_1130799
Louis Mayencourt09924472019-02-21 17:35:07 +0000216
Louis Mayencourtadda9d42019-02-25 11:37:38 +0000217# Flag to apply erratum 1220197 workaround during reset. This erratum applies
218# only to revision <= r2p0 of the Cortex A76 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000219CPU_FLAG_LIST += ERRATA_A76_1220197
Louis Mayencourtadda9d42019-02-25 11:37:38 +0000220
Soby Mathew1d3ba1c2019-05-01 09:43:18 +0100221# Flag to apply erratum 1257314 workaround during reset. This erratum applies
222# only to revision <= r3p0 of the Cortex A76 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000223CPU_FLAG_LIST += ERRATA_A76_1257314
Soby Mathew1d3ba1c2019-05-01 09:43:18 +0100224
225# Flag to apply erratum 1262606 workaround during reset. This erratum applies
226# only to revision <= r3p0 of the Cortex A76 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000227CPU_FLAG_LIST += ERRATA_A76_1262606
Soby Mathew1d3ba1c2019-05-01 09:43:18 +0100228
229# Flag to apply erratum 1262888 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_1262888
Soby Mathew1d3ba1c2019-05-01 09:43:18 +0100232
233# Flag to apply erratum 1275112 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_1275112
Soby Mathew1d3ba1c2019-05-01 09:43:18 +0100236
Soby Mathew16d006b2019-05-03 13:17:56 +0100237# Flag to apply erratum 1286807 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_1286807
Soby Mathew16d006b2019-05-03 13:17:56 +0100240
johpow019603f982020-05-29 14:17:38 -0500241# Flag to apply erratum 1791580 workaround during reset. This erratum applies
242# only to revision <= r4p0 of the Cortex A76 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000243CPU_FLAG_LIST += ERRATA_A76_1791580
johpow019603f982020-05-29 14:17:38 -0500244
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100245# Flag to apply erratum 1165522 workaround during reset. This erratum applies
246# to all revisions of Cortex A76 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000247CPU_FLAG_LIST += ERRATA_A76_1165522
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100248
johpow0181365e32020-09-29 17:19:09 -0500249# Flag to apply erratum 1868343 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_1868343
johpow0181365e32020-09-29 17:19:09 -0500252
johpow013e34e922020-12-15 19:02:18 -0600253# Flag to apply erratum 1946160 workaround during reset. This erratum applies
254# only to revisions r3p0 - r4p1 of the Cortex A76 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000255CPU_FLAG_LIST += ERRATA_A76_1946160
johpow013e34e922020-12-15 19:02:18 -0600256
Bipin Ravi23e29e42022-11-02 16:50:03 -0500257# Flag to apply erratum 2743102 workaround during powerdown. This erratum
258# applies to all revisions <= r4p1 of the Cortex A76 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000259CPU_FLAG_LIST += ERRATA_A76_2743102
Bipin Ravi23e29e42022-11-02 16:50:03 -0500260
laurenw-arm99ad9762020-07-14 14:18:34 -0500261# Flag to apply erratum 1508412 workaround during reset. This erratum applies
262# only to revision <= r1p0 of the Cortex A77 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000263CPU_FLAG_LIST += ERRATA_A77_1508412
laurenw-arm99ad9762020-07-14 14:18:34 -0500264
johpow01a2fa12c2020-09-10 13:39:26 -0500265# Flag to apply erratum 1925769 workaround during reset. This erratum applies
266# only to revision <= r1p1 of the Cortex A77 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000267CPU_FLAG_LIST += ERRATA_A77_1925769
johpow01a2fa12c2020-09-10 13:39:26 -0500268
laurenw-armf5dbbef2021-03-23 13:09:35 -0500269# Flag to apply erratum 1946167 workaround during reset. This erratum applies
270# only to revision <= r1p1 of the Cortex A77 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000271CPU_FLAG_LIST += ERRATA_A77_1946167
laurenw-armf5dbbef2021-03-23 13:09:35 -0500272
johpow01eb146102021-05-03 13:37:13 -0500273# Flag to apply erratum 1791578 workaround during reset. This erratum applies
274# to revisions r0p0, r1p0, and r1p1, it is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000275CPU_FLAG_LIST += ERRATA_A77_1791578
johpow01eb146102021-05-03 13:37:13 -0500276
Bipin Ravi8e916622022-06-08 15:27:00 -0500277# Flag to apply erratum 2356587 workaround during reset. This erratum applies
278# to revisions r0p0, r1p0, and r1p1, it is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000279CPU_FLAG_LIST += ERRATA_A77_2356587
Bipin Ravi8e916622022-06-08 15:27:00 -0500280
Boyan Karatoteve5cf16b2022-09-27 10:37:54 +0100281# Flag to apply erratum 1800714 workaround during reset. This erratum applies
282# to revisions <= r1p1 of the Cortex A77 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000283CPU_FLAG_LIST += ERRATA_A77_1800714
Boyan Karatoteve5cf16b2022-09-27 10:37:54 +0100284
Boyan Karatotevaaf5d292022-11-01 11:22:12 +0000285# Flag to apply erratum 2743100 workaround during power down. This erratum
286# applies to revisions r0p0, r1p0, and r1p1, it is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000287CPU_FLAG_LIST += ERRATA_A77_2743100
Boyan Karatotevaaf5d292022-11-01 11:22:12 +0000288
Madhukar Pappireddy4efede72019-12-18 15:56:27 -0600289# Flag to apply erratum 1688305 workaround during reset. This erratum applies
Jimmy Brisson3571fb92020-06-01 10:18:22 -0500290# to revisions r0p0 - r1p0 of the A78 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000291CPU_FLAG_LIST += ERRATA_A78_1688305
Madhukar Pappireddy4efede72019-12-18 15:56:27 -0600292
johpow019131eb82020-10-06 17:55:25 -0500293# Flag to apply erratum 1941498 workaround during reset. This erratum applies
294# to revisions r0p0, r1p0, and r1p1 of the A78 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000295CPU_FLAG_LIST += ERRATA_A78_1941498
johpow019131eb82020-10-06 17:55:25 -0500296
johpow0185ea43d2020-10-07 15:08:01 -0500297# Flag to apply erratum 1951500 workaround during reset. This erratum applies
johpow01de7b5242022-01-04 16:15:18 -0600298# to revisions r1p0 and r1p1 of the A78 cpu. The issue is present in r0p0 as
johpow0185ea43d2020-10-07 15:08:01 -0500299# well but there is no workaround for that revision.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000300CPU_FLAG_LIST += ERRATA_A78_1951500
johpow0185ea43d2020-10-07 15:08:01 -0500301
johpow01b3e82942021-04-30 18:08:52 -0500302# Flag to apply erratum 1821534 workaround during reset. This erratum applies
303# to revisions r0p0 and r1p0 of the A78 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000304CPU_FLAG_LIST += ERRATA_A78_1821534
johpow01b3e82942021-04-30 18:08:52 -0500305
nayanpatel-arm80bf7a52021-08-11 13:33:00 -0700306# Flag to apply erratum 1952683 workaround during reset. This erratum applies
307# to revision r0p0 of the A78 cpu and was fixed in the revision r1p0.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000308CPU_FLAG_LIST += ERRATA_A78_1952683
nayanpatel-arm80bf7a52021-08-11 13:33:00 -0700309
nayanpatel-arm39e08652021-09-28 17:31:50 -0700310# Flag to apply erratum 2132060 workaround during reset. This erratum applies
311# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000312CPU_FLAG_LIST += ERRATA_A78_2132060
johpow0145c17242021-09-02 17:53:30 -0500313
314# Flag to apply erratum 2242635 workaround during reset. This erratum applies
315# to revisions r1p0, r1p1, and r1p2 of the A78 cpu and is open. The issue is
316# present in r0p0 as well but there is no workaround for that revision.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000317CPU_FLAG_LIST += ERRATA_A78_2242635
johpow0145c17242021-09-02 17:53:30 -0500318
John Powell12bc0de2022-05-03 15:22:57 -0500319# Flag to apply erratum 2376745 workaround during reset. This erratum applies
320# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000321CPU_FLAG_LIST += ERRATA_A78_2376745
John Powell12bc0de2022-05-03 15:22:57 -0500322
John Powella93b7e52022-05-03 15:52:11 -0500323# Flag to apply erratum 2395406 workaround during reset. This erratum applies
324# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000325CPU_FLAG_LIST += ERRATA_A78_2395406
John Powella93b7e52022-05-03 15:52:11 -0500326
Bipin Ravi33100ef2023-02-28 14:51:28 -0600327# Flag to apply erratum 2742426 workaround during reset. This erratum
328# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still
329# open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000330CPU_FLAG_LIST += ERRATA_A78_2742426
Bipin Ravi33100ef2023-02-28 14:51:28 -0600331
Bipin Ravi8f78e0d2022-12-15 14:48:21 -0600332# Flag to apply erratum 2772019 workaround during powerdown. This erratum
333# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still
334# open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000335CPU_FLAG_LIST += ERRATA_A78_2772019
Bipin Ravi8f78e0d2022-12-15 14:48:21 -0600336
Sona Mathewf13c1a92023-01-11 12:55:30 -0600337# Flag to apply erratum 2779479 workaround during reset. This erratum applies
338# to revision r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000339CPU_FLAG_LIST += ERRATA_A78_2779479
Sona Mathewf13c1a92023-01-11 12:55:30 -0600340
johpow0145c17242021-09-02 17:53:30 -0500341# Flag to apply erratum 1941500 workaround during reset. This erratum applies
342# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000343CPU_FLAG_LIST += ERRATA_A78_AE_1941500
johpow0145c17242021-09-02 17:53:30 -0500344
345# Flag to apply erratum 1951502 workaround during reset. This erratum applies
346# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000347CPU_FLAG_LIST += ERRATA_A78_AE_1951502
nayanpatel-arm39e08652021-09-28 17:31:50 -0700348
Varun Wadekar9030a6c2022-03-09 22:04:00 +0000349# Flag to apply erratum 2376748 workaround during reset. This erratum applies
350# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000351CPU_FLAG_LIST += ERRATA_A78_AE_2376748
Varun Wadekar9030a6c2022-03-09 22:04:00 +0000352
Varun Wadekarac6bf2e2022-03-09 22:20:32 +0000353# Flag to apply erratum 2395408 workaround during reset. This erratum applies
354# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000355CPU_FLAG_LIST += ERRATA_A78_AE_2395408
Varun Wadekarac6bf2e2022-03-09 22:20:32 +0000356
Bipin Ravibf205fc2023-03-14 10:04:23 -0500357# Flag to apply erratum 1827430 workaround during reset. This erratum applies
358# to revision r0p0 of the A78C cpu. It is fixed in r0p1.
359CPU_FLAG_LIST += ERRATA_A78C_1827430
360
Bipin Ravie49c7042023-03-14 11:03:24 -0500361# Flag to apply erratum 1827440 workaround during reset. This erratum applies
362# to revision r0p0 of the A78C cpu. It is fixed in r0p1.
363CPU_FLAG_LIST += ERRATA_A78C_1827440
364
laurenw-arm4dc18872022-07-12 10:43:52 -0500365# Flag to apply erratum 2132064 workaround during reset. This erratum applies
366# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000367CPU_FLAG_LIST += ERRATA_A78C_2132064
laurenw-arm4dc18872022-07-12 10:43:52 -0500368
Bipin Ravi9c36e122022-07-15 17:20:16 -0500369# Flag to apply erratum 2242638 workaround during reset. This erratum applies
370# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000371CPU_FLAG_LIST += ERRATA_A78C_2242638
Bipin Ravi9c36e122022-07-15 17:20:16 -0500372
Akram Ahmadfbc1edb2022-09-06 11:23:25 +0100373# Flag to apply erratum 2376749 workaround during reset. This erratum applies
374# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000375CPU_FLAG_LIST += ERRATA_A78C_2376749
Akram Ahmadfbc1edb2022-09-06 11:23:25 +0100376
Akram Ahmaddbff7cf2022-07-19 14:38:46 +0100377# Flag to apply erratum 2395411 workaround during reset. This erratum applies
378# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000379CPU_FLAG_LIST += ERRATA_A78C_2395411
Akram Ahmaddbff7cf2022-07-19 14:38:46 +0100380
Bipin Ravie0b52cc2023-01-18 11:03:21 -0600381# Flag to apply erratum 2772121 workaround during powerdown. This erratum
382# applies to revisions r0p0, r0p1 and r0p2 of the A78C cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000383CPU_FLAG_LIST += ERRATA_A78C_2772121
Bipin Ravie0b52cc2023-01-18 11:03:21 -0600384
Bipin Ravidb091082023-02-28 16:21:51 -0600385# Flag to apply erratum 2779484 workaround during reset. This erratum
386# applies to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000387CPU_FLAG_LIST += ERRATA_A78C_2779484
Bipin Ravidb091082023-02-28 16:21:51 -0600388
Okash Khawajabaee3902022-04-21 12:20:21 +0100389# Flag to apply erratum 1821534 workaround during reset. This erratum applies
390# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000391CPU_FLAG_LIST += ERRATA_X1_1821534
Okash Khawajabaee3902022-04-21 12:20:21 +0100392
393# Flag to apply erratum 1688305 workaround during reset. This erratum applies
394# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000395CPU_FLAG_LIST += ERRATA_X1_1688305
Okash Khawajabaee3902022-04-21 12:20:21 +0100396
397# Flag to apply erratum 1827429 workaround during reset. This erratum applies
398# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000399CPU_FLAG_LIST += ERRATA_X1_1827429
Okash Khawajabaee3902022-04-21 12:20:21 +0100400
Dimitris Papastamos7ca21db2018-03-26 16:46:01 +0100401# Flag to apply T32 CLREX workaround during reset. This erratum applies
John Tsichritzis56369c12019-02-19 13:49:06 +0000402# only to r0p0 and r1p0 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000403CPU_FLAG_LIST += ERRATA_N1_1043202
Dimitris Papastamos7ca21db2018-03-26 16:46:01 +0100404
lauwal01bd555f42019-06-24 11:23:50 -0500405# Flag to apply erratum 1073348 workaround during reset. This erratum applies
406# only to revision r0p0 and r1p0 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000407CPU_FLAG_LIST += ERRATA_N1_1073348
lauwal01bd555f42019-06-24 11:23:50 -0500408
lauwal01363ee3c2019-06-24 11:28:34 -0500409# Flag to apply erratum 1130799 workaround during reset. This erratum applies
410# only to revision <= r2p0 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000411CPU_FLAG_LIST += ERRATA_N1_1130799
lauwal01363ee3c2019-06-24 11:28:34 -0500412
lauwal01f2adb132019-06-24 11:32:40 -0500413# Flag to apply erratum 1165347 workaround during reset. This erratum applies
414# only to revision <= r2p0 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000415CPU_FLAG_LIST += ERRATA_N1_1165347
lauwal01f2adb132019-06-24 11:32:40 -0500416
lauwal01e1590442019-06-24 11:35:37 -0500417# Flag to apply erratum 1207823 workaround during reset. This erratum applies
418# only to revision <= r2p0 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000419CPU_FLAG_LIST += ERRATA_N1_1207823
lauwal01e1590442019-06-24 11:35:37 -0500420
lauwal01197f14c2019-06-24 11:38:53 -0500421# Flag to apply erratum 1220197 workaround during reset. This erratum applies
422# only to revision <= r2p0 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000423CPU_FLAG_LIST += ERRATA_N1_1220197
lauwal01197f14c2019-06-24 11:38:53 -0500424
lauwal0107c2a232019-06-24 11:42:02 -0500425# Flag to apply erratum 1257314 workaround during reset. This erratum applies
426# only to revision <= r3p0 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000427CPU_FLAG_LIST += ERRATA_N1_1257314
lauwal0107c2a232019-06-24 11:42:02 -0500428
lauwal0142771af2019-06-24 11:44:58 -0500429# Flag to apply erratum 1262606 workaround during reset. This erratum applies
430# only to revision <= r3p0 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000431CPU_FLAG_LIST += ERRATA_N1_1262606
lauwal0142771af2019-06-24 11:44:58 -0500432
lauwal0100396bf2019-06-24 11:47:30 -0500433# Flag to apply erratum 1262888 workaround during reset. This erratum applies
434# only to revision <= r3p0 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000435CPU_FLAG_LIST += ERRATA_N1_1262888
lauwal0100396bf2019-06-24 11:47:30 -0500436
lauwal01644b6ed2019-06-24 11:49:01 -0500437# Flag to apply erratum 1275112 workaround during reset. This erratum applies
438# only to revision <= r3p0 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000439CPU_FLAG_LIST += ERRATA_N1_1275112
lauwal01644b6ed2019-06-24 11:49:01 -0500440
Andre Przywarab9347402019-05-20 14:57:06 +0100441# Flag to apply erratum 1315703 workaround during reset. This erratum applies
442# to revisions before r3p1 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000443CPU_FLAG_LIST += ERRATA_N1_1315703
Andre Przywarab9347402019-05-20 14:57:06 +0100444
laurenw-arm94accd32019-08-20 15:51:24 -0500445# Flag to apply erratum 1542419 workaround during reset. This erratum applies
446# to revisions r3p0 - r4p0 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000447CPU_FLAG_LIST += ERRATA_N1_1542419
laurenw-arm94accd32019-08-20 15:51:24 -0500448
johpow01e2428fd2020-08-05 12:27:12 -0500449# Flag to apply erratum 1868343 workaround during reset. This erratum applies
450# to revision <= r4p0 of the Neoverse N1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000451CPU_FLAG_LIST += ERRATA_N1_1868343
johpow01e2428fd2020-08-05 12:27:12 -0500452
johpow01f1a84f52020-10-07 14:33:15 -0500453# Flag to apply erratum 1946160 workaround during reset. This erratum applies
johpow01de7b5242022-01-04 16:15:18 -0600454# to revisions r3p0, r3p1, r4p0, and r4p1 of the Neoverse N1 cpu. The issue
johpow01f1a84f52020-10-07 14:33:15 -0500455# exists in revisions r0p0, r1p0, and r2p0 as well but there is no workaround.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000456CPU_FLAG_LIST += ERRATA_N1_1946160
johpow01f1a84f52020-10-07 14:33:15 -0500457
Bipin Ravi9edf2492022-11-02 16:12:01 -0500458# Flag to apply erratum 2743102 workaround during powerdown. This erratum
459# applies to all revisions <= r4p1 of the Neoverse N1 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000460CPU_FLAG_LIST += ERRATA_N1_2743102
Bipin Ravi9edf2492022-11-02 16:12:01 -0500461
Juan Pablo Conde31c93372022-02-28 14:14:44 -0500462# Flag to apply erratum 1618635 workaround during reset. This erratum applies
463# to revision r0p0 of the Neoverse V1 cpu and was fixed in the revision r1p0.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000464CPU_FLAG_LIST += ERRATA_V1_1618635
Juan Pablo Conde31c93372022-02-28 14:14:44 -0500465
johpow01de7b5242022-01-04 16:15:18 -0600466# Flag to apply erratum 1774420 workaround during reset. This erratum applies
laurenw-arm3c86d832021-08-02 13:22:32 -0500467# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000468CPU_FLAG_LIST += ERRATA_V1_1774420
laurenw-arm3c86d832021-08-02 13:22:32 -0500469
johpow01de7b5242022-01-04 16:15:18 -0600470# Flag to apply erratum 1791573 workaround during reset. This erratum applies
johpow01c73b03c2021-05-03 15:33:39 -0500471# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000472CPU_FLAG_LIST += ERRATA_V1_1791573
johpow01c73b03c2021-05-03 15:33:39 -0500473
johpow01de7b5242022-01-04 16:15:18 -0600474# Flag to apply erratum 1852267 workaround during reset. This erratum applies
laurenw-armb1923e92021-08-02 14:40:08 -0500475# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000476CPU_FLAG_LIST += ERRATA_V1_1852267
laurenw-armb1923e92021-08-02 14:40:08 -0500477
johpow01de7b5242022-01-04 16:15:18 -0600478# Flag to apply erratum 1925756 workaround during reset. This needs to be
laurenw-arm6b56f962021-08-02 15:00:15 -0500479# enabled for r0p0, r1p0, and r1p1 of the Neoverse V1 core, it is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000480CPU_FLAG_LIST += ERRATA_V1_1925756
laurenw-arm6b56f962021-08-02 15:00:15 -0500481
johpow0107acb4f2020-10-07 16:38:37 -0500482# Flag to apply erratum 1940577 workaround during reset. This erratum applies
483# to revisions r1p0 and r1p1 of the Neoverse V1 cpu.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000484CPU_FLAG_LIST += ERRATA_V1_1940577
johpow0107acb4f2020-10-07 16:38:37 -0500485
johpow0197db6752021-08-02 18:59:08 -0500486# Flag to apply erratum 1966096 workaround during reset. This erratum applies
johpow01de7b5242022-01-04 16:15:18 -0600487# to revisions r1p0 and r1p1 of the Neoverse V1 CPU and is open. This issue
johpow0197db6752021-08-02 18:59:08 -0500488# exists in r0p0 as well but there is no workaround for that revision.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000489CPU_FLAG_LIST += ERRATA_V1_1966096
johpow0197db6752021-08-02 18:59:08 -0500490
johpow01ad1ca342021-08-03 14:35:20 -0500491# Flag to apply erratum 2139242 workaround during reset. This erratum applies
492# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000493CPU_FLAG_LIST += ERRATA_V1_2139242
nayanpatel-armfc26ffe2021-09-28 13:41:03 -0700494
495# Flag to apply erratum 2108267 workaround during reset. This erratum applies
496# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000497CPU_FLAG_LIST += ERRATA_V1_2108267
johpow01ad1ca342021-08-03 14:35:20 -0500498
johpow014de29cb2021-09-02 18:29:17 -0500499# Flag to apply erratum 2216392 workaround during reset. This erratum applies
500# to revisions r1p0 and r1p1 of the Neoverse V1 cpu and is still open. This
501# issue exists in r0p0 as well but there is no workaround for that revision.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000502CPU_FLAG_LIST += ERRATA_V1_2216392
johpow014de29cb2021-09-02 18:29:17 -0500503
Bipin Ravi971938f2022-06-08 16:28:46 -0500504# Flag to apply erratum 2294912 workaround during reset. This erratum applies
505# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000506CPU_FLAG_LIST += ERRATA_V1_2294912
Bipin Ravi971938f2022-06-08 16:28:46 -0500507
Bipin Ravib4cb31f2022-06-14 17:09:23 -0500508# Flag to apply erratum 2372203 workaround during reset. This erratum applies
509# to revisions r0p0, r1p0 and r1p1 of the Neoverse V1 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000510CPU_FLAG_LIST += ERRATA_V1_2372203
Bipin Ravib4cb31f2022-06-14 17:09:23 -0500511
Bipin Ravife4b0c42022-12-15 11:57:53 -0600512# Flag to apply erratum 2743093 workaround during powerdown. This erratum
513# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the Neoverse V1 cpu and is
514# still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000515CPU_FLAG_LIST += ERRATA_V1_2743093
Bipin Ravife4b0c42022-12-15 11:57:53 -0600516
Sona Mathew2ef5db72023-03-02 15:07:55 -0600517# Flag to apply erratum 2743233 workaround during powerdown. This erratum
518# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the Neoverse V1 cpu and is
519# still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000520CPU_FLAG_LIST += ERRATA_V1_2743233
Sona Mathew2ef5db72023-03-02 15:07:55 -0600521
Sona Mathewfe405d02023-01-11 17:04:24 -0600522# Flag to apply erratum 2779461 workaround during powerdown. This erratum
523# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the Neoverse V1 cpu and is
524# still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000525CPU_FLAG_LIST += ERRATA_V1_2779461
Sona Mathewfe405d02023-01-11 17:04:24 -0600526
nayanpatel-arme55d3252021-08-06 16:39:48 -0700527# Flag to apply erratum 1987031 workaround during reset. This erratum applies
528# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000529CPU_FLAG_LIST += ERRATA_A710_1987031
nayanpatel-arme55d3252021-08-06 16:39:48 -0700530
nayanpatel-arm7597d082021-08-25 17:35:15 -0700531# Flag to apply erratum 2081180 workaround during reset. This erratum applies
532# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000533CPU_FLAG_LIST += ERRATA_A710_2081180
nayanpatel-arm7597d082021-08-25 17:35:15 -0700534
nayanpatel-arm0b338b42021-09-16 15:27:53 -0700535# Flag to apply erratum 2083908 workaround during reset. This erratum applies
536# to revision r2p0 of the Cortex-A710 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000537CPU_FLAG_LIST += ERRATA_A710_2083908
nayanpatel-arm0b338b42021-09-16 15:27:53 -0700538
nayanpatel-armf2dce0e2021-09-22 12:35:03 -0700539# Flag to apply erratum 2058056 workaround during reset. This erratum applies
540# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000541CPU_FLAG_LIST += ERRATA_A710_2058056
nayanpatel-armf2dce0e2021-09-22 12:35:03 -0700542
johpow01de7b5242022-01-04 16:15:18 -0600543# Flag to apply erratum 2055002 workaround during reset. This erratum applies
544# to revision r1p0, r2p0 of the Cortex-A710 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000545CPU_FLAG_LIST += ERRATA_A710_2055002
johpow01de7b5242022-01-04 16:15:18 -0600546
547# Flag to apply erratum 2017096 workaround during reset. This erratum applies
548# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000549CPU_FLAG_LIST += ERRATA_A710_2017096
johpow01de7b5242022-01-04 16:15:18 -0600550
551# Flag to apply erratum 2267065 workaround during reset. This erratum applies
552# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000553CPU_FLAG_LIST += ERRATA_A710_2267065
johpow01de7b5242022-01-04 16:15:18 -0600554
555# Flag to apply erratum 2136059 workaround during reset. This erratum applies
556# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000557CPU_FLAG_LIST += ERRATA_A710_2136059
johpow01de7b5242022-01-04 16:15:18 -0600558
Akram Ahmad1714c1d2022-07-21 15:25:08 +0100559# Flag to apply erratum 2147715 workaround during reset. This erratum applies
560# to revision r2p0 of the Cortex-A710 CPU and is fixed in revision r2p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000561CPU_FLAG_LIST += ERRATA_A710_2147715
Akram Ahmad1714c1d2022-07-21 15:25:08 +0100562
Jayanth Dodderi Chidanandde4f5892022-09-01 22:09:54 +0100563# Flag to apply erratum 2216384 workaround during reset. This erratum applies
564# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000565CPU_FLAG_LIST += ERRATA_A710_2216384
Jayanth Dodderi Chidanandde4f5892022-09-01 22:09:54 +0100566
johpow017249fd02022-02-28 18:34:04 -0600567# Flag to apply erratum 2282622 workaround during reset. This erratum applies
Bipin Ravi380c1982022-12-22 13:31:46 -0600568# to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is still
569# open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000570CPU_FLAG_LIST += ERRATA_A710_2282622
johpow017249fd02022-02-28 18:34:04 -0600571
Boyan Karatotevf8de5352022-10-03 14:21:28 +0100572# Flag to apply erratum 2291219 workaround during reset. This erratum applies
573# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000574CPU_FLAG_LIST += ERRATA_A710_2291219
Boyan Karatotevf8de5352022-10-03 14:21:28 +0100575
johpow017d52a8f2022-03-09 16:23:04 -0600576# Flag to apply erratum 2008768 workaround during reset. This erratum applies
577# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000578CPU_FLAG_LIST += ERRATA_A710_2008768
johpow017d52a8f2022-03-09 16:23:04 -0600579
Bipin Ravi77eab292022-07-12 15:53:21 -0500580# Flag to apply erratum 2371105 workaround during reset. This erratum applies
581# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000582CPU_FLAG_LIST += ERRATA_A710_2371105
Bipin Ravi77eab292022-07-12 15:53:21 -0500583
Bipin Ravief9a1552022-12-07 13:32:35 -0600584# Flag to apply erratum 2768515 workaround during power down. This erratum
585# applies to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is
586# still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000587CPU_FLAG_LIST += ERRATA_A710_2768515
Bipin Ravief9a1552022-12-07 13:32:35 -0600588
Bipin Ravicc744bf2022-12-07 17:01:26 -0600589# Flag to apply erratum 2002655 workaround during reset. This erratum applies
590# to revisions r0p0 of the Neoverse-N2 cpu, it is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000591CPU_FLAG_LIST += ERRATA_N2_2002655
Bipin Ravicc744bf2022-12-07 17:01:26 -0600592
Bipin Ravieb35e852021-03-30 16:08:32 -0500593# Flag to apply erratum 2067956 workaround during reset. This erratum applies
594# to revision r0p0 of the Neoverse N2 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000595CPU_FLAG_LIST += ERRATA_N2_2067956
Bipin Ravieb35e852021-03-30 16:08:32 -0500596
Bipin Ravi7f565472021-03-31 10:10:27 -0500597# Flag to apply erratum 2025414 workaround during reset. This erratum applies
598# to revision r0p0 of the Neoverse N2 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000599CPU_FLAG_LIST += ERRATA_N2_2025414
Bipin Ravi7f565472021-03-31 10:10:27 -0500600
Bipin Ravi7e030692021-08-30 13:02:51 -0500601# Flag to apply erratum 2189731 workaround during reset. This erratum applies
602# to revision r0p0 of the Neoverse N2 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000603CPU_FLAG_LIST += ERRATA_N2_2189731
Bipin Ravi7e030692021-08-30 13:02:51 -0500604
Bipin Ravi0ba631c2021-09-01 01:36:43 -0500605# Flag to apply erratum 2138956 workaround during reset. This erratum applies
606# to revision r0p0 of the Neoverse N2 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000607CPU_FLAG_LIST += ERRATA_N2_2138956
Bipin Ravi0ba631c2021-09-01 01:36:43 -0500608
nayanpatel-armd4c5f9c2021-09-28 09:46:45 -0700609# Flag to apply erratum 2138953 workaround during reset. This erratum applies
610# to revision r0p0 of the Neoverse N2 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000611CPU_FLAG_LIST += ERRATA_N2_2138953
nayanpatel-armd4c5f9c2021-09-28 09:46:45 -0700612
nayanpatel-arm2f153992021-10-06 15:31:24 -0700613# Flag to apply erratum 2242415 workaround during reset. This erratum applies
614# to revision r0p0 of the Neoverse N2 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000615CPU_FLAG_LIST += ERRATA_N2_2242415
nayanpatel-arm2f153992021-10-06 15:31:24 -0700616
nayanpatel-arm8e1aa012021-10-20 18:28:58 -0700617# Flag to apply erratum 2138958 workaround during reset. This erratum applies
618# to revision r0p0 of the Neoverse N2 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000619CPU_FLAG_LIST += ERRATA_N2_2138958
nayanpatel-arm8e1aa012021-10-20 18:28:58 -0700620
nayanpatel-armfed98132021-10-07 17:59:33 -0700621# Flag to apply erratum 2242400 workaround during reset. This erratum applies
622# to revision r0p0 of the Neoverse N2 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000623CPU_FLAG_LIST += ERRATA_N2_2242400
nayanpatel-armfed98132021-10-07 17:59:33 -0700624
nayanpatel-arm45b9f6f2021-10-20 17:30:46 -0700625# Flag to apply erratum 2280757 workaround during reset. This erratum applies
626# to revision r0p0 of the Neoverse N2 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000627CPU_FLAG_LIST += ERRATA_N2_2280757
nayanpatel-arm45b9f6f2021-10-20 17:30:46 -0700628
Boyan Karatotevd3f8b4d2022-10-03 14:07:08 +0100629# Flag to apply erraturm 2326639 workaroud during powerdown. This erratum
630# applies to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000631CPU_FLAG_LIST += ERRATA_N2_2326639
Boyan Karatotevd3f8b4d2022-10-03 14:07:08 +0100632
Akram Ahmadb621bda2022-07-18 12:27:29 +0100633# Flag to apply erratum 2376738 workaround during reset. This erratum applies
634# to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000635CPU_FLAG_LIST += ERRATA_N2_2376738
Akram Ahmadb621bda2022-07-18 12:27:29 +0100636
Daniel Boulby1af2b112022-07-06 14:33:13 +0100637# Flag to apply erratum 2388450 workaround during reset. This erratum applies
638# to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000639CPU_FLAG_LIST += ERRATA_N2_2388450
Daniel Boulby1af2b112022-07-06 14:33:13 +0100640
Bipin Ravicc744bf2022-12-07 17:01:26 -0600641# Flag to apply erratum 2743089 workaround during during powerdown. This erratum
642# applies to all revisions <= r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000643CPU_FLAG_LIST += ERRATA_N2_2743089
Bipin Ravicc744bf2022-12-07 17:01:26 -0600644
johpow010afef362021-12-02 13:25:50 -0600645# Flag to apply erratum 2002765 workaround during reset. This erratum applies
646# to revisions r0p0, r1p0, and r2p0 of the Cortex-X2 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000647CPU_FLAG_LIST += ERRATA_X2_2002765
johpow010afef362021-12-02 13:25:50 -0600648
johpow01f6c37de2021-12-03 11:27:33 -0600649# Flag to apply erratum 2058056 workaround during reset. This erratum applies
650# to revisions r0p0, r1p0, and r2p0 of the Cortex-X2 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000651CPU_FLAG_LIST += ERRATA_X2_2058056
johpow01f6c37de2021-12-03 11:27:33 -0600652
johpow0115f10bd2021-12-01 17:40:39 -0600653# Flag to apply erratum 2083908 workaround during reset. This erratum applies
654# to revision r2p0 of the Cortex-X2 cpu and is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000655CPU_FLAG_LIST += ERRATA_X2_2083908
Bipin Ravi2f73d972022-01-20 00:01:04 -0600656
657# Flag to apply erratum 2017096 workaround during reset. This erratum applies
658# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
659# r2p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000660CPU_FLAG_LIST += ERRATA_X2_2017096
johpow0115f10bd2021-12-01 17:40:39 -0600661
Bipin Ravi9ad54782022-01-20 00:42:05 -0600662# Flag to apply erratum 2081180 workaround during reset. This erratum applies
663# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
664# r2p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000665CPU_FLAG_LIST += ERRATA_X2_2081180
Bipin Ravi9ad54782022-01-20 00:42:05 -0600666
Bipin Ravi78b72082022-02-06 01:29:31 -0600667# Flag to apply erratum 2216384 workaround during reset. This erratum applies
668# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
669# r2p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000670CPU_FLAG_LIST += ERRATA_X2_2216384
Bipin Ravi78b72082022-02-06 01:29:31 -0600671
Bipin Ravic6b65212022-03-08 10:37:43 -0600672# Flag to apply erratum 2147715 workaround during reset. This erratum applies
673# only to revision r2p0 of the Cortex-X2 cpu, it is fixed in r2p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000674CPU_FLAG_LIST += ERRATA_X2_2147715
Bipin Ravic6b65212022-03-08 10:37:43 -0600675
Bipin Ravi7dccf8f2022-12-22 14:19:59 -0600676# Flag to apply erratum 2282622 workaround during reset. This erratum applies
677# to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still
678# open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000679CPU_FLAG_LIST += ERRATA_X2_2282622
Bipin Ravi7dccf8f2022-12-22 14:19:59 -0600680
Bipin Ravi4e315c32022-07-12 17:13:01 -0500681# Flag to apply erratum 2371105 workaround during reset. This erratum applies
682# to revision r0p0, r1p0 and r2p0 of the Cortex-X2 cpu and is fixed in r2p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000683CPU_FLAG_LIST += ERRATA_X2_2371105
Bipin Ravi4e315c32022-07-12 17:13:01 -0500684
Bipin Ravi86839eb2022-12-07 13:54:02 -0600685# Flag to apply erratum 2768515 workaround during power down. This erratum
686# applies to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is
687# still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000688CPU_FLAG_LIST += ERRATA_X2_2768515
Bipin Ravi86839eb2022-12-07 13:54:02 -0600689
Boyan Karatotev6559dbd2022-10-03 14:18:28 +0100690# Flag to apply erratum 2313909 workaround on powerdown. This erratum applies
691# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000692CPU_FLAG_LIST += ERRATA_X3_2313909
Boyan Karatotev6559dbd2022-10-03 14:18:28 +0100693
Harrison Mutai82dd5ac2022-11-11 14:09:55 +0000694# Flag to apply erratum 2615812 workaround on powerdown. This erratum applies
695# to revisions r0p0, r1p0, r1p1 of the Cortex-X3 cpu, it is still open.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000696CPU_FLAG_LIST += ERRATA_X3_2615812
Harrison Mutai82dd5ac2022-11-11 14:09:55 +0000697
johpow01de7b5242022-01-04 16:15:18 -0600698# Flag to apply erratum 1922240 workaround during reset. This erratum applies
699# to revision r0p0 of the Cortex-A510 cpu and is fixed in r0p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000700CPU_FLAG_LIST += ERRATA_A510_1922240
johpow01de7b5242022-01-04 16:15:18 -0600701
johpow0149f60dd2022-01-06 14:54:49 -0600702# Flag to apply erratum 2288014 workaround during reset. This erratum applies
703# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0 of the Cortex-A510 cpu and is
704# fixed in r1p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000705CPU_FLAG_LIST += ERRATA_A510_2288014
johpow0149f60dd2022-01-06 14:54:49 -0600706
johpow018276f252022-01-07 17:12:31 -0600707# Flag to apply erratum 2042739 workaround during reset. This erratum applies
708# to revisions r0p0, r0p1 and r0p2 of the Cortex-A510 cpu and is fixed in r0p3.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000709CPU_FLAG_LIST += ERRATA_A510_2042739
johpow018276f252022-01-07 17:12:31 -0600710
johpow015a993002022-01-11 17:54:41 -0600711# Flag to apply erratum 2041909 workaround during reset. This erratum applies
712# to revision r0p2 of the Cortex-A510 cpu and is fixed in r0p3. The issue is
713# present in r0p0 and r0p1 but there is no workaround for those revisions.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000714CPU_FLAG_LIST += ERRATA_A510_2041909
johpow015a993002022-01-11 17:54:41 -0600715
johpow013ba9cb22022-02-13 21:00:10 -0600716# Flag to apply erratum 2250311 workaround during reset. This erratum applies
717# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000718CPU_FLAG_LIST += ERRATA_A510_2250311
johpow013ba9cb22022-02-13 21:00:10 -0600719
johpow013ead2952022-02-14 20:19:08 -0600720# Flag to apply erratum 2218950 workaround during reset. This erratum applies
721# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000722CPU_FLAG_LIST += ERRATA_A510_2218950
johpow013ead2952022-02-14 20:19:08 -0600723
johpow01ac55c012022-02-15 22:55:22 -0600724# Flag to apply erratum 2172148 workaround during reset. This erratum applies
725# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000726CPU_FLAG_LIST += ERRATA_A510_2172148
johpow01ac55c012022-02-15 22:55:22 -0600727
Akram Ahmada85254e2022-07-21 14:01:33 +0100728# Flag to apply erratum 2347730 workaround during reset. This erratum applies
729# to revisions r0p0, r0p1, r0p2, r0p3, r1p0 and r1p1 of the Cortex-A510 CPU,
730# and is fixed in r1p2.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000731CPU_FLAG_LIST += ERRATA_A510_2347730
Akram Ahmada85254e2022-07-21 14:01:33 +0100732
Akram Ahmad60accba2022-07-22 16:20:44 +0100733# Flag to apply erratum 2371937 workaround during reset. This erratum applies
734# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000735CPU_FLAG_LIST += ERRATA_A510_2371937
Akram Ahmad60accba2022-07-22 16:20:44 +0100736
Akram Ahmad89034d62022-09-21 13:59:56 +0100737# Flag to apply erratum 2666669 workaround during reset. This erratum applies
738# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000739CPU_FLAG_LIST += ERRATA_A510_2666669
Akram Ahmad89034d62022-09-21 13:59:56 +0100740
Harrison Mutaie5249fe2022-12-09 12:14:25 +0000741# Flag to apply erratum 2684597 workaround during powerdown. This erratum
742# applies to revision r0p0, r0p1, r0p2, r0p3, r1p0, r1p1 and r1p2 of the
743# Cortex-A510 cpu and is fixed in r1p3.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000744CPU_FLAG_LIST += ERRATA_A510_2684597
Harrison Mutaie5249fe2022-12-09 12:14:25 +0000745
Louis Mayencourt4498b152019-04-09 16:29:01 +0100746# Flag to apply DSU erratum 798953. This erratum applies to DSUs revision r0p0.
747# Applying the workaround results in higher DSU power consumption on idle.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000748CPU_FLAG_LIST += ERRATA_DSU_798953
Louis Mayencourt4498b152019-04-09 16:29:01 +0100749
John Tsichritzis4daa1de2018-07-23 09:11:59 +0100750# Flag to apply DSU erratum 936184. This erratum applies to DSUs containing
751# the ACP interface and revision < r2p0. Applying the workaround results in
752# higher DSU power consumption on idle.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000753CPU_FLAG_LIST += ERRATA_DSU_936184
John Tsichritzis4daa1de2018-07-23 09:11:59 +0100754
Bipin Raviaf40d692021-12-22 14:35:21 -0600755# Flag to apply DSU erratum 2313941. This erratum applies to DSUs revisions
756# r0p0, r1p0, r2p0, r2p1, r3p0, r3p1 and is still open. Applying the workaround
757# results in higher DSU power consumption on idle.
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000758CPU_FLAG_LIST += ERRATA_DSU_2313941
Douglas Raillardd56fb042017-06-19 15:38:02 +0100759
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000760ifneq (${DYNAMIC_WORKAROUND_CVE_2018_3639},0)
761 ifeq (${WORKAROUND_CVE_2018_3639},0)
762 $(error "Error: WORKAROUND_CVE_2018_3639 must be 1 if DYNAMIC_WORKAROUND_CVE_2018_3639 is 1")
763 endif
764endif
John Tsichritzis4daa1de2018-07-23 09:11:59 +0100765
Boyan Karatotevb4f25db2022-11-17 12:01:29 +0000766# process all flags
767$(eval $(call default_zeros, $(CPU_FLAG_LIST)))
768$(eval $(call add_defines, $(CPU_FLAG_LIST)))
769$(eval $(call assert_booleans, $(CPU_FLAG_LIST)))
Bipin Raviaf40d692021-12-22 14:35:21 -0600770
Douglas Raillardd56fb042017-06-19 15:38:02 +0100771# Errata build flags
772ifneq (${ERRATA_A53_843419},0)
Douglas Raillardd0c82732017-06-22 14:44:48 +0100773TF_LDFLAGS_aarch64 += --fix-cortex-a53-843419
Douglas Raillardd56fb042017-06-19 15:38:02 +0100774endif
775
776ifneq (${ERRATA_A53_835769},0)
777TF_CFLAGS_aarch64 += -mfix-cortex-a53-835769
Douglas Raillardd0c82732017-06-22 14:44:48 +0100778TF_LDFLAGS_aarch64 += --fix-cortex-a53-835769
Douglas Raillardd56fb042017-06-19 15:38:02 +0100779endif
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100780
781ifneq ($(filter 1,${ERRATA_A53_1530924} ${ERRATA_A55_1530923} \
782 ${ERRATA_A57_1319537} ${ERRATA_A72_1319367} ${ERRATA_A76_1165522}),)
783ERRATA_SPECULATIVE_AT := 1
784else
785ERRATA_SPECULATIVE_AT := 0
786endif