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 280c6c2d36SMark BrownHAS_GENERIC_AUTH 29def8c222SVladimir MurzinHAS_GENERIC_AUTH_ARCH_QARMA3 30be3256a0SVladimir MurzinHAS_GENERIC_AUTH_ARCH_QARMA5 310c6c2d36SMark BrownHAS_GENERIC_AUTH_IMP_DEF 320e62ccb9SMark RutlandHAS_GIC_CPUIF_SYSREGS 33c888b7bdSMark RutlandHAS_GIC_PRIO_MASKING 348bf0a804SMark RutlandHAS_GIC_PRIO_RELAXED_SYNC 350c6c2d36SMark BrownHAS_LDAPR 360c6c2d36SMark BrownHAS_LSE_ATOMICS 37675cabc8SJintack LimHAS_NESTED_VIRT 380c6c2d36SMark BrownHAS_NO_FPSIMD 390c6c2d36SMark BrownHAS_NO_HW_PREFETCH 400c6c2d36SMark BrownHAS_PAN 410c6c2d36SMark BrownHAS_RAS_EXTN 420c6c2d36SMark BrownHAS_RNG 430c6c2d36SMark BrownHAS_SB 440c6c2d36SMark BrownHAS_STAGE2_FWB 453a46b352SKristina MartsenkoHAS_TIDCP1 460c6c2d36SMark BrownHAS_TLB_RANGE 470c6c2d36SMark BrownHAS_VIRT_HOST_EXTN 4869bb02ebSMarc ZyngierHAS_WFXT 490c6c2d36SMark BrownHW_DBM 50*e2d6c906SMarc ZyngierKVM_HVHE 510c6c2d36SMark BrownKVM_PROTECTED_MODE 520c6c2d36SMark BrownMISMATCHED_CACHE_TYPE 530c6c2d36SMark BrownMTE 54d73c162eSVincenzo FrascinoMTE_ASYMM 555e64b862SMark BrownSME 565e64b862SMark BrownSME_FA64 57d4913eeeSMark BrownSME2 580c6c2d36SMark BrownSPECTRE_V2 590c6c2d36SMark BrownSPECTRE_V3A 600c6c2d36SMark BrownSPECTRE_V4 61558c303cSJames MorseSPECTRE_BHB 620c6c2d36SMark BrownSSBS 630c6c2d36SMark BrownSVE 640c6c2d36SMark BrownUNMAP_KERNEL_AT_EL0 650c6c2d36SMark BrownWORKAROUND_834220 660c6c2d36SMark BrownWORKAROUND_843419 670c6c2d36SMark BrownWORKAROUND_845719 680c6c2d36SMark BrownWORKAROUND_858921 690c6c2d36SMark BrownWORKAROUND_1418040 700c6c2d36SMark BrownWORKAROUND_1463225 710c6c2d36SMark BrownWORKAROUND_1508412 720c6c2d36SMark BrownWORKAROUND_1542419 7344b3834bSJames MorseWORKAROUND_1742098 74708e8af4SAnshuman KhandualWORKAROUND_1902691 751dd498e5SJames MorseWORKAROUND_2038923 761dd498e5SJames MorseWORKAROUND_2064142 771dd498e5SJames MorseWORKAROUND_2077057 78e89d120cSIonela VoinescuWORKAROUND_2457168 795db568e7SAnshuman KhandualWORKAROUND_2645198 801bdb0fbbSJames MorseWORKAROUND_2658417 81b9d216fcSSuzuki K PouloseWORKAROUND_TRBE_OVERWRITE_FILL_MODE 82fa82d0b4SSuzuki K PouloseWORKAROUND_TSB_FLUSH_FAILURE 838d81b2a3SSuzuki K PouloseWORKAROUND_TRBE_WRITE_OUT_OF_RANGE 840c6c2d36SMark BrownWORKAROUND_CAVIUM_23154 850c6c2d36SMark BrownWORKAROUND_CAVIUM_27456 860c6c2d36SMark BrownWORKAROUND_CAVIUM_30115 870c6c2d36SMark BrownWORKAROUND_CAVIUM_TX2_219_PRFM 880c6c2d36SMark BrownWORKAROUND_CAVIUM_TX2_219_TVM 890c6c2d36SMark BrownWORKAROUND_CLEAN_CACHE 900c6c2d36SMark BrownWORKAROUND_DEVICE_LOAD_ACQUIRE 910c6c2d36SMark BrownWORKAROUND_NVIDIA_CARMEL_CNP 920c6c2d36SMark BrownWORKAROUND_QCOM_FALKOR_E1003 930c6c2d36SMark BrownWORKAROUND_REPEAT_TLBI 940c6c2d36SMark BrownWORKAROUND_SPECULATIVE_AT 95