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 35b0c756feSKristina MartsenkoHAS_HCX 360c6c2d36SMark BrownHAS_LDAPR 370c6c2d36SMark BrownHAS_LSE_ATOMICS 38*b7564127SKristina MartsenkoHAS_MOPS 39675cabc8SJintack LimHAS_NESTED_VIRT 400c6c2d36SMark BrownHAS_NO_FPSIMD 410c6c2d36SMark BrownHAS_NO_HW_PREFETCH 420c6c2d36SMark BrownHAS_PAN 430c6c2d36SMark BrownHAS_RAS_EXTN 440c6c2d36SMark BrownHAS_RNG 450c6c2d36SMark BrownHAS_SB 460c6c2d36SMark BrownHAS_STAGE2_FWB 473a46b352SKristina MartsenkoHAS_TIDCP1 480c6c2d36SMark BrownHAS_TLB_RANGE 490c6c2d36SMark BrownHAS_VIRT_HOST_EXTN 5069bb02ebSMarc ZyngierHAS_WFXT 510c6c2d36SMark BrownHW_DBM 520c6c2d36SMark BrownKVM_PROTECTED_MODE 530c6c2d36SMark BrownMISMATCHED_CACHE_TYPE 540c6c2d36SMark BrownMTE 55d73c162eSVincenzo FrascinoMTE_ASYMM 565e64b862SMark BrownSME 575e64b862SMark BrownSME_FA64 58d4913eeeSMark BrownSME2 590c6c2d36SMark BrownSPECTRE_V2 600c6c2d36SMark BrownSPECTRE_V3A 610c6c2d36SMark BrownSPECTRE_V4 62558c303cSJames MorseSPECTRE_BHB 630c6c2d36SMark BrownSSBS 640c6c2d36SMark BrownSVE 650c6c2d36SMark BrownUNMAP_KERNEL_AT_EL0 660c6c2d36SMark BrownWORKAROUND_834220 670c6c2d36SMark BrownWORKAROUND_843419 680c6c2d36SMark BrownWORKAROUND_845719 690c6c2d36SMark BrownWORKAROUND_858921 700c6c2d36SMark BrownWORKAROUND_1418040 710c6c2d36SMark BrownWORKAROUND_1463225 720c6c2d36SMark BrownWORKAROUND_1508412 730c6c2d36SMark BrownWORKAROUND_1542419 7444b3834bSJames MorseWORKAROUND_1742098 75708e8af4SAnshuman KhandualWORKAROUND_1902691 761dd498e5SJames MorseWORKAROUND_2038923 771dd498e5SJames MorseWORKAROUND_2064142 781dd498e5SJames MorseWORKAROUND_2077057 79e89d120cSIonela VoinescuWORKAROUND_2457168 805db568e7SAnshuman KhandualWORKAROUND_2645198 811bdb0fbbSJames MorseWORKAROUND_2658417 82b9d216fcSSuzuki K PouloseWORKAROUND_TRBE_OVERWRITE_FILL_MODE 83fa82d0b4SSuzuki K PouloseWORKAROUND_TSB_FLUSH_FAILURE 848d81b2a3SSuzuki K PouloseWORKAROUND_TRBE_WRITE_OUT_OF_RANGE 850c6c2d36SMark BrownWORKAROUND_CAVIUM_23154 860c6c2d36SMark BrownWORKAROUND_CAVIUM_27456 870c6c2d36SMark BrownWORKAROUND_CAVIUM_30115 880c6c2d36SMark BrownWORKAROUND_CAVIUM_TX2_219_PRFM 890c6c2d36SMark BrownWORKAROUND_CAVIUM_TX2_219_TVM 900c6c2d36SMark BrownWORKAROUND_CLEAN_CACHE 910c6c2d36SMark BrownWORKAROUND_DEVICE_LOAD_ACQUIRE 920c6c2d36SMark BrownWORKAROUND_NVIDIA_CARMEL_CNP 930c6c2d36SMark BrownWORKAROUND_QCOM_FALKOR_E1003 940c6c2d36SMark BrownWORKAROUND_REPEAT_TLBI 950c6c2d36SMark BrownWORKAROUND_SPECULATIVE_AT 96