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 260c6c2d36SMark BrownHAS_EPAN 270c6c2d36SMark BrownHAS_GENERIC_AUTH 28def8c222SVladimir MurzinHAS_GENERIC_AUTH_ARCH_QARMA3 29be3256a0SVladimir MurzinHAS_GENERIC_AUTH_ARCH_QARMA5 300c6c2d36SMark BrownHAS_GENERIC_AUTH_IMP_DEF 310e62ccb9SMark RutlandHAS_GIC_CPUIF_SYSREGS 32c888b7bdSMark RutlandHAS_GIC_PRIO_MASKING 33*8bf0a804SMark RutlandHAS_GIC_PRIO_RELAXED_SYNC 340c6c2d36SMark BrownHAS_LDAPR 350c6c2d36SMark BrownHAS_LSE_ATOMICS 360c6c2d36SMark BrownHAS_NO_FPSIMD 370c6c2d36SMark BrownHAS_NO_HW_PREFETCH 380c6c2d36SMark BrownHAS_PAN 390c6c2d36SMark BrownHAS_RAS_EXTN 400c6c2d36SMark BrownHAS_RNG 410c6c2d36SMark BrownHAS_SB 420c6c2d36SMark BrownHAS_STAGE2_FWB 433a46b352SKristina MartsenkoHAS_TIDCP1 440c6c2d36SMark BrownHAS_TLB_RANGE 450c6c2d36SMark BrownHAS_VIRT_HOST_EXTN 4669bb02ebSMarc ZyngierHAS_WFXT 470c6c2d36SMark BrownHW_DBM 480c6c2d36SMark BrownKVM_PROTECTED_MODE 490c6c2d36SMark BrownMISMATCHED_CACHE_TYPE 500c6c2d36SMark BrownMTE 51d73c162eSVincenzo FrascinoMTE_ASYMM 525e64b862SMark BrownSME 535e64b862SMark BrownSME_FA64 540c6c2d36SMark BrownSPECTRE_V2 550c6c2d36SMark BrownSPECTRE_V3A 560c6c2d36SMark BrownSPECTRE_V4 57558c303cSJames MorseSPECTRE_BHB 580c6c2d36SMark BrownSSBS 590c6c2d36SMark BrownSVE 600c6c2d36SMark BrownUNMAP_KERNEL_AT_EL0 610c6c2d36SMark BrownWORKAROUND_834220 620c6c2d36SMark BrownWORKAROUND_843419 630c6c2d36SMark BrownWORKAROUND_845719 640c6c2d36SMark BrownWORKAROUND_858921 650c6c2d36SMark BrownWORKAROUND_1418040 660c6c2d36SMark BrownWORKAROUND_1463225 670c6c2d36SMark BrownWORKAROUND_1508412 680c6c2d36SMark BrownWORKAROUND_1542419 6944b3834bSJames MorseWORKAROUND_1742098 70708e8af4SAnshuman KhandualWORKAROUND_1902691 711dd498e5SJames MorseWORKAROUND_2038923 721dd498e5SJames MorseWORKAROUND_2064142 731dd498e5SJames MorseWORKAROUND_2077057 74e89d120cSIonela VoinescuWORKAROUND_2457168 751bdb0fbbSJames MorseWORKAROUND_2658417 76b9d216fcSSuzuki K PouloseWORKAROUND_TRBE_OVERWRITE_FILL_MODE 77fa82d0b4SSuzuki K PouloseWORKAROUND_TSB_FLUSH_FAILURE 788d81b2a3SSuzuki K PouloseWORKAROUND_TRBE_WRITE_OUT_OF_RANGE 790c6c2d36SMark BrownWORKAROUND_CAVIUM_23154 800c6c2d36SMark BrownWORKAROUND_CAVIUM_27456 810c6c2d36SMark BrownWORKAROUND_CAVIUM_30115 820c6c2d36SMark BrownWORKAROUND_CAVIUM_TX2_219_PRFM 830c6c2d36SMark BrownWORKAROUND_CAVIUM_TX2_219_TVM 840c6c2d36SMark BrownWORKAROUND_CLEAN_CACHE 850c6c2d36SMark BrownWORKAROUND_DEVICE_LOAD_ACQUIRE 860c6c2d36SMark BrownWORKAROUND_NVIDIA_CARMEL_CNP 870c6c2d36SMark BrownWORKAROUND_QCOM_FALKOR_E1003 880c6c2d36SMark BrownWORKAROUND_REPEAT_TLBI 890c6c2d36SMark BrownWORKAROUND_SPECULATIVE_AT 90