15541bb3fSSoby Mathew# 2f9c6301dSBipin Ravi# Copyright (c) 2014-2023, Arm Limited and Contributors. All rights reserved. 392e87084SVarun Wadekar# Copyright (c) 2020-2022, NVIDIA Corporation. All rights reserved. 45541bb3fSSoby Mathew# 582cb2c1aSdp-arm# SPDX-License-Identifier: BSD-3-Clause 65541bb3fSSoby Mathew# 75541bb3fSSoby Mathew 8*e444763dSBoyan Karatotevinclude ${MAKE_HELPERS_DIRECTORY}$/build_macros.mk 9*e444763dSBoyan Karatotev 105541bb3fSSoby Mathew# Cortex A57 specific optimisation to skip L1 cache flush when 115541bb3fSSoby Mathew# cluster is powered down. 12*e444763dSBoyan KaratotevCPU_FLAG_LIST += SKIP_A57_L1_FLUSH_PWR_DWN 135541bb3fSSoby Mathew 1454035fc4SSandrine Bailleux# Flag to disable the cache non-temporal hint. 1554035fc4SSandrine Bailleux# It is enabled by default. 1654035fc4SSandrine BailleuxA53_DISABLE_NON_TEMPORAL_HINT ?=1 17*e444763dSBoyan KaratotevCPU_FLAG_LIST += A53_DISABLE_NON_TEMPORAL_HINT 1854035fc4SSandrine Bailleux 1954035fc4SSandrine Bailleux# Flag to disable the cache non-temporal hint. 2054035fc4SSandrine Bailleux# It is enabled by default. 2154035fc4SSandrine BailleuxA57_DISABLE_NON_TEMPORAL_HINT ?=1 22*e444763dSBoyan KaratotevCPU_FLAG_LIST += A57_DISABLE_NON_TEMPORAL_HINT 2354035fc4SSandrine Bailleux 24cd0ea184SVarun Wadekar# Flag to enable higher performance non-cacheable load forwarding. 25cd0ea184SVarun Wadekar# It is disabled by default. 26*e444763dSBoyan KaratotevCPU_FLAG_LIST += A57_ENABLE_NONCACHEABLE_LOAD_FWD 27cd0ea184SVarun Wadekar 28f62ad322SDimitris PapastamosWORKAROUND_CVE_2017_5715 ?=1 29*e444763dSBoyan KaratotevCPU_FLAG_LIST += WORKAROUND_CVE_2017_5715 30b8a25bbbSDimitris PapastamosWORKAROUND_CVE_2018_3639 ?=1 31*e444763dSBoyan KaratotevCPU_FLAG_LIST += WORKAROUND_CVE_2018_3639 32*e444763dSBoyan KaratotevCPU_FLAG_LIST += DYNAMIC_WORKAROUND_CVE_2018_3639 331fe4a9d1SBipin RaviWORKAROUND_CVE_2022_23960 ?=1 34*e444763dSBoyan KaratotevCPU_FLAG_LIST += WORKAROUND_CVE_2022_23960 35f62ad322SDimitris Papastamos 3625bbbd2dSJavier Almansa Sobrino# Flags to indicate internal or external Last level cache 37f2d6b4eeSManish Pandey# By default internal 38*e444763dSBoyan KaratotevCPU_FLAG_LIST += NEOVERSE_Nx_EXTERNAL_LLC 39f2d6b4eeSManish Pandey 40*e444763dSBoyan Karatotev# CPU Errata Build flags. 41*e444763dSBoyan Karatotev# These should be enabled by the platform if the erratum workaround needs to be 42*e444763dSBoyan Karatotev# applied. 43cd0ea184SVarun Wadekar 44*e444763dSBoyan Karatotev# Flag to apply erratum 794073 workaround when disabling mmu. 45*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A9_794073 465541bb3fSSoby Mathew 47*e444763dSBoyan Karatotev# Flag to apply erratum 816470 workaround during power down. This erratum 48*e444763dSBoyan Karatotev# applies only to revision >= r3p0 of the Cortex A15 cpu. 49*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A15_816470 5054035fc4SSandrine Bailleux 51*e444763dSBoyan Karatotev# Flag to apply erratum 827671 workaround during reset. This erratum applies 52*e444763dSBoyan Karatotev# only to revision >= r3p0 of the Cortex A15 cpu. 53*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A15_827671 5454035fc4SSandrine Bailleux 55*e444763dSBoyan Karatotev# Flag to apply erratum 852421 workaround during reset. This erratum applies 56*e444763dSBoyan Karatotev# only to revision <= r1p2 of the Cortex A17 cpu. 57*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A17_852421 585541bb3fSSoby Mathew 59*e444763dSBoyan Karatotev# Flag to apply erratum 852423 workaround during reset. This erratum applies 60*e444763dSBoyan Karatotev# only to revision <= r1p2 of the Cortex A17 cpu. 61*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A17_852423 62b8a25bbbSDimitris Papastamos 63*e444763dSBoyan Karatotev# Flag to apply erratum 855472 workaround during reset. This erratum applies 64*e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A35 cpu. 65*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A35_855472 66fe007b2eSDimitris Papastamos 67*e444763dSBoyan Karatotev# Flag to apply erratum 819472 workaround during reset. This erratum applies 68*e444763dSBoyan Karatotev# only to revision <= r0p1 of the Cortex A53 cpu. 69*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_819472 701fe4a9d1SBipin Ravi 71*e444763dSBoyan Karatotev# Flag to apply erratum 824069 workaround during reset. This erratum applies 72*e444763dSBoyan Karatotev# only to revision <= r0p2 of the Cortex A53 cpu. 73*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_824069 74*e444763dSBoyan Karatotev 75*e444763dSBoyan Karatotev# Flag to apply erratum 826319 workaround during reset. This erratum applies 76*e444763dSBoyan Karatotev# only to revision <= r0p2 of the Cortex A53 cpu. 77*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_826319 78*e444763dSBoyan Karatotev 79*e444763dSBoyan Karatotev# Flag to apply erratum 827319 workaround during reset. This erratum applies 80*e444763dSBoyan Karatotev# only to revision <= r0p2 of the Cortex A53 cpu. 81*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_827319 82*e444763dSBoyan Karatotev 83*e444763dSBoyan Karatotev# Flag to apply erratum 835769 workaround at compile and link time. This 84*e444763dSBoyan Karatotev# erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this 85*e444763dSBoyan Karatotev# workaround can lead the linker to create "*.stub" sections. 86*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_835769 87*e444763dSBoyan Karatotev 88*e444763dSBoyan Karatotev# Flag to apply erratum 836870 workaround during reset. This erratum applies 89*e444763dSBoyan Karatotev# only to revision <= r0p3 of the Cortex A53 cpu. From r0p4 and onwards, this 90*e444763dSBoyan Karatotev# erratum workaround is enabled by default in hardware. 91*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_836870 92*e444763dSBoyan Karatotev 93*e444763dSBoyan Karatotev# Flag to apply erratum 843419 workaround at link time. 94*e444763dSBoyan Karatotev# This erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this 95*e444763dSBoyan Karatotev# workaround could lead the linker to emit "*.stub" sections which are 4kB 96*e444763dSBoyan Karatotev# aligned. 97*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_843419 98*e444763dSBoyan Karatotev 99*e444763dSBoyan Karatotev# Flag to apply errata 855873 during reset. This errata applies to all 100*e444763dSBoyan Karatotev# revisions of the Cortex A53 CPU, but this firmware workaround only works 101*e444763dSBoyan Karatotev# for revisions r0p3 and higher. Earlier revisions are taken care 102*e444763dSBoyan Karatotev# of by the rich OS. 103*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_855873 104*e444763dSBoyan Karatotev 105*e444763dSBoyan Karatotev# Flag to apply erratum 1530924 workaround during reset. This erratum applies 106*e444763dSBoyan Karatotev# to all revisions of Cortex A53 cpu. 107*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A53_1530924 108*e444763dSBoyan Karatotev 109*e444763dSBoyan Karatotev# Flag to apply erratum 768277 workaround during reset. This erratum applies 110*e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A55 cpu. 111*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A55_768277 112*e444763dSBoyan Karatotev 113*e444763dSBoyan Karatotev# Flag to apply erratum 778703 workaround during reset. This erratum applies 114*e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A55 cpu. 115*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A55_778703 116*e444763dSBoyan Karatotev 117*e444763dSBoyan Karatotev# Flag to apply erratum 798797 workaround during reset. This erratum applies 118*e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A55 cpu. 119*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A55_798797 120*e444763dSBoyan Karatotev 121*e444763dSBoyan Karatotev# Flag to apply erratum 846532 workaround during reset. This erratum applies 122*e444763dSBoyan Karatotev# only to revision <= r0p1 of the Cortex A55 cpu. 123*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A55_846532 124*e444763dSBoyan Karatotev 125*e444763dSBoyan Karatotev# Flag to apply erratum 903758 workaround during reset. This erratum applies 126*e444763dSBoyan Karatotev# only to revision <= r0p1 of the Cortex A55 cpu. 127*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A55_903758 128*e444763dSBoyan Karatotev 129*e444763dSBoyan Karatotev# Flag to apply erratum 1221012 workaround during reset. This erratum applies 130*e444763dSBoyan Karatotev# only to revision <= r1p0 of the Cortex A55 cpu. 131*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A55_1221012 132*e444763dSBoyan Karatotev 133*e444763dSBoyan Karatotev# Flag to apply erratum 1530923 workaround during reset. This erratum applies 134*e444763dSBoyan Karatotev# to all revisions of Cortex A55 cpu. 135*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A55_1530923 136*e444763dSBoyan Karatotev 137*e444763dSBoyan Karatotev# Flag to apply erratum 806969 workaround during reset. This erratum applies 138*e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A57 cpu. 139*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_806969 140*e444763dSBoyan Karatotev 141*e444763dSBoyan Karatotev# Flag to apply erratum 813419 workaround during reset. This erratum applies 142*e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A57 cpu. 143*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_813419 144*e444763dSBoyan Karatotev 145*e444763dSBoyan Karatotev# Flag to apply erratum 813420 workaround during reset. This erratum applies 146*e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A57 cpu. 147*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_813420 148*e444763dSBoyan Karatotev 149*e444763dSBoyan Karatotev# Flag to apply erratum 814670 workaround during reset. This erratum applies 150*e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A57 cpu. 151*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_814670 152*e444763dSBoyan Karatotev 153*e444763dSBoyan Karatotev# Flag to apply erratum 817169 workaround during power down. This erratum 154*e444763dSBoyan Karatotev# applies only to revision <= r0p1 of the Cortex A57 cpu. 155*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_817169 156*e444763dSBoyan Karatotev 157*e444763dSBoyan Karatotev# Flag to apply erratum 826974 workaround during reset. This erratum applies 158*e444763dSBoyan Karatotev# only to revision <= r1p1 of the Cortex A57 cpu. 159*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_826974 160*e444763dSBoyan Karatotev 161*e444763dSBoyan Karatotev# Flag to apply erratum 826977 workaround during reset. This erratum applies 162*e444763dSBoyan Karatotev# only to revision <= r1p1 of the Cortex A57 cpu. 163*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_826977 164*e444763dSBoyan Karatotev 165*e444763dSBoyan Karatotev# Flag to apply erratum 828024 workaround during reset. This erratum applies 166*e444763dSBoyan Karatotev# only to revision <= r1p1 of the Cortex A57 cpu. 167*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_828024 168*e444763dSBoyan Karatotev 169*e444763dSBoyan Karatotev# Flag to apply erratum 829520 workaround during reset. This erratum applies 170*e444763dSBoyan Karatotev# only to revision <= r1p2 of the Cortex A57 cpu. 171*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_829520 172*e444763dSBoyan Karatotev 173*e444763dSBoyan Karatotev# Flag to apply erratum 833471 workaround during reset. This erratum applies 174*e444763dSBoyan Karatotev# only to revision <= r1p2 of the Cortex A57 cpu. 175*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_833471 176*e444763dSBoyan Karatotev 177*e444763dSBoyan Karatotev# Flag to apply erratum 855972 workaround during reset. This erratum applies 178*e444763dSBoyan Karatotev# only to revision <= r1p3 of the Cortex A57 cpu. 179*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_859972 180*e444763dSBoyan Karatotev 181*e444763dSBoyan Karatotev# Flag to apply erratum 1319537 workaround during reset. This erratum applies 182*e444763dSBoyan Karatotev# to all revisions of Cortex A57 cpu. 183*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A57_1319537 184*e444763dSBoyan Karatotev 185*e444763dSBoyan Karatotev# Flag to apply erratum 855971 workaround during reset. This erratum applies 186*e444763dSBoyan Karatotev# only to revision <= r0p3 of the Cortex A72 cpu. 187*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A72_859971 188*e444763dSBoyan Karatotev 189*e444763dSBoyan Karatotev# Flag to apply erratum 1319367 workaround during reset. This erratum applies 190*e444763dSBoyan Karatotev# to all revisions of Cortex A72 cpu. 191*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A72_1319367 192*e444763dSBoyan Karatotev 193*e444763dSBoyan Karatotev# Flag to apply erratum 852427 workaround during reset. This erratum applies 194*e444763dSBoyan Karatotev# only to revision r0p0 of the Cortex A73 cpu. 195*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A73_852427 196*e444763dSBoyan Karatotev 197*e444763dSBoyan Karatotev# Flag to apply erratum 855423 workaround during reset. This erratum applies 198*e444763dSBoyan Karatotev# only to revision <= r0p1 of the Cortex A73 cpu. 199*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A73_855423 200*e444763dSBoyan Karatotev 201*e444763dSBoyan Karatotev# Flag to apply erratum 764081 workaround during reset. This erratum applies 202*e444763dSBoyan Karatotev# only to revision <= r0p0 of the Cortex A75 cpu. 203*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A75_764081 204*e444763dSBoyan Karatotev 205*e444763dSBoyan Karatotev# Flag to apply erratum 790748 workaround during reset. This erratum applies 206*e444763dSBoyan Karatotev# only to revision <= r0p0 of the Cortex A75 cpu. 207*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A75_790748 208*e444763dSBoyan Karatotev 209*e444763dSBoyan Karatotev# Flag to apply erratum 1073348 workaround during reset. This erratum applies 210*e444763dSBoyan Karatotev# only to revision <= r1p0 of the Cortex A76 cpu. 211*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1073348 212*e444763dSBoyan Karatotev 213*e444763dSBoyan Karatotev# Flag to apply erratum 1130799 workaround during reset. This erratum applies 214*e444763dSBoyan Karatotev# only to revision <= r2p0 of the Cortex A76 cpu. 215*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1130799 216*e444763dSBoyan Karatotev 217*e444763dSBoyan Karatotev# Flag to apply erratum 1220197 workaround during reset. This erratum applies 218*e444763dSBoyan Karatotev# only to revision <= r2p0 of the Cortex A76 cpu. 219*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1220197 220*e444763dSBoyan Karatotev 221*e444763dSBoyan Karatotev# Flag to apply erratum 1257314 workaround during reset. This erratum applies 222*e444763dSBoyan Karatotev# only to revision <= r3p0 of the Cortex A76 cpu. 223*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1257314 224*e444763dSBoyan Karatotev 225*e444763dSBoyan Karatotev# Flag to apply erratum 1262606 workaround during reset. This erratum applies 226*e444763dSBoyan Karatotev# only to revision <= r3p0 of the Cortex A76 cpu. 227*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1262606 228*e444763dSBoyan Karatotev 229*e444763dSBoyan Karatotev# Flag to apply erratum 1262888 workaround during reset. This erratum applies 230*e444763dSBoyan Karatotev# only to revision <= r3p0 of the Cortex A76 cpu. 231*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1262888 232*e444763dSBoyan Karatotev 233*e444763dSBoyan Karatotev# Flag to apply erratum 1275112 workaround during reset. This erratum applies 234*e444763dSBoyan Karatotev# only to revision <= r3p0 of the Cortex A76 cpu. 235*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1275112 236*e444763dSBoyan Karatotev 237*e444763dSBoyan Karatotev# Flag to apply erratum 1286807 workaround during reset. This erratum applies 238*e444763dSBoyan Karatotev# only to revision <= r3p0 of the Cortex A76 cpu. 239*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1286807 240*e444763dSBoyan Karatotev 241*e444763dSBoyan Karatotev# Flag to apply erratum 1791580 workaround during reset. This erratum applies 242*e444763dSBoyan Karatotev# only to revision <= r4p0 of the Cortex A76 cpu. 243*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1791580 244*e444763dSBoyan Karatotev 245*e444763dSBoyan Karatotev# Flag to apply erratum 1165522 workaround during reset. This erratum applies 246*e444763dSBoyan Karatotev# to all revisions of Cortex A76 cpu. 247*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1165522 248*e444763dSBoyan Karatotev 249*e444763dSBoyan Karatotev# Flag to apply erratum 1868343 workaround during reset. This erratum applies 250*e444763dSBoyan Karatotev# only to revision <= r4p0 of the Cortex A76 cpu. 251*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1868343 252*e444763dSBoyan Karatotev 253*e444763dSBoyan Karatotev# Flag to apply erratum 1946160 workaround during reset. This erratum applies 254*e444763dSBoyan Karatotev# only to revisions r3p0 - r4p1 of the Cortex A76 cpu. 255*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_1946160 256*e444763dSBoyan Karatotev 257*e444763dSBoyan Karatotev# Flag to apply erratum 2743102 workaround during powerdown. This erratum 258*e444763dSBoyan Karatotev# applies to all revisions <= r4p1 of the Cortex A76 cpu and is still open. 259*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A76_2743102 260*e444763dSBoyan Karatotev 261*e444763dSBoyan Karatotev# Flag to apply erratum 1508412 workaround during reset. This erratum applies 262*e444763dSBoyan Karatotev# only to revision <= r1p0 of the Cortex A77 cpu. 263*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A77_1508412 264*e444763dSBoyan Karatotev 265*e444763dSBoyan Karatotev# Flag to apply erratum 1925769 workaround during reset. This erratum applies 266*e444763dSBoyan Karatotev# only to revision <= r1p1 of the Cortex A77 cpu. 267*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A77_1925769 268*e444763dSBoyan Karatotev 269*e444763dSBoyan Karatotev# Flag to apply erratum 1946167 workaround during reset. This erratum applies 270*e444763dSBoyan Karatotev# only to revision <= r1p1 of the Cortex A77 cpu. 271*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A77_1946167 272*e444763dSBoyan Karatotev 273*e444763dSBoyan Karatotev# Flag to apply erratum 1791578 workaround during reset. This erratum applies 274*e444763dSBoyan Karatotev# to revisions r0p0, r1p0, and r1p1, it is still open. 275*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A77_1791578 276*e444763dSBoyan Karatotev 277*e444763dSBoyan Karatotev# Flag to apply erratum 2356587 workaround during reset. This erratum applies 278*e444763dSBoyan Karatotev# to revisions r0p0, r1p0, and r1p1, it is still open. 279*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A77_2356587 280*e444763dSBoyan Karatotev 281*e444763dSBoyan Karatotev# Flag to apply erratum 1800714 workaround during reset. This erratum applies 282*e444763dSBoyan Karatotev# to revisions <= r1p1 of the Cortex A77 cpu. 283*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A77_1800714 284*e444763dSBoyan Karatotev 285*e444763dSBoyan Karatotev# Flag to apply erratum 2743100 workaround during power down. This erratum 286*e444763dSBoyan Karatotev# applies to revisions r0p0, r1p0, and r1p1, it is still open. 287*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A77_2743100 288*e444763dSBoyan Karatotev 289*e444763dSBoyan Karatotev# Flag to apply erratum 1688305 workaround during reset. This erratum applies 290*e444763dSBoyan Karatotev# to revisions r0p0 - r1p0 of the A78 cpu. 291*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_1688305 292*e444763dSBoyan Karatotev 293*e444763dSBoyan Karatotev# Flag to apply erratum 1941498 workaround during reset. This erratum applies 294*e444763dSBoyan Karatotev# to revisions r0p0, r1p0, and r1p1 of the A78 cpu. 295*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_1941498 296*e444763dSBoyan Karatotev 297*e444763dSBoyan Karatotev# Flag to apply erratum 1951500 workaround during reset. This erratum applies 298*e444763dSBoyan Karatotev# to revisions r1p0 and r1p1 of the A78 cpu. The issue is present in r0p0 as 299*e444763dSBoyan Karatotev# well but there is no workaround for that revision. 300*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_1951500 301*e444763dSBoyan Karatotev 302*e444763dSBoyan Karatotev# Flag to apply erratum 1821534 workaround during reset. This erratum applies 303*e444763dSBoyan Karatotev# to revisions r0p0 and r1p0 of the A78 cpu. 304*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_1821534 305*e444763dSBoyan Karatotev 306*e444763dSBoyan Karatotev# Flag to apply erratum 1952683 workaround during reset. This erratum applies 307*e444763dSBoyan Karatotev# to revision r0p0 of the A78 cpu and was fixed in the revision r1p0. 308*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_1952683 309*e444763dSBoyan Karatotev 310*e444763dSBoyan Karatotev# Flag to apply erratum 2132060 workaround during reset. This erratum applies 311*e444763dSBoyan Karatotev# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open. 312*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_2132060 313*e444763dSBoyan Karatotev 314*e444763dSBoyan Karatotev# Flag to apply erratum 2242635 workaround during reset. This erratum applies 315*e444763dSBoyan Karatotev# to revisions r1p0, r1p1, and r1p2 of the A78 cpu and is open. The issue is 316*e444763dSBoyan Karatotev# present in r0p0 as well but there is no workaround for that revision. 317*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_2242635 318*e444763dSBoyan Karatotev 319*e444763dSBoyan Karatotev# Flag to apply erratum 2376745 workaround during reset. This erratum applies 320*e444763dSBoyan Karatotev# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open. 321*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_2376745 322*e444763dSBoyan Karatotev 323*e444763dSBoyan Karatotev# Flag to apply erratum 2395406 workaround during reset. This erratum applies 324*e444763dSBoyan Karatotev# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open. 325*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_2395406 326*e444763dSBoyan Karatotev 327*e444763dSBoyan Karatotev# Flag to apply erratum 2742426 workaround during reset. This erratum 328*e444763dSBoyan Karatotev# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still 329*e444763dSBoyan Karatotev# open. 330*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_2742426 331*e444763dSBoyan Karatotev 332*e444763dSBoyan Karatotev# Flag to apply erratum 2772019 workaround during powerdown. This erratum 333*e444763dSBoyan Karatotev# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still 334*e444763dSBoyan Karatotev# open. 335*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_2772019 336*e444763dSBoyan Karatotev 337*e444763dSBoyan Karatotev# Flag to apply erratum 2779479 workaround during reset. This erratum applies 338*e444763dSBoyan Karatotev# to revision r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still open. 339*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_2779479 340*e444763dSBoyan Karatotev 341*e444763dSBoyan Karatotev# Flag to apply erratum 1941500 workaround during reset. This erratum applies 342*e444763dSBoyan Karatotev# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open. 343*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_AE_1941500 344*e444763dSBoyan Karatotev 345*e444763dSBoyan Karatotev# Flag to apply erratum 1951502 workaround during reset. This erratum applies 346*e444763dSBoyan Karatotev# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open. 347*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_AE_1951502 348*e444763dSBoyan Karatotev 349*e444763dSBoyan Karatotev# Flag to apply erratum 2376748 workaround during reset. This erratum applies 350*e444763dSBoyan Karatotev# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open. 351*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_AE_2376748 352*e444763dSBoyan Karatotev 353*e444763dSBoyan Karatotev# Flag to apply erratum 2395408 workaround during reset. This erratum applies 354*e444763dSBoyan Karatotev# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open. 355*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78_AE_2395408 356*e444763dSBoyan Karatotev 357*e444763dSBoyan Karatotev# Flag to apply erratum 2132064 workaround during reset. This erratum applies 358*e444763dSBoyan Karatotev# to revisions r0p1 and r0p2 of the A78C cpu. It is still open. 359*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78C_2132064 360*e444763dSBoyan Karatotev 361*e444763dSBoyan Karatotev# Flag to apply erratum 2242638 workaround during reset. This erratum applies 362*e444763dSBoyan Karatotev# to revisions r0p1 and r0p2 of the A78C cpu. It is still open. 363*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78C_2242638 364*e444763dSBoyan Karatotev 365*e444763dSBoyan Karatotev# Flag to apply erratum 2376749 workaround during reset. This erratum applies 366*e444763dSBoyan Karatotev# to revisions r0p1 and r0p2 of the A78C cpu. It is still open. 367*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78C_2376749 368*e444763dSBoyan Karatotev 369*e444763dSBoyan Karatotev# Flag to apply erratum 2395411 workaround during reset. This erratum applies 370*e444763dSBoyan Karatotev# to revisions r0p1 and r0p2 of the A78C cpu. It is still open. 371*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78C_2395411 372*e444763dSBoyan Karatotev 373*e444763dSBoyan Karatotev# Flag to apply erratum 2772121 workaround during powerdown. This erratum 374*e444763dSBoyan Karatotev# applies to revisions r0p0, r0p1 and r0p2 of the A78C cpu. It is still open. 375*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78C_2772121 376*e444763dSBoyan Karatotev 377*e444763dSBoyan Karatotev# Flag to apply erratum 2779484 workaround during reset. This erratum 378*e444763dSBoyan Karatotev# applies to revisions r0p1 and r0p2 of the A78C cpu. It is still open. 379*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A78C_2779484 380*e444763dSBoyan Karatotev 381*e444763dSBoyan Karatotev# Flag to apply erratum 1821534 workaround during reset. This erratum applies 382*e444763dSBoyan Karatotev# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1. 383*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X1_1821534 384*e444763dSBoyan Karatotev 385*e444763dSBoyan Karatotev# Flag to apply erratum 1688305 workaround during reset. This erratum applies 386*e444763dSBoyan Karatotev# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1. 387*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X1_1688305 388*e444763dSBoyan Karatotev 389*e444763dSBoyan Karatotev# Flag to apply erratum 1827429 workaround during reset. This erratum applies 390*e444763dSBoyan Karatotev# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1. 391*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X1_1827429 392*e444763dSBoyan Karatotev 393*e444763dSBoyan Karatotev# Flag to apply T32 CLREX workaround during reset. This erratum applies 394*e444763dSBoyan Karatotev# only to r0p0 and r1p0 of the Neoverse N1 cpu. 395*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1043202 396*e444763dSBoyan Karatotev 397*e444763dSBoyan Karatotev# Flag to apply erratum 1073348 workaround during reset. This erratum applies 398*e444763dSBoyan Karatotev# only to revision r0p0 and r1p0 of the Neoverse N1 cpu. 399*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1073348 400*e444763dSBoyan Karatotev 401*e444763dSBoyan Karatotev# Flag to apply erratum 1130799 workaround during reset. This erratum applies 402*e444763dSBoyan Karatotev# only to revision <= r2p0 of the Neoverse N1 cpu. 403*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1130799 404*e444763dSBoyan Karatotev 405*e444763dSBoyan Karatotev# Flag to apply erratum 1165347 workaround during reset. This erratum applies 406*e444763dSBoyan Karatotev# only to revision <= r2p0 of the Neoverse N1 cpu. 407*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1165347 408*e444763dSBoyan Karatotev 409*e444763dSBoyan Karatotev# Flag to apply erratum 1207823 workaround during reset. This erratum applies 410*e444763dSBoyan Karatotev# only to revision <= r2p0 of the Neoverse N1 cpu. 411*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1207823 412*e444763dSBoyan Karatotev 413*e444763dSBoyan Karatotev# Flag to apply erratum 1220197 workaround during reset. This erratum applies 414*e444763dSBoyan Karatotev# only to revision <= r2p0 of the Neoverse N1 cpu. 415*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1220197 416*e444763dSBoyan Karatotev 417*e444763dSBoyan Karatotev# Flag to apply erratum 1257314 workaround during reset. This erratum applies 418*e444763dSBoyan Karatotev# only to revision <= r3p0 of the Neoverse N1 cpu. 419*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1257314 420*e444763dSBoyan Karatotev 421*e444763dSBoyan Karatotev# Flag to apply erratum 1262606 workaround during reset. This erratum applies 422*e444763dSBoyan Karatotev# only to revision <= r3p0 of the Neoverse N1 cpu. 423*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1262606 424*e444763dSBoyan Karatotev 425*e444763dSBoyan Karatotev# Flag to apply erratum 1262888 workaround during reset. This erratum applies 426*e444763dSBoyan Karatotev# only to revision <= r3p0 of the Neoverse N1 cpu. 427*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1262888 428*e444763dSBoyan Karatotev 429*e444763dSBoyan Karatotev# Flag to apply erratum 1275112 workaround during reset. This erratum applies 430*e444763dSBoyan Karatotev# only to revision <= r3p0 of the Neoverse N1 cpu. 431*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1275112 432*e444763dSBoyan Karatotev 433*e444763dSBoyan Karatotev# Flag to apply erratum 1315703 workaround during reset. This erratum applies 434*e444763dSBoyan Karatotev# to revisions before r3p1 of the Neoverse N1 cpu. 435*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1315703 436*e444763dSBoyan Karatotev 437*e444763dSBoyan Karatotev# Flag to apply erratum 1542419 workaround during reset. This erratum applies 438*e444763dSBoyan Karatotev# to revisions r3p0 - r4p0 of the Neoverse N1 cpu. 439*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1542419 440*e444763dSBoyan Karatotev 441*e444763dSBoyan Karatotev# Flag to apply erratum 1868343 workaround during reset. This erratum applies 442*e444763dSBoyan Karatotev# to revision <= r4p0 of the Neoverse N1 cpu. 443*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1868343 444*e444763dSBoyan Karatotev 445*e444763dSBoyan Karatotev# Flag to apply erratum 1946160 workaround during reset. This erratum applies 446*e444763dSBoyan Karatotev# to revisions r3p0, r3p1, r4p0, and r4p1 of the Neoverse N1 cpu. The issue 447*e444763dSBoyan Karatotev# exists in revisions r0p0, r1p0, and r2p0 as well but there is no workaround. 448*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_1946160 449*e444763dSBoyan Karatotev 450*e444763dSBoyan Karatotev# Flag to apply erratum 2743102 workaround during powerdown. This erratum 451*e444763dSBoyan Karatotev# applies to all revisions <= r4p1 of the Neoverse N1 cpu and is still open. 452*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N1_2743102 453*e444763dSBoyan Karatotev 454*e444763dSBoyan Karatotev# Flag to apply erratum 1618635 workaround during reset. This erratum applies 455*e444763dSBoyan Karatotev# to revision r0p0 of the Neoverse V1 cpu and was fixed in the revision r1p0. 456*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_1618635 457*e444763dSBoyan Karatotev 458*e444763dSBoyan Karatotev# Flag to apply erratum 1774420 workaround during reset. This erratum applies 459*e444763dSBoyan Karatotev# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1. 460*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_1774420 461*e444763dSBoyan Karatotev 462*e444763dSBoyan Karatotev# Flag to apply erratum 1791573 workaround during reset. This erratum applies 463*e444763dSBoyan Karatotev# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1. 464*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_1791573 465*e444763dSBoyan Karatotev 466*e444763dSBoyan Karatotev# Flag to apply erratum 1852267 workaround during reset. This erratum applies 467*e444763dSBoyan Karatotev# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1. 468*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_1852267 469*e444763dSBoyan Karatotev 470*e444763dSBoyan Karatotev# Flag to apply erratum 1925756 workaround during reset. This needs to be 471*e444763dSBoyan Karatotev# enabled for r0p0, r1p0, and r1p1 of the Neoverse V1 core, it is still open. 472*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_1925756 473*e444763dSBoyan Karatotev 474*e444763dSBoyan Karatotev# Flag to apply erratum 1940577 workaround during reset. This erratum applies 475*e444763dSBoyan Karatotev# to revisions r1p0 and r1p1 of the Neoverse V1 cpu. 476*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_1940577 477*e444763dSBoyan Karatotev 478*e444763dSBoyan Karatotev# Flag to apply erratum 1966096 workaround during reset. This erratum applies 479*e444763dSBoyan Karatotev# to revisions r1p0 and r1p1 of the Neoverse V1 CPU and is open. This issue 480*e444763dSBoyan Karatotev# exists in r0p0 as well but there is no workaround for that revision. 481*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_1966096 482*e444763dSBoyan Karatotev 483*e444763dSBoyan Karatotev# Flag to apply erratum 2139242 workaround during reset. This erratum applies 484*e444763dSBoyan Karatotev# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open. 485*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_2139242 486*e444763dSBoyan Karatotev 487*e444763dSBoyan Karatotev# Flag to apply erratum 2108267 workaround during reset. This erratum applies 488*e444763dSBoyan Karatotev# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open. 489*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_2108267 490*e444763dSBoyan Karatotev 491*e444763dSBoyan Karatotev# Flag to apply erratum 2216392 workaround during reset. This erratum applies 492*e444763dSBoyan Karatotev# to revisions r1p0 and r1p1 of the Neoverse V1 cpu and is still open. This 493*e444763dSBoyan Karatotev# issue exists in r0p0 as well but there is no workaround for that revision. 494*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_2216392 495*e444763dSBoyan Karatotev 496*e444763dSBoyan Karatotev# Flag to apply erratum 2294912 workaround during reset. This erratum applies 497*e444763dSBoyan Karatotev# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open. 498*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_2294912 499*e444763dSBoyan Karatotev 500*e444763dSBoyan Karatotev# Flag to apply erratum 2372203 workaround during reset. This erratum applies 501*e444763dSBoyan Karatotev# to revisions r0p0, r1p0 and r1p1 of the Neoverse V1 cpu and is still open. 502*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_2372203 503*e444763dSBoyan Karatotev 504*e444763dSBoyan Karatotev# Flag to apply erratum 2743093 workaround during powerdown. This erratum 505*e444763dSBoyan Karatotev# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the Neoverse V1 cpu and is 506*e444763dSBoyan Karatotev# still open. 507*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_2743093 508*e444763dSBoyan Karatotev 509*e444763dSBoyan Karatotev# Flag to apply erratum 2743233 workaround during powerdown. This erratum 510*e444763dSBoyan Karatotev# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the Neoverse V1 cpu and is 511*e444763dSBoyan Karatotev# still open. 512*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_2743233 513*e444763dSBoyan Karatotev 514*e444763dSBoyan Karatotev# Flag to apply erratum 2779461 workaround during powerdown. This erratum 515*e444763dSBoyan Karatotev# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the Neoverse V1 cpu and is 516*e444763dSBoyan Karatotev# still open. 517*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_V1_2779461 518*e444763dSBoyan Karatotev 519*e444763dSBoyan Karatotev# Flag to apply erratum 1987031 workaround during reset. This erratum applies 520*e444763dSBoyan Karatotev# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open. 521*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_1987031 522*e444763dSBoyan Karatotev 523*e444763dSBoyan Karatotev# Flag to apply erratum 2081180 workaround during reset. This erratum applies 524*e444763dSBoyan Karatotev# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open. 525*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2081180 526*e444763dSBoyan Karatotev 527*e444763dSBoyan Karatotev# Flag to apply erratum 2083908 workaround during reset. This erratum applies 528*e444763dSBoyan Karatotev# to revision r2p0 of the Cortex-A710 cpu and is still open. 529*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2083908 530*e444763dSBoyan Karatotev 531*e444763dSBoyan Karatotev# Flag to apply erratum 2058056 workaround during reset. This erratum applies 532*e444763dSBoyan Karatotev# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open. 533*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2058056 534*e444763dSBoyan Karatotev 535*e444763dSBoyan Karatotev# Flag to apply erratum 2055002 workaround during reset. This erratum applies 536*e444763dSBoyan Karatotev# to revision r1p0, r2p0 of the Cortex-A710 cpu and is still open. 537*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2055002 538*e444763dSBoyan Karatotev 539*e444763dSBoyan Karatotev# Flag to apply erratum 2017096 workaround during reset. This erratum applies 540*e444763dSBoyan Karatotev# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open. 541*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2017096 542*e444763dSBoyan Karatotev 543*e444763dSBoyan Karatotev# Flag to apply erratum 2267065 workaround during reset. This erratum applies 544*e444763dSBoyan Karatotev# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1. 545*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2267065 546*e444763dSBoyan Karatotev 547*e444763dSBoyan Karatotev# Flag to apply erratum 2136059 workaround during reset. This erratum applies 548*e444763dSBoyan Karatotev# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1. 549*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2136059 550*e444763dSBoyan Karatotev 551*e444763dSBoyan Karatotev# Flag to apply erratum 2147715 workaround during reset. This erratum applies 552*e444763dSBoyan Karatotev# to revision r2p0 of the Cortex-A710 CPU and is fixed in revision r2p1. 553*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2147715 554*e444763dSBoyan Karatotev 555*e444763dSBoyan Karatotev# Flag to apply erratum 2216384 workaround during reset. This erratum applies 556*e444763dSBoyan Karatotev# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1. 557*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2216384 558*e444763dSBoyan Karatotev 559*e444763dSBoyan Karatotev# Flag to apply erratum 2282622 workaround during reset. This erratum applies 560*e444763dSBoyan Karatotev# to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is still 561*e444763dSBoyan Karatotev# open. 562*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2282622 563*e444763dSBoyan Karatotev 564*e444763dSBoyan Karatotev# Flag to apply erratum 2291219 workaround during reset. This erratum applies 565*e444763dSBoyan Karatotev# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1. 566*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2291219 567*e444763dSBoyan Karatotev 568*e444763dSBoyan Karatotev# Flag to apply erratum 2008768 workaround during reset. This erratum applies 569*e444763dSBoyan Karatotev# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1. 570*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2008768 571*e444763dSBoyan Karatotev 572*e444763dSBoyan Karatotev# Flag to apply erratum 2371105 workaround during reset. This erratum applies 573*e444763dSBoyan Karatotev# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1. 574*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2371105 575*e444763dSBoyan Karatotev 576*e444763dSBoyan Karatotev# Flag to apply erratum 2768515 workaround during power down. This erratum 577*e444763dSBoyan Karatotev# applies to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is 578*e444763dSBoyan Karatotev# still open. 579*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A710_2768515 580*e444763dSBoyan Karatotev 581*e444763dSBoyan Karatotev# Flag to apply erratum 2002655 workaround during reset. This erratum applies 582*e444763dSBoyan Karatotev# to revisions r0p0 of the Neoverse-N2 cpu, it is still open. 583*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2002655 584*e444763dSBoyan Karatotev 585*e444763dSBoyan Karatotev# Flag to apply erratum 2067956 workaround during reset. This erratum applies 586*e444763dSBoyan Karatotev# to revision r0p0 of the Neoverse N2 cpu and is still open. 587*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2067956 588*e444763dSBoyan Karatotev 589*e444763dSBoyan Karatotev# Flag to apply erratum 2025414 workaround during reset. This erratum applies 590*e444763dSBoyan Karatotev# to revision r0p0 of the Neoverse N2 cpu and is still open. 591*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2025414 592*e444763dSBoyan Karatotev 593*e444763dSBoyan Karatotev# Flag to apply erratum 2189731 workaround during reset. This erratum applies 594*e444763dSBoyan Karatotev# to revision r0p0 of the Neoverse N2 cpu and is still open. 595*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2189731 596*e444763dSBoyan Karatotev 597*e444763dSBoyan Karatotev# Flag to apply erratum 2138956 workaround during reset. This erratum applies 598*e444763dSBoyan Karatotev# to revision r0p0 of the Neoverse N2 cpu and is still open. 599*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2138956 600*e444763dSBoyan Karatotev 601*e444763dSBoyan Karatotev# Flag to apply erratum 2138953 workaround during reset. This erratum applies 602*e444763dSBoyan Karatotev# to revision r0p0 of the Neoverse N2 cpu and is still open. 603*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2138953 604*e444763dSBoyan Karatotev 605*e444763dSBoyan Karatotev# Flag to apply erratum 2242415 workaround during reset. This erratum applies 606*e444763dSBoyan Karatotev# to revision r0p0 of the Neoverse N2 cpu and is still open. 607*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2242415 608*e444763dSBoyan Karatotev 609*e444763dSBoyan Karatotev# Flag to apply erratum 2138958 workaround during reset. This erratum applies 610*e444763dSBoyan Karatotev# to revision r0p0 of the Neoverse N2 cpu and is still open. 611*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2138958 612*e444763dSBoyan Karatotev 613*e444763dSBoyan Karatotev# Flag to apply erratum 2242400 workaround during reset. This erratum applies 614*e444763dSBoyan Karatotev# to revision r0p0 of the Neoverse N2 cpu and is still open. 615*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2242400 616*e444763dSBoyan Karatotev 617*e444763dSBoyan Karatotev# Flag to apply erratum 2280757 workaround during reset. This erratum applies 618*e444763dSBoyan Karatotev# to revision r0p0 of the Neoverse N2 cpu and is still open. 619*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2280757 620*e444763dSBoyan Karatotev 621*e444763dSBoyan Karatotev# Flag to apply erraturm 2326639 workaroud during powerdown. This erratum 622*e444763dSBoyan Karatotev# applies to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1. 623*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2326639 624*e444763dSBoyan Karatotev 625*e444763dSBoyan Karatotev# Flag to apply erratum 2376738 workaround during reset. This erratum applies 626*e444763dSBoyan Karatotev# to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1. 627*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2376738 628*e444763dSBoyan Karatotev 629*e444763dSBoyan Karatotev# Flag to apply erratum 2388450 workaround during reset. This erratum applies 630*e444763dSBoyan Karatotev# to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1. 631*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2388450 632*e444763dSBoyan Karatotev 633*e444763dSBoyan Karatotev# Flag to apply erratum 2743089 workaround during during powerdown. This erratum 634*e444763dSBoyan Karatotev# applies to all revisions <= r0p2 of the Neoverse N2 cpu, it is fixed in r0p3. 635*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_N2_2743089 636*e444763dSBoyan Karatotev 637*e444763dSBoyan Karatotev# Flag to apply erratum 2002765 workaround during reset. This erratum applies 638*e444763dSBoyan Karatotev# to revisions r0p0, r1p0, and r2p0 of the Cortex-X2 cpu and is still open. 639*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2002765 640*e444763dSBoyan Karatotev 641*e444763dSBoyan Karatotev# Flag to apply erratum 2058056 workaround during reset. This erratum applies 642*e444763dSBoyan Karatotev# to revisions r0p0, r1p0, and r2p0 of the Cortex-X2 cpu and is still open. 643*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2058056 644*e444763dSBoyan Karatotev 645*e444763dSBoyan Karatotev# Flag to apply erratum 2083908 workaround during reset. This erratum applies 646*e444763dSBoyan Karatotev# to revision r2p0 of the Cortex-X2 cpu and is still open. 647*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2083908 648*e444763dSBoyan Karatotev 649*e444763dSBoyan Karatotev# Flag to apply erratum 2017096 workaround during reset. This erratum applies 650*e444763dSBoyan Karatotev# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in 651*e444763dSBoyan Karatotev# r2p1. 652*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2017096 653*e444763dSBoyan Karatotev 654*e444763dSBoyan Karatotev# Flag to apply erratum 2081180 workaround during reset. This erratum applies 655*e444763dSBoyan Karatotev# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in 656*e444763dSBoyan Karatotev# r2p1. 657*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2081180 658*e444763dSBoyan Karatotev 659*e444763dSBoyan Karatotev# Flag to apply erratum 2216384 workaround during reset. This erratum applies 660*e444763dSBoyan Karatotev# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in 661*e444763dSBoyan Karatotev# r2p1. 662*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2216384 663*e444763dSBoyan Karatotev 664*e444763dSBoyan Karatotev# Flag to apply erratum 2147715 workaround during reset. This erratum applies 665*e444763dSBoyan Karatotev# only to revision r2p0 of the Cortex-X2 cpu, it is fixed in r2p1. 666*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2147715 667*e444763dSBoyan Karatotev 668*e444763dSBoyan Karatotev# Flag to apply erratum 2282622 workaround during reset. This erratum applies 669*e444763dSBoyan Karatotev# to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still 670*e444763dSBoyan Karatotev# open. 671*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2282622 672*e444763dSBoyan Karatotev 673*e444763dSBoyan Karatotev# Flag to apply erratum 2371105 workaround during reset. This erratum applies 674*e444763dSBoyan Karatotev# to revision r0p0, r1p0 and r2p0 of the Cortex-X2 cpu and is fixed in r2p1. 675*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2371105 676*e444763dSBoyan Karatotev 677*e444763dSBoyan Karatotev# Flag to apply erratum 2768515 workaround during power down. This erratum 678*e444763dSBoyan Karatotev# applies to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is 679*e444763dSBoyan Karatotev# still open. 680*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X2_2768515 681*e444763dSBoyan Karatotev 682*e444763dSBoyan Karatotev# Flag to apply erratum 2313909 workaround on powerdown. This erratum applies 683*e444763dSBoyan Karatotev# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1. 684*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X3_2313909 685*e444763dSBoyan Karatotev 686*e444763dSBoyan Karatotev# Flag to apply erratum 2615812 workaround on powerdown. This erratum applies 687*e444763dSBoyan Karatotev# to revisions r0p0, r1p0, r1p1 of the Cortex-X3 cpu, it is still open. 688*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_X3_2615812 689*e444763dSBoyan Karatotev 690*e444763dSBoyan Karatotev# Flag to apply erratum 1922240 workaround during reset. This erratum applies 691*e444763dSBoyan Karatotev# to revision r0p0 of the Cortex-A510 cpu and is fixed in r0p1. 692*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_1922240 693*e444763dSBoyan Karatotev 694*e444763dSBoyan Karatotev# Flag to apply erratum 2288014 workaround during reset. This erratum applies 695*e444763dSBoyan Karatotev# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0 of the Cortex-A510 cpu and is 696*e444763dSBoyan Karatotev# fixed in r1p1. 697*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2288014 698*e444763dSBoyan Karatotev 699*e444763dSBoyan Karatotev# Flag to apply erratum 2042739 workaround during reset. This erratum applies 700*e444763dSBoyan Karatotev# to revisions r0p0, r0p1 and r0p2 of the Cortex-A510 cpu and is fixed in r0p3. 701*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2042739 702*e444763dSBoyan Karatotev 703*e444763dSBoyan Karatotev# Flag to apply erratum 2041909 workaround during reset. This erratum applies 704*e444763dSBoyan Karatotev# to revision r0p2 of the Cortex-A510 cpu and is fixed in r0p3. The issue is 705*e444763dSBoyan Karatotev# present in r0p0 and r0p1 but there is no workaround for those revisions. 706*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2041909 707*e444763dSBoyan Karatotev 708*e444763dSBoyan Karatotev# Flag to apply erratum 2250311 workaround during reset. This erratum applies 709*e444763dSBoyan Karatotev# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1. 710*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2250311 711*e444763dSBoyan Karatotev 712*e444763dSBoyan Karatotev# Flag to apply erratum 2218950 workaround during reset. This erratum applies 713*e444763dSBoyan Karatotev# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1. 714*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2218950 715*e444763dSBoyan Karatotev 716*e444763dSBoyan Karatotev# Flag to apply erratum 2172148 workaround during reset. This erratum applies 717*e444763dSBoyan Karatotev# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1. 718*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2172148 719*e444763dSBoyan Karatotev 720*e444763dSBoyan Karatotev# Flag to apply erratum 2347730 workaround during reset. This erratum applies 721*e444763dSBoyan Karatotev# to revisions r0p0, r0p1, r0p2, r0p3, r1p0 and r1p1 of the Cortex-A510 CPU, 722*e444763dSBoyan Karatotev# and is fixed in r1p2. 723*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2347730 724*e444763dSBoyan Karatotev 725*e444763dSBoyan Karatotev# Flag to apply erratum 2371937 workaround during reset. This erratum applies 726*e444763dSBoyan Karatotev# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2. 727*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2371937 728*e444763dSBoyan Karatotev 729*e444763dSBoyan Karatotev# Flag to apply erratum 2666669 workaround during reset. This erratum applies 730*e444763dSBoyan Karatotev# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2. 731*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2666669 732*e444763dSBoyan Karatotev 733*e444763dSBoyan Karatotev# Flag to apply erratum 2684597 workaround during powerdown. This erratum 734*e444763dSBoyan Karatotev# applies to revision r0p0, r0p1, r0p2, r0p3, r1p0, r1p1 and r1p2 of the 735*e444763dSBoyan Karatotev# Cortex-A510 cpu and is fixed in r1p3. 736*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_A510_2684597 737*e444763dSBoyan Karatotev 738*e444763dSBoyan Karatotev# Flag to apply DSU erratum 798953. This erratum applies to DSUs revision r0p0. 739*e444763dSBoyan Karatotev# Applying the workaround results in higher DSU power consumption on idle. 740*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_DSU_798953 741*e444763dSBoyan Karatotev 742*e444763dSBoyan Karatotev# Flag to apply DSU erratum 936184. This erratum applies to DSUs containing 743*e444763dSBoyan Karatotev# the ACP interface and revision < r2p0. Applying the workaround results in 744*e444763dSBoyan Karatotev# higher DSU power consumption on idle. 745*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_DSU_936184 746*e444763dSBoyan Karatotev 747*e444763dSBoyan Karatotev# Flag to apply DSU erratum 2313941. This erratum applies to DSUs revisions 748*e444763dSBoyan Karatotev# r0p0, r1p0, r2p0, r2p1, r3p0, r3p1 and is still open. Applying the workaround 749*e444763dSBoyan Karatotev# results in higher DSU power consumption on idle. 750*e444763dSBoyan KaratotevCPU_FLAG_LIST += ERRATA_DSU_2313941 751f2d6b4eeSManish Pandey 752fe007b2eSDimitris Papastamosifneq (${DYNAMIC_WORKAROUND_CVE_2018_3639},0) 753fe007b2eSDimitris Papastamos ifeq (${WORKAROUND_CVE_2018_3639},0) 754fe007b2eSDimitris Papastamos $(error "Error: WORKAROUND_CVE_2018_3639 must be 1 if DYNAMIC_WORKAROUND_CVE_2018_3639 is 1") 755fe007b2eSDimitris Papastamos endif 756fe007b2eSDimitris Papastamosendif 757fe007b2eSDimitris Papastamos 758*e444763dSBoyan Karatotev# process all flags 759*e444763dSBoyan Karatotev$(eval $(call default_zeros, $(CPU_FLAG_LIST))) 760*e444763dSBoyan Karatotev$(eval $(call add_defines, $(CPU_FLAG_LIST))) 761*e444763dSBoyan Karatotev$(eval $(call assert_booleans, $(CPU_FLAG_LIST))) 7627e3273e8SBipin Ravi 763a94cc374SDouglas Raillard# Errata build flags 764a94cc374SDouglas Raillardifneq (${ERRATA_A53_843419},0) 765c2b8806fSDouglas RaillardTF_LDFLAGS_aarch64 += --fix-cortex-a53-843419 766a94cc374SDouglas Raillardendif 767a94cc374SDouglas Raillard 768a94cc374SDouglas Raillardifneq (${ERRATA_A53_835769},0) 769a94cc374SDouglas RaillardTF_CFLAGS_aarch64 += -mfix-cortex-a53-835769 770c2b8806fSDouglas RaillardTF_LDFLAGS_aarch64 += --fix-cortex-a53-835769 771a94cc374SDouglas Raillardendif 772e1c49333SManish V Badarkhe 773e1c49333SManish V Badarkheifneq ($(filter 1,${ERRATA_A53_1530924} ${ERRATA_A55_1530923} \ 774e1c49333SManish V Badarkhe ${ERRATA_A57_1319537} ${ERRATA_A72_1319367} ${ERRATA_A76_1165522}),) 775e1c49333SManish V BadarkheERRATA_SPECULATIVE_AT := 1 776e1c49333SManish V Badarkheelse 777e1c49333SManish V BadarkheERRATA_SPECULATIVE_AT := 0 778e1c49333SManish V Badarkheendif 779