10c6c2d36SMark Brown# SPDX-License-Identifier: GPL-2.0 20c6c2d36SMark Brown# 30c6c2d36SMark Brown# Internal CPU capabilities constants, keep this list sorted 40c6c2d36SMark Brown 54c0bd995SMark RutlandALWAYS_BOOT 64c0bd995SMark RutlandALWAYS_SYSTEM 70c6c2d36SMark BrownBTI 82122a833SWill Deacon# Unreliable: use system_supports_32bit_el0() instead. 92122a833SWill DeaconHAS_32BIT_EL0_DO_NOT_USE 100c6c2d36SMark BrownHAS_32BIT_EL1 110c6c2d36SMark BrownHAS_ADDRESS_AUTH 12def8c222SVladimir MurzinHAS_ADDRESS_AUTH_ARCH_QARMA3 13be3256a0SVladimir MurzinHAS_ADDRESS_AUTH_ARCH_QARMA5 140c6c2d36SMark BrownHAS_ADDRESS_AUTH_IMP_DEF 150c6c2d36SMark BrownHAS_AMU_EXTN 160c6c2d36SMark BrownHAS_ARMv8_4_TTL 170c6c2d36SMark BrownHAS_CACHE_DIC 180c6c2d36SMark BrownHAS_CACHE_IDC 190c6c2d36SMark BrownHAS_CNP 200c6c2d36SMark BrownHAS_CRC32 210c6c2d36SMark BrownHAS_DCPODP 220c6c2d36SMark BrownHAS_DCPOP 2301ab991fSArd BiesheuvelHAS_DIT 240c6c2d36SMark BrownHAS_E0PD 25fdf86598SMarc ZyngierHAS_ECV 2632634994SMarc ZyngierHAS_ECV_CNTPOFF 270c6c2d36SMark BrownHAS_EPAN 28c876c3f1SMarc ZyngierHAS_EVT 29b206a708SMark BrownHAS_FGT 300c6c2d36SMark BrownHAS_GENERIC_AUTH 31def8c222SVladimir MurzinHAS_GENERIC_AUTH_ARCH_QARMA3 32be3256a0SVladimir MurzinHAS_GENERIC_AUTH_ARCH_QARMA5 330c6c2d36SMark BrownHAS_GENERIC_AUTH_IMP_DEF 340e62ccb9SMark RutlandHAS_GIC_CPUIF_SYSREGS 35c888b7bdSMark RutlandHAS_GIC_PRIO_MASKING 368bf0a804SMark RutlandHAS_GIC_PRIO_RELAXED_SYNC 37b0c756feSKristina MartsenkoHAS_HCX 380c6c2d36SMark BrownHAS_LDAPR 390c6c2d36SMark BrownHAS_LSE_ATOMICS 40b7564127SKristina MartsenkoHAS_MOPS 41675cabc8SJintack LimHAS_NESTED_VIRT 420c6c2d36SMark BrownHAS_NO_FPSIMD 430c6c2d36SMark BrownHAS_NO_HW_PREFETCH 440c6c2d36SMark BrownHAS_PAN 45e43454c4SJoey GoulyHAS_S1PIE 460c6c2d36SMark BrownHAS_RAS_EXTN 470c6c2d36SMark BrownHAS_RNG 480c6c2d36SMark BrownHAS_SB 490c6c2d36SMark BrownHAS_STAGE2_FWB 502b760046SJoey GoulyHAS_TCR2 513a46b352SKristina MartsenkoHAS_TIDCP1 520c6c2d36SMark BrownHAS_TLB_RANGE 530c6c2d36SMark BrownHAS_VIRT_HOST_EXTN 5469bb02ebSMarc ZyngierHAS_WFXT 550c6c2d36SMark BrownHW_DBM 56e2d6c906SMarc ZyngierKVM_HVHE 570c6c2d36SMark BrownKVM_PROTECTED_MODE 580c6c2d36SMark BrownMISMATCHED_CACHE_TYPE 590c6c2d36SMark BrownMTE 60d73c162eSVincenzo FrascinoMTE_ASYMM 615e64b862SMark BrownSME 625e64b862SMark BrownSME_FA64 63d4913eeeSMark BrownSME2 640c6c2d36SMark BrownSPECTRE_V2 650c6c2d36SMark BrownSPECTRE_V3A 660c6c2d36SMark BrownSPECTRE_V4 67558c303cSJames MorseSPECTRE_BHB 680c6c2d36SMark BrownSSBS 690c6c2d36SMark BrownSVE 700c6c2d36SMark BrownUNMAP_KERNEL_AT_EL0 710c6c2d36SMark BrownWORKAROUND_834220 720c6c2d36SMark BrownWORKAROUND_843419 730c6c2d36SMark BrownWORKAROUND_845719 740c6c2d36SMark BrownWORKAROUND_858921 750c6c2d36SMark BrownWORKAROUND_1418040 760c6c2d36SMark BrownWORKAROUND_1463225 770c6c2d36SMark BrownWORKAROUND_1508412 780c6c2d36SMark BrownWORKAROUND_1542419 7944b3834bSJames MorseWORKAROUND_1742098 80708e8af4SAnshuman KhandualWORKAROUND_1902691 811dd498e5SJames MorseWORKAROUND_2038923 821dd498e5SJames MorseWORKAROUND_2064142 831dd498e5SJames MorseWORKAROUND_2077057 84e89d120cSIonela VoinescuWORKAROUND_2457168 855db568e7SAnshuman KhandualWORKAROUND_2645198 861bdb0fbbSJames MorseWORKAROUND_2658417 876df696cdSOliver UptonWORKAROUND_AMPERE_AC03_CPU_38 88b9d216fcSSuzuki K PouloseWORKAROUND_TRBE_OVERWRITE_FILL_MODE 89fa82d0b4SSuzuki K PouloseWORKAROUND_TSB_FLUSH_FAILURE 908d81b2a3SSuzuki K PouloseWORKAROUND_TRBE_WRITE_OUT_OF_RANGE 910c6c2d36SMark BrownWORKAROUND_CAVIUM_23154 920c6c2d36SMark BrownWORKAROUND_CAVIUM_27456 930c6c2d36SMark BrownWORKAROUND_CAVIUM_30115 940c6c2d36SMark BrownWORKAROUND_CAVIUM_TX2_219_PRFM 950c6c2d36SMark BrownWORKAROUND_CAVIUM_TX2_219_TVM 960c6c2d36SMark BrownWORKAROUND_CLEAN_CACHE 970c6c2d36SMark BrownWORKAROUND_DEVICE_LOAD_ACQUIRE 980c6c2d36SMark BrownWORKAROUND_NVIDIA_CARMEL_CNP 990c6c2d36SMark BrownWORKAROUND_QCOM_FALKOR_E1003 1000c6c2d36SMark BrownWORKAROUND_REPEAT_TLBI 1010c6c2d36SMark BrownWORKAROUND_SPECULATIVE_AT 102*93696d8fSMark RutlandWORKAROUND_SPECULATIVE_SSBS 103236a9bf2SRob HerringWORKAROUND_SPECULATIVE_UNPRIV_LOAD 104