Home
last modified time | relevance | path

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

/linux-6.1.9/arch/arm64/include/asm/
Dspectre.h84 bool has_spectre_v2(const struct arm64_cpu_capabilities *cap, int scope);
85 void spectre_v2_enable_mitigation(const struct arm64_cpu_capabilities *__unused);
87 bool has_spectre_v3a(const struct arm64_cpu_capabilities *cap, int scope);
88 void spectre_v3a_enable_mitigation(const struct arm64_cpu_capabilities *__unused);
91 bool has_spectre_v4(const struct arm64_cpu_capabilities *cap, int scope);
92 void spectre_v4_enable_mitigation(const struct arm64_cpu_capabilities *__unused);
98 bool is_spectre_bhb_affected(const struct arm64_cpu_capabilities *entry, int scope);
100 void spectre_bhb_enable_mitigation(const struct arm64_cpu_capabilities *__unused);
Dcpufeature.h329 struct arm64_cpu_capabilities { struct
333 bool (*matches)(const struct arm64_cpu_capabilities *caps, int scope); argument
346 void (*cpu_enable)(const struct arm64_cpu_capabilities *cap); argument
379 const struct arm64_cpu_capabilities *match_list; argument
382 static inline int cpucap_default_scope(const struct arm64_cpu_capabilities *cap) in cpucap_default_scope()
393 cpucap_multi_entry_cap_matches(const struct arm64_cpu_capabilities *entry, in cpucap_multi_entry_cap_matches()
396 const struct arm64_cpu_capabilities *caps; in cpucap_multi_entry_cap_matches()
Dfpsimd.h109 struct arm64_cpu_capabilities;
110 extern void sve_kernel_enable(const struct arm64_cpu_capabilities *__unused);
111 extern void sme_kernel_enable(const struct arm64_cpu_capabilities *__unused);
112 extern void fa64_kernel_enable(const struct arm64_cpu_capabilities *__unused);
/linux-6.1.9/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()
111 has_cortex_a76_erratum_1463225(const struct arm64_cpu_capabilities *entry, in has_cortex_a76_erratum_1463225()
119 cpu_enable_cache_maint_trap(const struct arm64_cpu_capabilities *__unused) in cpu_enable_cache_maint_trap()
126 cpu_clear_bf16_from_user_emulation(const struct arm64_cpu_capabilities *__unused) in cpu_clear_bf16_from_user_emulation()
184 needs_tx2_tvm_workaround(const struct arm64_cpu_capabilities *entry, in needs_tx2_tvm_workaround()
202 has_neoverse_n1_erratum_1542419(const struct arm64_cpu_capabilities *entry, in has_neoverse_n1_erratum_1542419()
[all …]
Dcpufeature.c109 static struct arm64_cpu_capabilities const __ro_after_init *cpu_hwcaps_ptrs[ARM64_NCAPS];
166 static void cpu_enable_cnp(struct arm64_cpu_capabilities const *cap);
933 extern const struct arm64_cpu_capabilities arm64_errata[];
934 static const struct arm64_cpu_capabilities arm64_features[];
937 init_cpu_hwcaps_indirect_list_from_array(const struct arm64_cpu_capabilities *caps) in init_cpu_hwcaps_indirect_list_from_array()
1399 has_always(const struct arm64_cpu_capabilities *entry, int scope) in has_always()
1405 feature_matches(u64 reg, const struct arm64_cpu_capabilities *entry) in feature_matches()
1415 read_scoped_sysreg(const struct arm64_cpu_capabilities *entry, int scope) in read_scoped_sysreg()
1425 has_user_cpuid_feature(const struct arm64_cpu_capabilities *entry, int scope) in has_user_cpuid_feature()
1445 has_cpuid_feature(const struct arm64_cpu_capabilities *entry, int scope) in has_cpuid_feature()
[all …]
Dproton-pack.c202 bool has_spectre_v2(const struct arm64_cpu_capabilities *entry, int scope) in has_spectre_v2()
305 void spectre_v2_enable_mitigation(const struct arm64_cpu_capabilities *__unused) in spectre_v2_enable_mitigation()
325 bool has_spectre_v3a(const struct arm64_cpu_capabilities *entry, int scope) in has_spectre_v3a()
337 void spectre_v3a_enable_mitigation(const struct arm64_cpu_capabilities *__unused) in spectre_v3a_enable_mitigation()
511 bool has_spectre_v4(const struct arm64_cpu_capabilities *cap, int scope) in has_spectre_v4()
643 void spectre_v4_enable_mitigation(const struct arm64_cpu_capabilities *__unused) in spectre_v4_enable_mitigation()
957 bool is_spectre_bhb_affected(const struct arm64_cpu_capabilities *entry, in is_spectre_bhb_affected()
1005 void spectre_bhb_enable_mitigation(const struct arm64_cpu_capabilities *entry) in spectre_bhb_enable_mitigation()
Dfpsimd.c1103 void sve_kernel_enable(const struct arm64_cpu_capabilities *__always_unused p) in sve_kernel_enable()
1242 void sme_kernel_enable(const struct arm64_cpu_capabilities *__always_unused p) in sme_kernel_enable()
1261 void fa64_kernel_enable(const struct arm64_cpu_capabilities *__always_unused p) in fa64_kernel_enable()