Home
last modified time | relevance | path

Searched refs:arm64_cpu_capabilities (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dspectre.h24 bool has_spectre_v2(const struct arm64_cpu_capabilities *cap, int scope);
25 void spectre_v2_enable_mitigation(const struct arm64_cpu_capabilities *__unused);
28 bool has_spectre_v4(const struct arm64_cpu_capabilities *cap, int scope);
29 void spectre_v4_enable_mitigation(const struct arm64_cpu_capabilities *__unused);
33 bool is_spectre_bhb_affected(const struct arm64_cpu_capabilities *entry, int scope);
35 void spectre_bhb_enable_mitigation(const struct arm64_cpu_capabilities *__unused);
Dcpufeature.h305 struct arm64_cpu_capabilities { struct
309 bool (*matches)(const struct arm64_cpu_capabilities *caps, int scope); argument
322 void (*cpu_enable)(const struct arm64_cpu_capabilities *cap); argument
354 const struct arm64_cpu_capabilities *match_list; argument
357 static inline int cpucap_default_scope(const struct arm64_cpu_capabilities *cap) in cpucap_default_scope()
368 cpucap_multi_entry_cap_matches(const struct arm64_cpu_capabilities *entry, in cpucap_multi_entry_cap_matches()
371 const struct arm64_cpu_capabilities *caps; in cpucap_multi_entry_cap_matches()
Dfpsimd.h77 struct arm64_cpu_capabilities;
78 extern void sve_kernel_enable(const struct arm64_cpu_capabilities *__unused);
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dcpu_errata.c18 is_affected_midr_range(const struct arm64_cpu_capabilities *entry, int scope) in is_affected_midr_range()
37 is_affected_midr_range_list(const struct arm64_cpu_capabilities *entry, in is_affected_midr_range_list()
45 is_kryo_midr(const struct arm64_cpu_capabilities *entry, int scope) in is_kryo_midr()
59 has_mismatched_cache_type(const struct arm64_cpu_capabilities *entry, in has_mismatched_cache_type()
91 cpu_enable_trap_ctr_access(const struct arm64_cpu_capabilities *cap) in cpu_enable_trap_ctr_access()
113 has_cortex_a76_erratum_1463225(const struct arm64_cpu_capabilities *entry, in has_cortex_a76_erratum_1463225()
121 cpu_enable_cache_maint_trap(const struct arm64_cpu_capabilities *__unused) in cpu_enable_cache_maint_trap()
170 needs_tx2_tvm_workaround(const struct arm64_cpu_capabilities *entry, in needs_tx2_tvm_workaround()
188 has_neoverse_n1_erratum_1542419(const struct arm64_cpu_capabilities *entry, in has_neoverse_n1_erratum_1542419()
210 static const struct arm64_cpu_capabilities arm64_repeat_tlbi_list[] = {
[all …]
Dcpufeature.c102 static struct arm64_cpu_capabilities const __ro_after_init *cpu_hwcaps_ptrs[ARM64_NCAPS];
163 cpufeature_pan_not_uao(const struct arm64_cpu_capabilities *entry, int __unused);
165 static void cpu_enable_cnp(struct arm64_cpu_capabilities const *cap);
806 extern const struct arm64_cpu_capabilities arm64_errata[];
807 static const struct arm64_cpu_capabilities arm64_features[];
810 init_cpu_hwcaps_indirect_list_from_array(const struct arm64_cpu_capabilities *caps) in init_cpu_hwcaps_indirect_list_from_array()
1189 feature_matches(u64 reg, const struct arm64_cpu_capabilities *entry) in feature_matches()
1197 has_cpuid_feature(const struct arm64_cpu_capabilities *entry, int scope) in has_cpuid_feature()
1210 static bool has_useable_gicv3_cpuif(const struct arm64_cpu_capabilities *entry, int scope) in has_useable_gicv3_cpuif()
1225 static bool has_no_hw_prefetch(const struct arm64_cpu_capabilities *entry, int __unused) in has_no_hw_prefetch()
[all …]
Dproton-pack.c201 bool has_spectre_v2(const struct arm64_cpu_capabilities *entry, int scope) in has_spectre_v2()
348 void spectre_v2_enable_mitigation(const struct arm64_cpu_capabilities *__unused) in spectre_v2_enable_mitigation()
527 bool has_spectre_v4(const struct arm64_cpu_capabilities *cap, int scope) in has_spectre_v4()
659 void spectre_v4_enable_mitigation(const struct arm64_cpu_capabilities *__unused) in spectre_v4_enable_mitigation()
955 bool is_spectre_bhb_affected(const struct arm64_cpu_capabilities *entry, in is_spectre_bhb_affected()
1051 void spectre_bhb_enable_mitigation(const struct arm64_cpu_capabilities *entry) in spectre_bhb_enable_mitigation()
Dfpsimd.c820 void sve_kernel_enable(const struct arm64_cpu_capabilities *__always_unused p) in sve_kernel_enable()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0001_linux_arch.patch13985 @@ -29,8 +29,4 @@ bool has_spectre_v4(const struct arm64_cpu_capabilities *cap, int scope);
13986 void spectre_v4_enable_mitigation(const struct arm64_cpu_capabilities *__unused);
13990 -bool is_spectre_bhb_affected(const struct arm64_cpu_capabilities *entry, int scope);
13992 -void spectre_bhb_enable_mitigation(const struct arm64_cpu_capabilities *__unused);
14212 @@ -473,13 +473,6 @@ const struct arm64_cpu_capabilities arm64_errata[] = {
14281 @@ -821,9 +810,22 @@ init_cpu_hwcaps_indirect_list_from_array(const struct arm64_cpu_capabilities *…
14329 @@ -1417,12 +1415,6 @@ kpti_install_ng_mappings(const struct arm64_cpu_capabilities *__unused)
15043 -bool is_spectre_bhb_affected(const struct arm64_cpu_capabilities *entry,
15139 -void spectre_bhb_enable_mitigation(const struct arm64_cpu_capabilities *entry)