Mark Brown | 0c6c2d3 | 2021-04-28 13:12:31 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | # |
| 3 | # Internal CPU capabilities constants, keep this list sorted |
| 4 | |
| 5 | BTI |
Will Deacon | 2122a83 | 2021-06-08 19:02:55 +0100 | [diff] [blame] | 6 | # Unreliable: use system_supports_32bit_el0() instead. |
| 7 | HAS_32BIT_EL0_DO_NOT_USE |
Mark Brown | 0c6c2d3 | 2021-04-28 13:12:31 +0100 | [diff] [blame] | 8 | HAS_32BIT_EL1 |
| 9 | HAS_ADDRESS_AUTH |
| 10 | HAS_ADDRESS_AUTH_ARCH |
| 11 | HAS_ADDRESS_AUTH_IMP_DEF |
| 12 | HAS_AMU_EXTN |
| 13 | HAS_ARMv8_4_TTL |
| 14 | HAS_CACHE_DIC |
| 15 | HAS_CACHE_IDC |
| 16 | HAS_CNP |
| 17 | HAS_CRC32 |
| 18 | HAS_DCPODP |
| 19 | HAS_DCPOP |
| 20 | HAS_E0PD |
Marc Zyngier | fdf8659 | 2021-10-17 13:42:22 +0100 | [diff] [blame] | 21 | HAS_ECV |
Mark Brown | 0c6c2d3 | 2021-04-28 13:12:31 +0100 | [diff] [blame] | 22 | HAS_EPAN |
| 23 | HAS_GENERIC_AUTH |
| 24 | HAS_GENERIC_AUTH_ARCH |
| 25 | HAS_GENERIC_AUTH_IMP_DEF |
| 26 | HAS_IRQ_PRIO_MASKING |
| 27 | HAS_LDAPR |
| 28 | HAS_LSE_ATOMICS |
| 29 | HAS_NO_FPSIMD |
| 30 | HAS_NO_HW_PREFETCH |
| 31 | HAS_PAN |
| 32 | HAS_RAS_EXTN |
| 33 | HAS_RNG |
| 34 | HAS_SB |
| 35 | HAS_STAGE2_FWB |
| 36 | HAS_SYSREG_GIC_CPUIF |
| 37 | HAS_TLB_RANGE |
| 38 | HAS_VIRT_HOST_EXTN |
| 39 | HW_DBM |
| 40 | KVM_PROTECTED_MODE |
| 41 | MISMATCHED_CACHE_TYPE |
| 42 | MTE |
Vincenzo Frascino | d73c162 | 2021-10-06 16:47:49 +0100 | [diff] [blame] | 43 | MTE_ASYMM |
Mark Brown | 0c6c2d3 | 2021-04-28 13:12:31 +0100 | [diff] [blame] | 44 | SPECTRE_V2 |
| 45 | SPECTRE_V3A |
| 46 | SPECTRE_V4 |
| 47 | SSBS |
| 48 | SVE |
| 49 | UNMAP_KERNEL_AT_EL0 |
| 50 | WORKAROUND_834220 |
| 51 | WORKAROUND_843419 |
| 52 | WORKAROUND_845719 |
| 53 | WORKAROUND_858921 |
| 54 | WORKAROUND_1418040 |
| 55 | WORKAROUND_1463225 |
| 56 | WORKAROUND_1508412 |
| 57 | WORKAROUND_1542419 |
Anshuman Khandual | 708e8af | 2022-01-25 19:50:34 +0530 | [diff] [blame] | 58 | WORKAROUND_1902691 |
James Morse | 1dd498e | 2022-01-27 12:20:52 +0000 | [diff] [blame] | 59 | WORKAROUND_2038923 |
| 60 | WORKAROUND_2064142 |
| 61 | WORKAROUND_2077057 |
Suzuki K Poulose | b9d216f | 2021-10-19 17:31:40 +0100 | [diff] [blame] | 62 | WORKAROUND_TRBE_OVERWRITE_FILL_MODE |
Suzuki K Poulose | fa82d0b | 2021-10-19 17:31:41 +0100 | [diff] [blame] | 63 | WORKAROUND_TSB_FLUSH_FAILURE |
Suzuki K Poulose | 8d81b2a | 2021-10-19 17:31:42 +0100 | [diff] [blame] | 64 | WORKAROUND_TRBE_WRITE_OUT_OF_RANGE |
Mark Brown | 0c6c2d3 | 2021-04-28 13:12:31 +0100 | [diff] [blame] | 65 | WORKAROUND_CAVIUM_23154 |
| 66 | WORKAROUND_CAVIUM_27456 |
| 67 | WORKAROUND_CAVIUM_30115 |
| 68 | WORKAROUND_CAVIUM_TX2_219_PRFM |
| 69 | WORKAROUND_CAVIUM_TX2_219_TVM |
| 70 | WORKAROUND_CLEAN_CACHE |
| 71 | WORKAROUND_DEVICE_LOAD_ACQUIRE |
| 72 | WORKAROUND_NVIDIA_CARMEL_CNP |
| 73 | WORKAROUND_QCOM_FALKOR_E1003 |
| 74 | WORKAROUND_REPEAT_TLBI |
| 75 | WORKAROUND_SPECULATIVE_AT |