Thomas Gleixner | caab277 | 2019-06-03 07:44:50 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
Andre Przywara | e116a37 | 2014-11-14 15:54:09 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Contains CPU specific errata definitions |
| 4 | * |
| 5 | * Copyright (C) 2014 ARM Ltd. |
Andre Przywara | e116a37 | 2014-11-14 15:54:09 +0000 | [diff] [blame] | 6 | */ |
| 7 | |
Arnd Bergmann | 94a5d87 | 2018-06-05 13:50:07 +0200 | [diff] [blame] | 8 | #include <linux/arm-smccc.h> |
Andre Przywara | e116a37 | 2014-11-14 15:54:09 +0000 | [diff] [blame] | 9 | #include <linux/types.h> |
Josh Poimboeuf | a111b7c | 2019-04-12 15:39:32 -0500 | [diff] [blame] | 10 | #include <linux/cpu.h> |
Andre Przywara | e116a37 | 2014-11-14 15:54:09 +0000 | [diff] [blame] | 11 | #include <asm/cpu.h> |
| 12 | #include <asm/cputype.h> |
| 13 | #include <asm/cpufeature.h> |
Mark Brown | 4db61fe | 2020-02-18 19:58:39 +0000 | [diff] [blame] | 14 | #include <asm/kvm_asm.h> |
Marc Zyngier | 93916be | 2019-04-09 16:26:21 +0100 | [diff] [blame] | 15 | #include <asm/smp_plat.h> |
Andre Przywara | e116a37 | 2014-11-14 15:54:09 +0000 | [diff] [blame] | 16 | |
Andre Przywara | 301bcfa | 2014-11-14 15:54:10 +0000 | [diff] [blame] | 17 | static bool __maybe_unused |
Suzuki K Poulose | 92406f0 | 2016-04-22 12:25:31 +0100 | [diff] [blame] | 18 | is_affected_midr_range(const struct arm64_cpu_capabilities *entry, int scope) |
Andre Przywara | 301bcfa | 2014-11-14 15:54:10 +0000 | [diff] [blame] | 19 | { |
Ard Biesheuvel | e8002e0 | 2018-03-06 17:15:34 +0000 | [diff] [blame] | 20 | const struct arm64_midr_revidr *fix; |
| 21 | u32 midr = read_cpuid_id(), revidr; |
| 22 | |
Suzuki K Poulose | 92406f0 | 2016-04-22 12:25:31 +0100 | [diff] [blame] | 23 | WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); |
Suzuki K Poulose | 1df3105 | 2018-03-26 15:12:44 +0100 | [diff] [blame] | 24 | if (!is_midr_in_range(midr, &entry->midr_range)) |
Ard Biesheuvel | e8002e0 | 2018-03-06 17:15:34 +0000 | [diff] [blame] | 25 | return false; |
| 26 | |
| 27 | midr &= MIDR_REVISION_MASK | MIDR_VARIANT_MASK; |
| 28 | revidr = read_cpuid(REVIDR_EL1); |
| 29 | for (fix = entry->fixed_revs; fix && fix->revidr_mask; fix++) |
| 30 | if (midr == fix->midr_rv && (revidr & fix->revidr_mask)) |
| 31 | return false; |
| 32 | |
| 33 | return true; |
Andre Przywara | 301bcfa | 2014-11-14 15:54:10 +0000 | [diff] [blame] | 34 | } |
| 35 | |
Stephen Boyd | bb48711 | 2017-12-13 14:19:37 -0800 | [diff] [blame] | 36 | static bool __maybe_unused |
Suzuki K Poulose | be5b299 | 2018-03-26 15:12:45 +0100 | [diff] [blame] | 37 | is_affected_midr_range_list(const struct arm64_cpu_capabilities *entry, |
| 38 | int scope) |
| 39 | { |
| 40 | WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); |
| 41 | return is_midr_in_range_list(read_cpuid_id(), entry->midr_range_list); |
Andre Przywara | 301bcfa | 2014-11-14 15:54:10 +0000 | [diff] [blame] | 42 | } |
| 43 | |
Stephen Boyd | bb48711 | 2017-12-13 14:19:37 -0800 | [diff] [blame] | 44 | static bool __maybe_unused |
| 45 | is_kryo_midr(const struct arm64_cpu_capabilities *entry, int scope) |
| 46 | { |
| 47 | u32 model; |
| 48 | |
| 49 | WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); |
| 50 | |
| 51 | model = read_cpuid_id(); |
| 52 | model &= MIDR_IMPLEMENTOR_MASK | (0xf00 << MIDR_PARTNUM_SHIFT) | |
| 53 | MIDR_ARCHITECTURE_MASK; |
| 54 | |
Suzuki K Poulose | 1df3105 | 2018-03-26 15:12:44 +0100 | [diff] [blame] | 55 | return model == entry->midr_range.model; |
Stephen Boyd | bb48711 | 2017-12-13 14:19:37 -0800 | [diff] [blame] | 56 | } |
| 57 | |
Suzuki K Poulose | 116c81f | 2016-09-09 14:07:16 +0100 | [diff] [blame] | 58 | static bool |
Suzuki K Poulose | 314d53d | 2018-07-04 23:07:46 +0100 | [diff] [blame] | 59 | has_mismatched_cache_type(const struct arm64_cpu_capabilities *entry, |
| 60 | int scope) |
Suzuki K Poulose | 116c81f | 2016-09-09 14:07:16 +0100 | [diff] [blame] | 61 | { |
Suzuki K Poulose | 1602df0 | 2018-10-09 14:47:06 +0100 | [diff] [blame] | 62 | u64 mask = arm64_ftr_reg_ctrel0.strict_mask; |
| 63 | u64 sys = arm64_ftr_reg_ctrel0.sys_val & mask; |
| 64 | u64 ctr_raw, ctr_real; |
Suzuki K Poulose | 314d53d | 2018-07-04 23:07:46 +0100 | [diff] [blame] | 65 | |
Suzuki K Poulose | 116c81f | 2016-09-09 14:07:16 +0100 | [diff] [blame] | 66 | WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); |
Suzuki K Poulose | 1602df0 | 2018-10-09 14:47:06 +0100 | [diff] [blame] | 67 | |
| 68 | /* |
| 69 | * We want to make sure that all the CPUs in the system expose |
| 70 | * a consistent CTR_EL0 to make sure that applications behaves |
| 71 | * correctly with migration. |
| 72 | * |
| 73 | * If a CPU has CTR_EL0.IDC but does not advertise it via CTR_EL0 : |
| 74 | * |
| 75 | * 1) It is safe if the system doesn't support IDC, as CPU anyway |
| 76 | * reports IDC = 0, consistent with the rest. |
| 77 | * |
| 78 | * 2) If the system has IDC, it is still safe as we trap CTR_EL0 |
| 79 | * access on this CPU via the ARM64_HAS_CACHE_IDC capability. |
| 80 | * |
| 81 | * So, we need to make sure either the raw CTR_EL0 or the effective |
| 82 | * CTR_EL0 matches the system's copy to allow a secondary CPU to boot. |
| 83 | */ |
| 84 | ctr_raw = read_cpuid_cachetype() & mask; |
| 85 | ctr_real = read_cpuid_effective_cachetype() & mask; |
| 86 | |
| 87 | return (ctr_real != sys) && (ctr_raw != sys); |
Suzuki K Poulose | 116c81f | 2016-09-09 14:07:16 +0100 | [diff] [blame] | 88 | } |
| 89 | |
Dave Martin | c0cda3b | 2018-03-26 15:12:28 +0100 | [diff] [blame] | 90 | static void |
James Morse | 0546084 | 2019-10-17 18:42:58 +0100 | [diff] [blame] | 91 | cpu_enable_trap_ctr_access(const struct arm64_cpu_capabilities *cap) |
Suzuki K Poulose | 116c81f | 2016-09-09 14:07:16 +0100 | [diff] [blame] | 92 | { |
Suzuki K Poulose | 4afe8e7 | 2018-10-09 14:47:07 +0100 | [diff] [blame] | 93 | u64 mask = arm64_ftr_reg_ctrel0.strict_mask; |
James Morse | 0546084 | 2019-10-17 18:42:58 +0100 | [diff] [blame] | 94 | bool enable_uct_trap = false; |
Suzuki K Poulose | 4afe8e7 | 2018-10-09 14:47:07 +0100 | [diff] [blame] | 95 | |
| 96 | /* Trap CTR_EL0 access on this CPU, only if it has a mismatch */ |
| 97 | if ((read_cpuid_cachetype() & mask) != |
| 98 | (arm64_ftr_reg_ctrel0.sys_val & mask)) |
James Morse | 0546084 | 2019-10-17 18:42:58 +0100 | [diff] [blame] | 99 | enable_uct_trap = true; |
| 100 | |
| 101 | /* ... or if the system is affected by an erratum */ |
| 102 | if (cap->capability == ARM64_WORKAROUND_1542419) |
| 103 | enable_uct_trap = true; |
| 104 | |
| 105 | if (enable_uct_trap) |
Suzuki K Poulose | 4afe8e7 | 2018-10-09 14:47:07 +0100 | [diff] [blame] | 106 | sysreg_clear_set(sctlr_el1, SCTLR_EL1_UCT, 0); |
Suzuki K Poulose | 116c81f | 2016-09-09 14:07:16 +0100 | [diff] [blame] | 107 | } |
| 108 | |
Will Deacon | 969f5ea | 2019-04-29 13:03:57 +0100 | [diff] [blame] | 109 | #ifdef CONFIG_ARM64_ERRATUM_1463225 |
Will Deacon | 969f5ea | 2019-04-29 13:03:57 +0100 | [diff] [blame] | 110 | static bool |
| 111 | has_cortex_a76_erratum_1463225(const struct arm64_cpu_capabilities *entry, |
| 112 | int scope) |
| 113 | { |
Sai Prakash Ranjan | a9e821b | 2020-06-30 23:30:54 +0530 | [diff] [blame] | 114 | return is_affected_midr_range_list(entry, scope) && is_kernel_in_hyp_mode(); |
Will Deacon | 969f5ea | 2019-04-29 13:03:57 +0100 | [diff] [blame] | 115 | } |
| 116 | #endif |
| 117 | |
Will Deacon | b8925ee | 2018-08-07 13:53:41 +0100 | [diff] [blame] | 118 | static void __maybe_unused |
| 119 | cpu_enable_cache_maint_trap(const struct arm64_cpu_capabilities *__unused) |
| 120 | { |
| 121 | sysreg_clear_set(sctlr_el1, SCTLR_EL1_UCI, 0); |
| 122 | } |
| 123 | |
Suzuki K Poulose | 5e7951c | 2018-03-26 15:12:43 +0100 | [diff] [blame] | 124 | #define CAP_MIDR_RANGE(model, v_min, r_min, v_max, r_max) \ |
| 125 | .matches = is_affected_midr_range, \ |
Suzuki K Poulose | 1df3105 | 2018-03-26 15:12:44 +0100 | [diff] [blame] | 126 | .midr_range = MIDR_RANGE(model, v_min, r_min, v_max, r_max) |
Andre Przywara | 301bcfa | 2014-11-14 15:54:10 +0000 | [diff] [blame] | 127 | |
Suzuki K Poulose | 5e7951c | 2018-03-26 15:12:43 +0100 | [diff] [blame] | 128 | #define CAP_MIDR_ALL_VERSIONS(model) \ |
| 129 | .matches = is_affected_midr_range, \ |
Suzuki K Poulose | 1df3105 | 2018-03-26 15:12:44 +0100 | [diff] [blame] | 130 | .midr_range = MIDR_ALL_VERSIONS(model) |
Marc Zyngier | 06f1494 | 2017-02-01 14:38:46 +0000 | [diff] [blame] | 131 | |
Ard Biesheuvel | e8002e0 | 2018-03-06 17:15:34 +0000 | [diff] [blame] | 132 | #define MIDR_FIXED(rev, revidr_mask) \ |
| 133 | .fixed_revs = (struct arm64_midr_revidr[]){{ (rev), (revidr_mask) }, {}} |
| 134 | |
Suzuki K Poulose | 5e7951c | 2018-03-26 15:12:43 +0100 | [diff] [blame] | 135 | #define ERRATA_MIDR_RANGE(model, v_min, r_min, v_max, r_max) \ |
| 136 | .type = ARM64_CPUCAP_LOCAL_CPU_ERRATUM, \ |
| 137 | CAP_MIDR_RANGE(model, v_min, r_min, v_max, r_max) |
| 138 | |
Suzuki K Poulose | be5b299 | 2018-03-26 15:12:45 +0100 | [diff] [blame] | 139 | #define CAP_MIDR_RANGE_LIST(list) \ |
| 140 | .matches = is_affected_midr_range_list, \ |
| 141 | .midr_range_list = list |
| 142 | |
Suzuki K Poulose | 5e7951c | 2018-03-26 15:12:43 +0100 | [diff] [blame] | 143 | /* Errata affecting a range of revisions of given model variant */ |
| 144 | #define ERRATA_MIDR_REV_RANGE(m, var, r_min, r_max) \ |
| 145 | ERRATA_MIDR_RANGE(m, var, r_min, var, r_max) |
| 146 | |
| 147 | /* Errata affecting a single variant/revision of a model */ |
| 148 | #define ERRATA_MIDR_REV(model, var, rev) \ |
| 149 | ERRATA_MIDR_RANGE(model, var, rev, var, rev) |
| 150 | |
| 151 | /* Errata affecting all variants/revisions of a given a model */ |
| 152 | #define ERRATA_MIDR_ALL_VERSIONS(model) \ |
| 153 | .type = ARM64_CPUCAP_LOCAL_CPU_ERRATUM, \ |
| 154 | CAP_MIDR_ALL_VERSIONS(model) |
| 155 | |
Suzuki K Poulose | be5b299 | 2018-03-26 15:12:45 +0100 | [diff] [blame] | 156 | /* Errata affecting a list of midr ranges, with same work around */ |
| 157 | #define ERRATA_MIDR_RANGE_LIST(midr_list) \ |
| 158 | .type = ARM64_CPUCAP_LOCAL_CPU_ERRATUM, \ |
| 159 | CAP_MIDR_RANGE_LIST(midr_list) |
| 160 | |
Marc Zyngier | 93916be | 2019-04-09 16:26:21 +0100 | [diff] [blame] | 161 | static const __maybe_unused struct midr_range tx2_family_cpus[] = { |
| 162 | MIDR_ALL_VERSIONS(MIDR_BRCM_VULCAN), |
| 163 | MIDR_ALL_VERSIONS(MIDR_CAVIUM_THUNDERX2), |
| 164 | {}, |
| 165 | }; |
| 166 | |
| 167 | static bool __maybe_unused |
| 168 | needs_tx2_tvm_workaround(const struct arm64_cpu_capabilities *entry, |
| 169 | int scope) |
| 170 | { |
| 171 | int i; |
| 172 | |
| 173 | if (!is_affected_midr_range_list(entry, scope) || |
| 174 | !is_hyp_mode_available()) |
| 175 | return false; |
| 176 | |
| 177 | for_each_possible_cpu(i) { |
| 178 | if (MPIDR_AFFINITY_LEVEL(cpu_logical_map(i), 0) != 0) |
| 179 | return true; |
| 180 | } |
| 181 | |
| 182 | return false; |
| 183 | } |
| 184 | |
James Morse | 0546084 | 2019-10-17 18:42:58 +0100 | [diff] [blame] | 185 | static bool __maybe_unused |
| 186 | has_neoverse_n1_erratum_1542419(const struct arm64_cpu_capabilities *entry, |
| 187 | int scope) |
| 188 | { |
| 189 | u32 midr = read_cpuid_id(); |
| 190 | bool has_dic = read_cpuid_cachetype() & BIT(CTR_DIC_SHIFT); |
| 191 | const struct midr_range range = MIDR_ALL_VERSIONS(MIDR_NEOVERSE_N1); |
Marc Zyngier | 8892b71 | 2018-04-10 11:36:43 +0100 | [diff] [blame] | 192 | |
James Morse | 0546084 | 2019-10-17 18:42:58 +0100 | [diff] [blame] | 193 | WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); |
| 194 | return is_midr_in_range(midr, &range) && has_dic; |
| 195 | } |
| 196 | |
Catalin Marinas | ce8c80c | 2018-11-19 11:27:28 +0000 | [diff] [blame] | 197 | #ifdef CONFIG_ARM64_WORKAROUND_REPEAT_TLBI |
Bjorn Andersson | 36c602d | 2019-10-29 16:27:38 -0700 | [diff] [blame] | 198 | static const struct arm64_cpu_capabilities arm64_repeat_tlbi_list[] = { |
Catalin Marinas | ce8c80c | 2018-11-19 11:27:28 +0000 | [diff] [blame] | 199 | #ifdef CONFIG_QCOM_FALKOR_ERRATUM_1009 |
Bjorn Andersson | 36c602d | 2019-10-29 16:27:38 -0700 | [diff] [blame] | 200 | { |
| 201 | ERRATA_MIDR_REV(MIDR_QCOM_FALKOR_V1, 0, 0) |
| 202 | }, |
| 203 | { |
| 204 | .midr_range.model = MIDR_QCOM_KRYO, |
| 205 | .matches = is_kryo_midr, |
| 206 | }, |
Catalin Marinas | ce8c80c | 2018-11-19 11:27:28 +0000 | [diff] [blame] | 207 | #endif |
| 208 | #ifdef CONFIG_ARM64_ERRATUM_1286807 |
Bjorn Andersson | 36c602d | 2019-10-29 16:27:38 -0700 | [diff] [blame] | 209 | { |
| 210 | ERRATA_MIDR_RANGE(MIDR_CORTEX_A76, 0, 0, 3, 0), |
| 211 | }, |
Catalin Marinas | ce8c80c | 2018-11-19 11:27:28 +0000 | [diff] [blame] | 212 | #endif |
| 213 | {}, |
| 214 | }; |
Catalin Marinas | ce8c80c | 2018-11-19 11:27:28 +0000 | [diff] [blame] | 215 | #endif |
| 216 | |
Suzuki K Poulose | f58cdf7 | 2018-11-30 17:18:01 +0000 | [diff] [blame] | 217 | #ifdef CONFIG_CAVIUM_ERRATUM_27456 |
Will Deacon | b89d82e | 2019-01-08 16:19:01 +0000 | [diff] [blame] | 218 | const struct midr_range cavium_erratum_27456_cpus[] = { |
Suzuki K Poulose | f58cdf7 | 2018-11-30 17:18:01 +0000 | [diff] [blame] | 219 | /* Cavium ThunderX, T88 pass 1.x - 2.1 */ |
| 220 | MIDR_RANGE(MIDR_THUNDERX, 0, 0, 1, 1), |
| 221 | /* Cavium ThunderX, T81 pass 1.0 */ |
| 222 | MIDR_REV(MIDR_THUNDERX_81XX, 0, 0), |
| 223 | {}, |
| 224 | }; |
| 225 | #endif |
| 226 | |
| 227 | #ifdef CONFIG_CAVIUM_ERRATUM_30115 |
| 228 | static const struct midr_range cavium_erratum_30115_cpus[] = { |
| 229 | /* Cavium ThunderX, T88 pass 1.x - 2.2 */ |
| 230 | MIDR_RANGE(MIDR_THUNDERX, 0, 0, 1, 2), |
| 231 | /* Cavium ThunderX, T81 pass 1.0 - 1.2 */ |
| 232 | MIDR_REV_RANGE(MIDR_THUNDERX_81XX, 0, 0, 2), |
| 233 | /* Cavium ThunderX, T83 pass 1.0 */ |
| 234 | MIDR_REV(MIDR_THUNDERX_83XX, 0, 0), |
| 235 | {}, |
| 236 | }; |
| 237 | #endif |
| 238 | |
Suzuki K Poulose | a3dcea2c | 2018-11-30 17:18:02 +0000 | [diff] [blame] | 239 | #ifdef CONFIG_QCOM_FALKOR_ERRATUM_1003 |
| 240 | static const struct arm64_cpu_capabilities qcom_erratum_1003_list[] = { |
| 241 | { |
| 242 | ERRATA_MIDR_REV(MIDR_QCOM_FALKOR_V1, 0, 0), |
| 243 | }, |
| 244 | { |
| 245 | .midr_range.model = MIDR_QCOM_KRYO, |
| 246 | .matches = is_kryo_midr, |
| 247 | }, |
| 248 | {}, |
| 249 | }; |
| 250 | #endif |
| 251 | |
Suzuki K Poulose | c9460dc | 2018-11-30 17:18:00 +0000 | [diff] [blame] | 252 | #ifdef CONFIG_ARM64_WORKAROUND_CLEAN_CACHE |
| 253 | static const struct midr_range workaround_clean_cache[] = { |
Andre Przywara | c0a01b8 | 2014-11-14 15:54:12 +0000 | [diff] [blame] | 254 | #if defined(CONFIG_ARM64_ERRATUM_826319) || \ |
| 255 | defined(CONFIG_ARM64_ERRATUM_827319) || \ |
| 256 | defined(CONFIG_ARM64_ERRATUM_824069) |
Suzuki K Poulose | c9460dc | 2018-11-30 17:18:00 +0000 | [diff] [blame] | 257 | /* Cortex-A53 r0p[012]: ARM errata 826319, 827319, 824069 */ |
| 258 | MIDR_REV_RANGE(MIDR_CORTEX_A53, 0, 0, 2), |
Andre Przywara | c0a01b8 | 2014-11-14 15:54:12 +0000 | [diff] [blame] | 259 | #endif |
Suzuki K Poulose | c9460dc | 2018-11-30 17:18:00 +0000 | [diff] [blame] | 260 | #ifdef CONFIG_ARM64_ERRATUM_819472 |
| 261 | /* Cortex-A53 r0p[01] : ARM errata 819472 */ |
| 262 | MIDR_REV_RANGE(MIDR_CORTEX_A53, 0, 0, 1), |
| 263 | #endif |
| 264 | {}, |
| 265 | }; |
| 266 | #endif |
| 267 | |
Marc Zyngier | a532508 | 2019-05-23 11:24:50 +0100 | [diff] [blame] | 268 | #ifdef CONFIG_ARM64_ERRATUM_1418040 |
| 269 | /* |
| 270 | * - 1188873 affects r0p0 to r2p0 |
| 271 | * - 1418040 affects r0p0 to r3p1 |
| 272 | */ |
| 273 | static const struct midr_range erratum_1418040_list[] = { |
| 274 | /* Cortex-A76 r0p0 to r3p1 */ |
| 275 | MIDR_RANGE(MIDR_CORTEX_A76, 0, 0, 3, 1), |
| 276 | /* Neoverse-N1 r0p0 to r3p1 */ |
| 277 | MIDR_RANGE(MIDR_NEOVERSE_N1, 0, 0, 3, 1), |
Sai Prakash Ranjan | a9e821b | 2020-06-30 23:30:54 +0530 | [diff] [blame] | 278 | /* Kryo4xx Gold (rcpe to rfpf) => (r0p0 to r3p1) */ |
| 279 | MIDR_RANGE(MIDR_QCOM_KRYO_4XX_GOLD, 0xc, 0xe, 0xf, 0xf), |
Marc Zyngier | 6989303 | 2019-04-15 13:03:54 +0100 | [diff] [blame] | 280 | {}, |
| 281 | }; |
| 282 | #endif |
| 283 | |
Doug Berger | bfc97f9 | 2019-10-31 14:47:23 -0700 | [diff] [blame] | 284 | #ifdef CONFIG_ARM64_ERRATUM_845719 |
| 285 | static const struct midr_range erratum_845719_list[] = { |
| 286 | /* Cortex-A53 r0p[01234] */ |
| 287 | MIDR_REV_RANGE(MIDR_CORTEX_A53, 0, 0, 4), |
| 288 | /* Brahma-B53 r0p[0] */ |
| 289 | MIDR_REV(MIDR_BRAHMA_B53, 0, 0), |
Konrad Dybcio | 23c2164 | 2020-11-05 00:22:13 +0100 | [diff] [blame] | 290 | /* Kryo2XX Silver rAp4 */ |
| 291 | MIDR_REV(MIDR_QCOM_KRYO_2XX_SILVER, 0xa, 0x4), |
Doug Berger | bfc97f9 | 2019-10-31 14:47:23 -0700 | [diff] [blame] | 292 | {}, |
| 293 | }; |
| 294 | #endif |
| 295 | |
Florian Fainelli | 1cf45b8 | 2019-10-31 14:47:25 -0700 | [diff] [blame] | 296 | #ifdef CONFIG_ARM64_ERRATUM_843419 |
| 297 | static const struct arm64_cpu_capabilities erratum_843419_list[] = { |
| 298 | { |
| 299 | /* Cortex-A53 r0p[01234] */ |
| 300 | .matches = is_affected_midr_range, |
| 301 | ERRATA_MIDR_REV_RANGE(MIDR_CORTEX_A53, 0, 0, 4), |
| 302 | MIDR_FIXED(0x4, BIT(8)), |
| 303 | }, |
| 304 | { |
| 305 | /* Brahma-B53 r0p[0] */ |
| 306 | .matches = is_affected_midr_range, |
| 307 | ERRATA_MIDR_REV(MIDR_BRAHMA_B53, 0, 0), |
| 308 | }, |
| 309 | {}, |
| 310 | }; |
| 311 | #endif |
| 312 | |
Andrew Scull | 02ab1f5 | 2020-05-04 10:48:58 +0100 | [diff] [blame] | 313 | #ifdef CONFIG_ARM64_WORKAROUND_SPECULATIVE_AT |
| 314 | static const struct midr_range erratum_speculative_at_list[] = { |
Steven Price | e85d68f | 2019-12-16 11:56:29 +0000 | [diff] [blame] | 315 | #ifdef CONFIG_ARM64_ERRATUM_1165522 |
| 316 | /* Cortex A76 r0p0 to r2p0 */ |
| 317 | MIDR_RANGE(MIDR_CORTEX_A76, 0, 0, 2, 0), |
| 318 | #endif |
Andrew Scull | 02ab1f5 | 2020-05-04 10:48:58 +0100 | [diff] [blame] | 319 | #ifdef CONFIG_ARM64_ERRATUM_1319367 |
| 320 | MIDR_ALL_VERSIONS(MIDR_CORTEX_A57), |
| 321 | MIDR_ALL_VERSIONS(MIDR_CORTEX_A72), |
| 322 | #endif |
Steven Price | 275fa0e | 2019-12-16 11:56:31 +0000 | [diff] [blame] | 323 | #ifdef CONFIG_ARM64_ERRATUM_1530923 |
| 324 | /* Cortex A55 r0p0 to r2p0 */ |
| 325 | MIDR_RANGE(MIDR_CORTEX_A55, 0, 0, 2, 0), |
Sai Prakash Ranjan | 9b23d95 | 2020-06-30 23:30:55 +0530 | [diff] [blame] | 326 | /* Kryo4xx Silver (rdpe => r1p0) */ |
| 327 | MIDR_REV(MIDR_QCOM_KRYO_4XX_SILVER, 0xd, 0xe), |
Steven Price | 275fa0e | 2019-12-16 11:56:31 +0000 | [diff] [blame] | 328 | #endif |
Steven Price | e85d68f | 2019-12-16 11:56:29 +0000 | [diff] [blame] | 329 | {}, |
| 330 | }; |
| 331 | #endif |
| 332 | |
Sai Prakash Ranjan | a9e821b | 2020-06-30 23:30:54 +0530 | [diff] [blame] | 333 | #ifdef CONFIG_ARM64_ERRATUM_1463225 |
| 334 | static const struct midr_range erratum_1463225[] = { |
| 335 | /* Cortex-A76 r0p0 - r3p1 */ |
| 336 | MIDR_RANGE(MIDR_CORTEX_A76, 0, 0, 3, 1), |
| 337 | /* Kryo4xx Gold (rcpe to rfpf) => (r0p0 to r3p1) */ |
| 338 | MIDR_RANGE(MIDR_QCOM_KRYO_4XX_GOLD, 0xc, 0xe, 0xf, 0xf), |
Florian Fainelli | 09c717c | 2020-07-08 22:13:40 -0700 | [diff] [blame] | 339 | {}, |
Sai Prakash Ranjan | a9e821b | 2020-06-30 23:30:54 +0530 | [diff] [blame] | 340 | }; |
| 341 | #endif |
| 342 | |
Suzuki K Poulose | c9460dc | 2018-11-30 17:18:00 +0000 | [diff] [blame] | 343 | const struct arm64_cpu_capabilities arm64_errata[] = { |
| 344 | #ifdef CONFIG_ARM64_WORKAROUND_CLEAN_CACHE |
Andre Przywara | c0a01b8 | 2014-11-14 15:54:12 +0000 | [diff] [blame] | 345 | { |
Geert Uytterhoeven | 357dd8a | 2020-05-12 16:52:55 +0200 | [diff] [blame] | 346 | .desc = "ARM errata 826319, 827319, 824069, or 819472", |
Andre Przywara | c0a01b8 | 2014-11-14 15:54:12 +0000 | [diff] [blame] | 347 | .capability = ARM64_WORKAROUND_CLEAN_CACHE, |
Suzuki K Poulose | c9460dc | 2018-11-30 17:18:00 +0000 | [diff] [blame] | 348 | ERRATA_MIDR_RANGE_LIST(workaround_clean_cache), |
Dave Martin | c0cda3b | 2018-03-26 15:12:28 +0100 | [diff] [blame] | 349 | .cpu_enable = cpu_enable_cache_maint_trap, |
Andre Przywara | c0a01b8 | 2014-11-14 15:54:12 +0000 | [diff] [blame] | 350 | }, |
| 351 | #endif |
| 352 | #ifdef CONFIG_ARM64_ERRATUM_832075 |
Andre Przywara | 301bcfa | 2014-11-14 15:54:10 +0000 | [diff] [blame] | 353 | { |
Andre Przywara | 5afaa1f | 2014-11-14 15:54:11 +0000 | [diff] [blame] | 354 | /* Cortex-A57 r0p0 - r1p2 */ |
| 355 | .desc = "ARM erratum 832075", |
| 356 | .capability = ARM64_WORKAROUND_DEVICE_LOAD_ACQUIRE, |
Suzuki K Poulose | 5e7951c | 2018-03-26 15:12:43 +0100 | [diff] [blame] | 357 | ERRATA_MIDR_RANGE(MIDR_CORTEX_A57, |
| 358 | 0, 0, |
| 359 | 1, 2), |
Andre Przywara | 5afaa1f | 2014-11-14 15:54:11 +0000 | [diff] [blame] | 360 | }, |
Andre Przywara | c0a01b8 | 2014-11-14 15:54:12 +0000 | [diff] [blame] | 361 | #endif |
Marc Zyngier | 498cd5c | 2015-11-16 10:28:18 +0000 | [diff] [blame] | 362 | #ifdef CONFIG_ARM64_ERRATUM_834220 |
| 363 | { |
| 364 | /* Cortex-A57 r0p0 - r1p2 */ |
| 365 | .desc = "ARM erratum 834220", |
| 366 | .capability = ARM64_WORKAROUND_834220, |
Suzuki K Poulose | 5e7951c | 2018-03-26 15:12:43 +0100 | [diff] [blame] | 367 | ERRATA_MIDR_RANGE(MIDR_CORTEX_A57, |
| 368 | 0, 0, |
| 369 | 1, 2), |
Marc Zyngier | 498cd5c | 2015-11-16 10:28:18 +0000 | [diff] [blame] | 370 | }, |
| 371 | #endif |
Ard Biesheuvel | ca79acc | 2018-03-06 17:15:35 +0000 | [diff] [blame] | 372 | #ifdef CONFIG_ARM64_ERRATUM_843419 |
| 373 | { |
Ard Biesheuvel | ca79acc | 2018-03-06 17:15:35 +0000 | [diff] [blame] | 374 | .desc = "ARM erratum 843419", |
| 375 | .capability = ARM64_WORKAROUND_843419, |
Florian Fainelli | 1cf45b8 | 2019-10-31 14:47:25 -0700 | [diff] [blame] | 376 | .type = ARM64_CPUCAP_LOCAL_CPU_ERRATUM, |
| 377 | .matches = cpucap_multi_entry_cap_matches, |
| 378 | .match_list = erratum_843419_list, |
Will Deacon | 905e8c5 | 2015-03-23 19:07:02 +0000 | [diff] [blame] | 379 | }, |
Robert Richter | 6d4e11c | 2015-09-21 22:58:35 +0200 | [diff] [blame] | 380 | #endif |
| 381 | #ifdef CONFIG_ARM64_ERRATUM_845719 |
| 382 | { |
Andre Przywara | e116a37 | 2014-11-14 15:54:09 +0000 | [diff] [blame] | 383 | .desc = "ARM erratum 845719", |
| 384 | .capability = ARM64_WORKAROUND_845719, |
Doug Berger | bfc97f9 | 2019-10-31 14:47:23 -0700 | [diff] [blame] | 385 | ERRATA_MIDR_RANGE_LIST(erratum_845719_list), |
Marc Zyngier | 359b706 | 2015-03-27 13:09:23 +0000 | [diff] [blame] | 386 | }, |
Andre Przywara | e116a37 | 2014-11-14 15:54:09 +0000 | [diff] [blame] | 387 | #endif |
Robert Richter | 6d4e11c | 2015-09-21 22:58:35 +0200 | [diff] [blame] | 388 | #ifdef CONFIG_CAVIUM_ERRATUM_23154 |
| 389 | { |
| 390 | /* Cavium ThunderX, pass 1.x */ |
| 391 | .desc = "Cavium erratum 23154", |
| 392 | .capability = ARM64_WORKAROUND_CAVIUM_23154, |
Suzuki K Poulose | 5e7951c | 2018-03-26 15:12:43 +0100 | [diff] [blame] | 393 | ERRATA_MIDR_REV_RANGE(MIDR_THUNDERX, 0, 0, 1), |
Robert Richter | 6d4e11c | 2015-09-21 22:58:35 +0200 | [diff] [blame] | 394 | }, |
| 395 | #endif |
Andrew Pinski | 104a0c0 | 2016-02-24 17:44:57 -0800 | [diff] [blame] | 396 | #ifdef CONFIG_CAVIUM_ERRATUM_27456 |
| 397 | { |
Andrew Pinski | 104a0c0 | 2016-02-24 17:44:57 -0800 | [diff] [blame] | 398 | .desc = "Cavium erratum 27456", |
| 399 | .capability = ARM64_WORKAROUND_CAVIUM_27456, |
Suzuki K Poulose | f58cdf7 | 2018-11-30 17:18:01 +0000 | [diff] [blame] | 400 | ERRATA_MIDR_RANGE_LIST(cavium_erratum_27456_cpus), |
Ganapatrao Kulkarni | 47c459b | 2016-07-07 10:18:17 +0530 | [diff] [blame] | 401 | }, |
Andrew Pinski | 104a0c0 | 2016-02-24 17:44:57 -0800 | [diff] [blame] | 402 | #endif |
David Daney | 690a341 | 2017-06-09 12:49:48 +0100 | [diff] [blame] | 403 | #ifdef CONFIG_CAVIUM_ERRATUM_30115 |
| 404 | { |
David Daney | 690a341 | 2017-06-09 12:49:48 +0100 | [diff] [blame] | 405 | .desc = "Cavium erratum 30115", |
| 406 | .capability = ARM64_WORKAROUND_CAVIUM_30115, |
Suzuki K Poulose | f58cdf7 | 2018-11-30 17:18:01 +0000 | [diff] [blame] | 407 | ERRATA_MIDR_RANGE_LIST(cavium_erratum_30115_cpus), |
David Daney | 690a341 | 2017-06-09 12:49:48 +0100 | [diff] [blame] | 408 | }, |
| 409 | #endif |
Andre Przywara | e116a37 | 2014-11-14 15:54:09 +0000 | [diff] [blame] | 410 | { |
Will Deacon | 880f7cc | 2018-09-19 11:41:21 +0100 | [diff] [blame] | 411 | .desc = "Mismatched cache type (CTR_EL0)", |
Suzuki K Poulose | 314d53d | 2018-07-04 23:07:46 +0100 | [diff] [blame] | 412 | .capability = ARM64_MISMATCHED_CACHE_TYPE, |
| 413 | .matches = has_mismatched_cache_type, |
Suzuki K Poulose | 5b4747c | 2018-03-26 15:12:32 +0100 | [diff] [blame] | 414 | .type = ARM64_CPUCAP_LOCAL_CPU_ERRATUM, |
Dave Martin | c0cda3b | 2018-03-26 15:12:28 +0100 | [diff] [blame] | 415 | .cpu_enable = cpu_enable_trap_ctr_access, |
Suzuki K Poulose | 116c81f | 2016-09-09 14:07:16 +0100 | [diff] [blame] | 416 | }, |
Christopher Covington | 38fd94b | 2017-02-08 15:08:37 -0500 | [diff] [blame] | 417 | #ifdef CONFIG_QCOM_FALKOR_ERRATUM_1003 |
| 418 | { |
Suzuki K Poulose | a3dcea2c | 2018-11-30 17:18:02 +0000 | [diff] [blame] | 419 | .desc = "Qualcomm Technologies Falkor/Kryo erratum 1003", |
Christopher Covington | 38fd94b | 2017-02-08 15:08:37 -0500 | [diff] [blame] | 420 | .capability = ARM64_WORKAROUND_QCOM_FALKOR_E1003, |
Bjorn Andersson | d4af3c4 | 2019-10-29 10:15:39 -0700 | [diff] [blame] | 421 | .type = ARM64_CPUCAP_LOCAL_CPU_ERRATUM, |
Will Deacon | 1e013d0 | 2018-12-12 15:53:54 +0000 | [diff] [blame] | 422 | .matches = cpucap_multi_entry_cap_matches, |
Suzuki K Poulose | a3dcea2c | 2018-11-30 17:18:02 +0000 | [diff] [blame] | 423 | .match_list = qcom_erratum_1003_list, |
Stephen Boyd | bb48711 | 2017-12-13 14:19:37 -0800 | [diff] [blame] | 424 | }, |
Christopher Covington | 38fd94b | 2017-02-08 15:08:37 -0500 | [diff] [blame] | 425 | #endif |
Catalin Marinas | ce8c80c | 2018-11-19 11:27:28 +0000 | [diff] [blame] | 426 | #ifdef CONFIG_ARM64_WORKAROUND_REPEAT_TLBI |
Christopher Covington | d9ff80f | 2017-01-31 12:50:19 -0500 | [diff] [blame] | 427 | { |
Geert Uytterhoeven | 357dd8a | 2020-05-12 16:52:55 +0200 | [diff] [blame] | 428 | .desc = "Qualcomm erratum 1009, or ARM erratum 1286807", |
Christopher Covington | d9ff80f | 2017-01-31 12:50:19 -0500 | [diff] [blame] | 429 | .capability = ARM64_WORKAROUND_REPEAT_TLBI, |
Bjorn Andersson | 36c602d | 2019-10-29 16:27:38 -0700 | [diff] [blame] | 430 | .type = ARM64_CPUCAP_LOCAL_CPU_ERRATUM, |
| 431 | .matches = cpucap_multi_entry_cap_matches, |
| 432 | .match_list = arm64_repeat_tlbi_list, |
Christopher Covington | d9ff80f | 2017-01-31 12:50:19 -0500 | [diff] [blame] | 433 | }, |
| 434 | #endif |
Marc Zyngier | eeb1efb | 2017-03-20 17:18:06 +0000 | [diff] [blame] | 435 | #ifdef CONFIG_ARM64_ERRATUM_858921 |
| 436 | { |
| 437 | /* Cortex-A73 all versions */ |
| 438 | .desc = "ARM erratum 858921", |
| 439 | .capability = ARM64_WORKAROUND_858921, |
Suzuki K Poulose | 5e7951c | 2018-03-26 15:12:43 +0100 | [diff] [blame] | 440 | ERRATA_MIDR_ALL_VERSIONS(MIDR_CORTEX_A73), |
Marc Zyngier | eeb1efb | 2017-03-20 17:18:06 +0000 | [diff] [blame] | 441 | }, |
| 442 | #endif |
Will Deacon | aa6acde | 2018-01-03 12:46:21 +0000 | [diff] [blame] | 443 | { |
Will Deacon | d4647f0 | 2020-09-15 23:30:17 +0100 | [diff] [blame] | 444 | .desc = "Spectre-v2", |
Will Deacon | 688f1e4 | 2020-09-15 23:00:31 +0100 | [diff] [blame] | 445 | .capability = ARM64_SPECTRE_V2, |
Marc Zyngier | 73f3816 | 2019-04-15 16:21:23 -0500 | [diff] [blame] | 446 | .type = ARM64_CPUCAP_LOCAL_CPU_ERRATUM, |
Will Deacon | d4647f0 | 2020-09-15 23:30:17 +0100 | [diff] [blame] | 447 | .matches = has_spectre_v2, |
| 448 | .cpu_enable = spectre_v2_enable_mitigation, |
Jayachandran C | f3d795d | 2018-01-19 04:22:47 -0800 | [diff] [blame] | 449 | }, |
David Brazdil | a59a2ed | 2020-07-21 10:44:45 +0100 | [diff] [blame] | 450 | #ifdef CONFIG_RANDOMIZE_BASE |
Marc Zyngier | 4b472ff | 2018-02-15 11:49:20 +0000 | [diff] [blame] | 451 | { |
Will Deacon | b881cdc | 2020-11-13 11:38:44 +0000 | [diff] [blame] | 452 | /* Must come after the Spectre-v2 entry */ |
Will Deacon | c4792b6 | 2020-11-13 11:38:45 +0000 | [diff] [blame] | 453 | .desc = "Spectre-v3a", |
| 454 | .capability = ARM64_SPECTRE_V3A, |
Will Deacon | cd1f56b | 2020-11-13 11:38:46 +0000 | [diff] [blame] | 455 | .type = ARM64_CPUCAP_LOCAL_CPU_ERRATUM, |
| 456 | .matches = has_spectre_v3a, |
Will Deacon | c4792b6 | 2020-11-13 11:38:45 +0000 | [diff] [blame] | 457 | .cpu_enable = spectre_v3a_enable_mitigation, |
Marc Zyngier | 4b472ff | 2018-02-15 11:49:20 +0000 | [diff] [blame] | 458 | }, |
| 459 | #endif |
Marc Zyngier | a725e3d | 2018-05-29 13:11:08 +0100 | [diff] [blame] | 460 | { |
Will Deacon | c287620 | 2020-09-18 11:54:33 +0100 | [diff] [blame] | 461 | .desc = "Spectre-v4", |
Will Deacon | 9b0955b | 2020-09-15 23:00:31 +0100 | [diff] [blame] | 462 | .capability = ARM64_SPECTRE_V4, |
Marc Zyngier | a725e3d | 2018-05-29 13:11:08 +0100 | [diff] [blame] | 463 | .type = ARM64_CPUCAP_LOCAL_CPU_ERRATUM, |
Will Deacon | c287620 | 2020-09-18 11:54:33 +0100 | [diff] [blame] | 464 | .matches = has_spectre_v4, |
| 465 | .cpu_enable = spectre_v4_enable_mitigation, |
Marc Zyngier | a725e3d | 2018-05-29 13:11:08 +0100 | [diff] [blame] | 466 | }, |
Marc Zyngier | a532508 | 2019-05-23 11:24:50 +0100 | [diff] [blame] | 467 | #ifdef CONFIG_ARM64_ERRATUM_1418040 |
Marc Zyngier | 95b861a4 | 2018-09-27 17:15:34 +0100 | [diff] [blame] | 468 | { |
Marc Zyngier | a532508 | 2019-05-23 11:24:50 +0100 | [diff] [blame] | 469 | .desc = "ARM erratum 1418040", |
| 470 | .capability = ARM64_WORKAROUND_1418040, |
| 471 | ERRATA_MIDR_RANGE_LIST(erratum_1418040_list), |
Marc Zyngier | ed888cb | 2020-09-11 19:16:11 +0100 | [diff] [blame] | 472 | /* |
| 473 | * We need to allow affected CPUs to come in late, but |
| 474 | * also need the non-affected CPUs to be able to come |
| 475 | * in at any point in time. Wonderful. |
| 476 | */ |
| 477 | .type = ARM64_CPUCAP_WEAK_LOCAL_CPU_FEATURE, |
Marc Zyngier | 95b861a4 | 2018-09-27 17:15:34 +0100 | [diff] [blame] | 478 | }, |
| 479 | #endif |
Andrew Scull | 02ab1f5 | 2020-05-04 10:48:58 +0100 | [diff] [blame] | 480 | #ifdef CONFIG_ARM64_WORKAROUND_SPECULATIVE_AT |
Marc Zyngier | 8b2cca9 | 2018-12-06 17:31:23 +0000 | [diff] [blame] | 481 | { |
Will Deacon | c350717 | 2020-05-28 18:02:51 +0100 | [diff] [blame] | 482 | .desc = "ARM errata 1165522, 1319367, or 1530923", |
Andrew Scull | 02ab1f5 | 2020-05-04 10:48:58 +0100 | [diff] [blame] | 483 | .capability = ARM64_WORKAROUND_SPECULATIVE_AT, |
| 484 | ERRATA_MIDR_RANGE_LIST(erratum_speculative_at_list), |
Marc Zyngier | 8b2cca9 | 2018-12-06 17:31:23 +0000 | [diff] [blame] | 485 | }, |
| 486 | #endif |
Will Deacon | 969f5ea | 2019-04-29 13:03:57 +0100 | [diff] [blame] | 487 | #ifdef CONFIG_ARM64_ERRATUM_1463225 |
| 488 | { |
| 489 | .desc = "ARM erratum 1463225", |
| 490 | .capability = ARM64_WORKAROUND_1463225, |
| 491 | .type = ARM64_CPUCAP_LOCAL_CPU_ERRATUM, |
| 492 | .matches = has_cortex_a76_erratum_1463225, |
Sai Prakash Ranjan | a9e821b | 2020-06-30 23:30:54 +0530 | [diff] [blame] | 493 | .midr_range_list = erratum_1463225, |
Will Deacon | 969f5ea | 2019-04-29 13:03:57 +0100 | [diff] [blame] | 494 | }, |
| 495 | #endif |
Marc Zyngier | 93916be | 2019-04-09 16:26:21 +0100 | [diff] [blame] | 496 | #ifdef CONFIG_CAVIUM_TX2_ERRATUM_219 |
| 497 | { |
| 498 | .desc = "Cavium ThunderX2 erratum 219 (KVM guest sysreg trapping)", |
| 499 | .capability = ARM64_WORKAROUND_CAVIUM_TX2_219_TVM, |
| 500 | ERRATA_MIDR_RANGE_LIST(tx2_family_cpus), |
| 501 | .matches = needs_tx2_tvm_workaround, |
| 502 | }, |
Marc Zyngier | 9405447 | 2019-04-09 16:22:24 +0100 | [diff] [blame] | 503 | { |
| 504 | .desc = "Cavium ThunderX2 erratum 219 (PRFM removal)", |
| 505 | .capability = ARM64_WORKAROUND_CAVIUM_TX2_219_PRFM, |
| 506 | ERRATA_MIDR_RANGE_LIST(tx2_family_cpus), |
| 507 | }, |
Marc Zyngier | 93916be | 2019-04-09 16:26:21 +0100 | [diff] [blame] | 508 | #endif |
James Morse | 0546084 | 2019-10-17 18:42:58 +0100 | [diff] [blame] | 509 | #ifdef CONFIG_ARM64_ERRATUM_1542419 |
| 510 | { |
| 511 | /* we depend on the firmware portion for correctness */ |
| 512 | .desc = "ARM erratum 1542419 (kernel portion)", |
| 513 | .capability = ARM64_WORKAROUND_1542419, |
| 514 | .type = ARM64_CPUCAP_LOCAL_CPU_ERRATUM, |
| 515 | .matches = has_neoverse_n1_erratum_1542419, |
| 516 | .cpu_enable = cpu_enable_trap_ctr_access, |
| 517 | }, |
| 518 | #endif |
Rob Herring | 96d389ca | 2020-10-28 13:28:39 -0500 | [diff] [blame] | 519 | #ifdef CONFIG_ARM64_ERRATUM_1508412 |
| 520 | { |
| 521 | /* we depend on the firmware portion for correctness */ |
| 522 | .desc = "ARM erratum 1508412 (kernel portion)", |
| 523 | .capability = ARM64_WORKAROUND_1508412, |
| 524 | ERRATA_MIDR_RANGE(MIDR_CORTEX_A77, |
| 525 | 0, 0, |
| 526 | 1, 0), |
| 527 | }, |
| 528 | #endif |
Rich Wiley | 20109a8 | 2021-03-23 17:28:09 -0700 | [diff] [blame] | 529 | #ifdef CONFIG_NVIDIA_CARMEL_CNP_ERRATUM |
| 530 | { |
| 531 | /* NVIDIA Carmel */ |
| 532 | .desc = "NVIDIA Carmel CNP erratum", |
| 533 | .capability = ARM64_WORKAROUND_NVIDIA_CARMEL_CNP, |
| 534 | ERRATA_MIDR_ALL_VERSIONS(MIDR_NVIDIA_CARMEL), |
| 535 | }, |
| 536 | #endif |
Suzuki K Poulose | 116c81f | 2016-09-09 14:07:16 +0100 | [diff] [blame] | 537 | { |
Andre Przywara | e116a37 | 2014-11-14 15:54:09 +0000 | [diff] [blame] | 538 | } |
| 539 | }; |