Home
last modified time | relevance | path

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

/linux/arch/arm64/include/asm/
H A Dspectre.h85 bool has_spectre_v2(const struct arm64_cpu_capabilities *cap, int scope);
86 void spectre_v2_enable_mitigation(const struct arm64_cpu_capabilities *__unused);
88 bool has_spectre_v3a(const struct arm64_cpu_capabilities *cap, int scope);
89 void spectre_v3a_enable_mitigation(const struct arm64_cpu_capabilities *__unused);
92 bool has_spectre_v4(const struct arm64_cpu_capabilities *cap, int scope);
93 void spectre_v4_enable_mitigation(const struct arm64_cpu_capabilities *__unused);
99 bool is_spectre_bhb_affected(const struct arm64_cpu_capabilities *entry, int scope);
101 void spectre_bhb_enable_mitigation(const struct arm64_cpu_capabilities *__unused);
H A Dfpsimd.h150 struct arm64_cpu_capabilities;
151 extern void cpu_enable_fpsimd(const struct arm64_cpu_capabilities *__unused);
152 extern void cpu_enable_sve(const struct arm64_cpu_capabilities *__unused);
153 extern void cpu_enable_sme(const struct arm64_cpu_capabilities *__unused);
154 extern void cpu_enable_sme2(const struct arm64_cpu_capabilities *__unused);
155 extern void cpu_enable_fa64(const struct arm64_cpu_capabilities *__unused);
156 extern void cpu_enable_fpmr(const struct arm64_cpu_capabilities *__unused);
H A Dcpufeature.h334 struct arm64_cpu_capabilities { struct
338 bool (*matches)(const struct arm64_cpu_capabilities *caps, int scope); argument
351 void (*cpu_enable)(const struct arm64_cpu_capabilities *cap); argument
385 const struct arm64_cpu_capabilities *match_list; argument
389 static inline int cpucap_default_scope(const struct arm64_cpu_capabilities *cap) in cpucap_default_scope() argument
400 cpucap_multi_entry_cap_matches(const struct arm64_cpu_capabilities *entry, in cpucap_multi_entry_cap_matches()
403 const struct arm64_cpu_capabilities *caps; in cpucap_multi_entry_cap_matches()
/linux/arch/arm64/kernel/
H A 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()
168 needs_tx2_tvm_workaround(const struct arm64_cpu_capabilities *entry, in needs_tx2_tvm_workaround()
198 static const struct arm64_cpu_capabilities arm64_repeat_tlbi_list[] = {
270 static const struct arm64_cpu_capabilities qcom_erratum_1003_list[] = {
327 static const struct arm64_cpu_capabilities erratum_843419_list[] = {
[all …]
H A Dcpufeature.c1031 extern const struct arm64_cpu_capabilities arm64_errata[];
1032 static const struct arm64_cpu_capabilities arm64_features[];
2083 static bool has_amu(const struct arm64_cpu_capabilities *cap, in has_amu()
2380 static const struct arm64_cpu_capabilities arm64_features[] = {
3166 const struct arm64_cpu_capabilities *caps; in update_cpu_capabilities()
3196 const struct arm64_cpu_capabilities *cap = cpucap_ptrs[i]; in cpu_enable_non_boot_scope_capabilities()
3217 const struct arm64_cpu_capabilities *caps; in enable_cpu_capabilities()
3262 const struct arm64_cpu_capabilities *caps; in verify_local_cpu_caps()
3450 const struct arm64_cpu_capabilities *cap = cpucap_ptrs[n]; in this_cpu_has_cap()
3468 const struct arm64_cpu_capabilities *cap = cpucap_ptrs[n]; in __system_matches_cap()
[all …]
H A 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()
1002 void spectre_bhb_enable_mitigation(const struct arm64_cpu_capabilities *entry) in spectre_bhb_enable_mitigation()
H A Dfpsimd.c697 void cpu_enable_fpmr(const struct arm64_cpu_capabilities *__always_unused p) in cpu_enable_fpmr()
1145 void cpu_enable_sve(const struct arm64_cpu_capabilities *__always_unused p) in cpu_enable_sve()
1252 void cpu_enable_sme(const struct arm64_cpu_capabilities *__always_unused p) in cpu_enable_sme()
1270 void cpu_enable_sme2(const struct arm64_cpu_capabilities *__always_unused p) in cpu_enable_sme2()
1280 void cpu_enable_fa64(const struct arm64_cpu_capabilities *__always_unused p) in cpu_enable_fa64()
2146 void cpu_enable_fpsimd(const struct arm64_cpu_capabilities *__always_unused p) in cpu_enable_fpsimd()