Home
last modified time | relevance | path

Searched refs:SCOPE_LOCAL_CPU (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-6.6/arch/arm64/kernel/
H A Dproton-pack.c204 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v2()
333 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v3a()
515 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v4()
833 * This must be called with SCOPE_LOCAL_CPU for each type of CPU, before any
841 if (scope == SCOPE_LOCAL_CPU) { in spectre_bhb_loop_affected()
920 if (scope != SCOPE_LOCAL_CPU) in is_spectre_bhb_fw_affected()
936 if (scope == SCOPE_LOCAL_CPU) in supports_ecbhb()
948 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_spectre_bhb_affected()
996 if (!is_spectre_bhb_affected(entry, SCOPE_LOCAL_CPU)) in spectre_bhb_enable_mitigation()
1005 } else if (supports_ecbhb(SCOPE_LOCAL_CPU)) { in spectre_bhb_enable_mitigation()
[all...]
H A Dcpu_errata.c23 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_affected_midr_range()
40 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_affected_midr_range_list()
49 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_kryo_midr()
66 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_mismatched_cache_type()
209 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_neoverse_n1_erratum_1542419()
H A Dcpufeature.c1453 WARN_ON(scope == SCOPE_LOCAL_CPU && preemptible()); in read_scoped_sysreg()
1880 return has_cpuid_feature(cap, SCOPE_LOCAL_CPU) && in cpu_can_use_dbm()
1946 if (has_cpuid_feature(cap, SCOPE_LOCAL_CPU)) { in cpu_amu_enable()
2071 /* Now check for the secondary CPUs with SCOPE_LOCAL_CPU scope */ in has_address_auth_cpucap()
2881 WARN_ON(scope == SCOPE_LOCAL_CPU && preemptible()); in compat_has_neon()
3083 cpu_has_cap = caps->matches(caps, SCOPE_LOCAL_CPU); in verify_local_cpu_caps()
3139 if (cpus_have_elf_hwcap(caps) && !caps->matches(caps, SCOPE_LOCAL_CPU)) { in __verify_local_elf_hwcaps()
3262 update_cpu_capabilities(SCOPE_LOCAL_CPU); in check_local_cpu_capabilities()
3269 /* Detect capabilities with either SCOPE_BOOT_CPU or SCOPE_LOCAL_CPU */ in setup_boot_cpu_capabilities()
3270 update_cpu_capabilities(SCOPE_BOOT_CPU | SCOPE_LOCAL_CPU); in setup_boot_cpu_capabilities()
[all...]
/kernel/linux/linux-5.10/arch/arm64/kernel/
H A Dproton-pack.c203 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v2()
531 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v4()
841 * This must be called with SCOPE_LOCAL_CPU for each type of CPU, before any
849 if (scope == SCOPE_LOCAL_CPU) { in spectre_bhb_loop_affected()
925 if (scope != SCOPE_LOCAL_CPU) in is_spectre_bhb_fw_affected()
941 if (scope == SCOPE_LOCAL_CPU) in supports_ecbhb()
953 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_spectre_bhb_affected()
1050 if (!is_spectre_bhb_affected(entry, SCOPE_LOCAL_CPU)) in spectre_bhb_enable_mitigation()
1059 } else if (supports_ecbhb(SCOPE_LOCAL_CPU)) { in spectre_bhb_enable_mitigation()
1061 } else if (supports_clearbhb(SCOPE_LOCAL_CPU)) { in spectre_bhb_enable_mitigation()
[all...]
H A Dcpu_errata.c23 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_affected_midr_range()
40 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_affected_midr_range_list()
49 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_kryo_midr()
66 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_mismatched_cache_type()
195 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_neoverse_n1_erratum_1542419()
H A Dcpufeature.c1204 WARN_ON(scope == SCOPE_LOCAL_CPU && preemptible()); in has_cpuid_feature()
1495 return has_cpuid_feature(cap, SCOPE_LOCAL_CPU) && in cpu_can_use_dbm()
1559 if (has_cpuid_feature(cap, SCOPE_LOCAL_CPU)) { in cpu_amu_enable()
1662 /* Now check for the secondary CPUs with SCOPE_LOCAL_CPU scope */ in has_address_auth_cpucap()
2306 WARN_ON(scope == SCOPE_LOCAL_CPU && preemptible()); in compat_has_neon()
2502 cpu_has_cap = caps->matches(caps, SCOPE_LOCAL_CPU); in verify_local_cpu_caps()
2558 if (cpus_have_elf_hwcap(caps) && !caps->matches(caps, SCOPE_LOCAL_CPU)) { in verify_local_elf_hwcaps()
2657 update_cpu_capabilities(SCOPE_LOCAL_CPU); in check_local_cpu_capabilities()
2664 /* Detect capabilities with either SCOPE_BOOT_CPU or SCOPE_LOCAL_CPU */ in setup_boot_cpu_capabilities()
2665 update_cpu_capabilities(SCOPE_BOOT_CPU | SCOPE_LOCAL_CPU); in setup_boot_cpu_capabilities()
[all...]
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dcpufeature.h103 * a) SCOPE_LOCAL_CPU: check all the CPUs and "detect" if at least one
158 * b) SCOPE_LOCAL_CPU, SCOPE_SYSTEM: All CPUs hotplugged on by the
236 #define SCOPE_LOCAL_CPU ARM64_CPUCAP_SCOPE_LOCAL_CPU macro
614 if (scope == SCOPE_LOCAL_CPU) in supports_csv2p3()
628 if (scope == SCOPE_LOCAL_CPU) in supports_clearbhb()
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dcpufeature.h130 * a) SCOPE_LOCAL_CPU: check all the CPUs and "detect" if at least one
185 * b) SCOPE_LOCAL_CPU, SCOPE_SYSTEM: All CPUs hotplugged on by the
263 #define SCOPE_LOCAL_CPU ARM64_CPUCAP_SCOPE_LOCAL_CPU macro
646 if (scope == SCOPE_LOCAL_CPU) in supports_csv2p3()
660 if (scope == SCOPE_LOCAL_CPU) in supports_clearbhb()

Completed in 14 milliseconds