Lines Matching +full:cortex +full:- +full:a
1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/arm-smccc.h>
24 if (!is_midr_in_range(midr, &entry->midr_range)) in is_affected_midr_range()
29 for (fix = entry->fixed_revs; fix && fix->revidr_mask; fix++) in is_affected_midr_range()
30 if (midr == fix->midr_rv && (revidr & fix->revidr_mask)) in is_affected_midr_range()
41 return is_midr_in_range_list(read_cpuid_id(), entry->midr_range_list); in is_affected_midr_range_list()
55 return model == entry->midr_range.model; in is_kryo_midr()
70 * a consistent CTR_EL0 to make sure that applications behaves in has_mismatched_cache_type()
73 * If a CPU has CTR_EL0.IDC but does not advertise it via CTR_EL0 : in has_mismatched_cache_type()
82 * CTR_EL0 matches the system's copy to allow a secondary CPU to boot. in has_mismatched_cache_type()
96 /* Trap CTR_EL0 access on this CPU, only if it has a mismatch */ in cpu_enable_trap_ctr_access()
102 if (cap->capability == ARM64_WORKAROUND_1542419) in cpu_enable_trap_ctr_access()
143 /* Errata affecting a range of revisions of given model variant */
147 /* Errata affecting a single variant/revision of a model */
151 /* Errata affecting all variants/revisions of a given a model */
156 /* Errata affecting a list of midr ranges, with same work around */
224 /* Cortex-A510 r0p0 -> r1p1. Fixed in r1p2 */
249 /* Cavium ThunderX, T88 pass 1.x - 2.1 */
259 /* Cavium ThunderX, T88 pass 1.x - 2.2 */
261 /* Cavium ThunderX, T81 pass 1.0 - 1.2 */
287 /* Cortex-A53 r0p[012]: ARM errata 826319, 827319, 824069 */
291 /* Cortex-A53 r0p[01] : ARM errata 819472 */
300 * - 1188873 affects r0p0 to r2p0
301 * - 1418040 affects r0p0 to r3p1
304 /* Cortex-A76 r0p0 to r3p1 */
306 /* Neoverse-N1 r0p0 to r3p1 */
316 /* Cortex-A53 r0p[01234] */
318 /* Brahma-B53 r0p[0] */
329 /* Cortex-A53 r0p[01234] */
335 /* Brahma-B53 r0p[0] */
346 /* Cortex A76 r0p0 to r2p0 */
354 /* Cortex A55 r0p0 to r2p0 */
365 /* Cortex-A76 r0p0 - r3p1 */
428 /* Cortex-A520 r0p0 to r0p1 */
481 /* Cortex-A57 r0p0 - r1p2 */
491 /* Cortex-A57 r0p0 - r1p2 */
564 /* Cortex-A73 all versions */
571 .desc = "Spectre-v2",
579 /* Must come after the Spectre-v2 entry */
580 .desc = "Spectre-v3a",
588 .desc = "Spectre-v4",
595 .desc = "Spectre-BHB",
608 * also need the non-affected CPUs to be able to come
675 * driver and can be applied per-cpu. So, we can allow
676 * a late CPU to come online with this erratum.
718 /* Cortex-A510 r0p0 - r0p2 */
728 /* Cortex-A510 r0p0-r1p1 */
737 /* Cortex-A510 r0p0 - r0p2 */
746 /* Cortex-A510 r0p0 - r0p1 */
762 /* Cortex-A510 r0p0 - r1p1 */
769 .desc = "SSBS not fully self-synchronizing",
778 /* Cortex-A520 r0p0 - r0p1 */