blob: e7719e8f18def62874433949c5cf44552c9f6edc [file] [log] [blame]
Mark Brown0c6c2d32021-04-28 13:12:31 +01001# SPDX-License-Identifier: GPL-2.0
2#
3# Internal CPU capabilities constants, keep this list sorted
4
5BTI
Will Deacon2122a832021-06-08 19:02:55 +01006# Unreliable: use system_supports_32bit_el0() instead.
7HAS_32BIT_EL0_DO_NOT_USE
Mark Brown0c6c2d32021-04-28 13:12:31 +01008HAS_32BIT_EL1
9HAS_ADDRESS_AUTH
10HAS_ADDRESS_AUTH_ARCH
11HAS_ADDRESS_AUTH_IMP_DEF
12HAS_AMU_EXTN
13HAS_ARMv8_4_TTL
14HAS_CACHE_DIC
15HAS_CACHE_IDC
16HAS_CNP
17HAS_CRC32
18HAS_DCPODP
19HAS_DCPOP
20HAS_E0PD
Marc Zyngierfdf86592021-10-17 13:42:22 +010021HAS_ECV
Mark Brown0c6c2d32021-04-28 13:12:31 +010022HAS_EPAN
23HAS_GENERIC_AUTH
24HAS_GENERIC_AUTH_ARCH
25HAS_GENERIC_AUTH_IMP_DEF
26HAS_IRQ_PRIO_MASKING
27HAS_LDAPR
28HAS_LSE_ATOMICS
29HAS_NO_FPSIMD
30HAS_NO_HW_PREFETCH
31HAS_PAN
32HAS_RAS_EXTN
33HAS_RNG
34HAS_SB
35HAS_STAGE2_FWB
36HAS_SYSREG_GIC_CPUIF
37HAS_TLB_RANGE
38HAS_VIRT_HOST_EXTN
39HW_DBM
40KVM_PROTECTED_MODE
41MISMATCHED_CACHE_TYPE
42MTE
Vincenzo Frascinod73c1622021-10-06 16:47:49 +010043MTE_ASYMM
Mark Brown0c6c2d32021-04-28 13:12:31 +010044SPECTRE_V2
45SPECTRE_V3A
46SPECTRE_V4
47SSBS
48SVE
49UNMAP_KERNEL_AT_EL0
50WORKAROUND_834220
51WORKAROUND_843419
52WORKAROUND_845719
53WORKAROUND_858921
54WORKAROUND_1418040
55WORKAROUND_1463225
56WORKAROUND_1508412
57WORKAROUND_1542419
Anshuman Khandual607a9af2022-01-25 19:50:32 +053058WORKAROUND_2064142
Anshuman Khandual3bd94a82022-01-25 19:50:33 +053059WORKAROUND_2038923
Anshuman Khandual708e8af2022-01-25 19:50:34 +053060WORKAROUND_1902691
Suzuki K Pouloseb9d216f2021-10-19 17:31:40 +010061WORKAROUND_TRBE_OVERWRITE_FILL_MODE
Suzuki K Poulosefa82d0b2021-10-19 17:31:41 +010062WORKAROUND_TSB_FLUSH_FAILURE
Suzuki K Poulose8d81b2a2021-10-19 17:31:42 +010063WORKAROUND_TRBE_WRITE_OUT_OF_RANGE
Mark Brown0c6c2d32021-04-28 13:12:31 +010064WORKAROUND_CAVIUM_23154
65WORKAROUND_CAVIUM_27456
66WORKAROUND_CAVIUM_30115
67WORKAROUND_CAVIUM_TX2_219_PRFM
68WORKAROUND_CAVIUM_TX2_219_TVM
69WORKAROUND_CLEAN_CACHE
70WORKAROUND_DEVICE_LOAD_ACQUIRE
71WORKAROUND_NVIDIA_CARMEL_CNP
72WORKAROUND_QCOM_FALKOR_E1003
73WORKAROUND_REPEAT_TLBI
74WORKAROUND_SPECULATIVE_AT