Home
last modified time | relevance | path

Searched refs:SCOPE_LOCAL_CPU (Results 1 – 4 of 4) sorted by relevance

/linux/arch/arm64/kernel/
H A Dproton-pack.c199 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v2()
328 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v3a()
505 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v4()
854 if (scope != SCOPE_LOCAL_CPU) in is_spectre_bhb_safe()
962 if (scope == SCOPE_LOCAL_CPU) in supports_ecbhb()
976 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_spectre_bhb_affected()
989 if (scope == SCOPE_LOCAL_CPU && !supports_clearbhb(SCOPE_LOCAL_CPU)) in is_spectre_bhb_affected()
1031 if (!is_spectre_bhb_affected(entry, SCOPE_LOCAL_CPU)) in spectre_bhb_enable_mitigation()
1038 } else if (supports_ecbhb(SCOPE_LOCAL_CPU)) { in spectre_bhb_enable_mitigation()
1041 } else if (supports_clearbhb(SCOPE_LOCAL_CPU)) { in spectre_bhb_enable_mitigation()
H A Dcpu_errata.c77 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_affected_midr_range()
94 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_affected_midr_range_list()
103 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_kryo_midr()
120 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_mismatched_cache_type()
270 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_neoverse_n1_erratum_1542419()
H A Dcpufeature.c1626 WARN_ON(scope == SCOPE_LOCAL_CPU && preemptible()); in read_scoped_sysreg()
2001 return has_cpuid_feature(cap, SCOPE_LOCAL_CPU) && in cpu_can_use_dbm()
2054 if (has_cpuid_feature(cap, SCOPE_LOCAL_CPU)) { in cpu_amu_enable()
3404 WARN_ON(scope == SCOPE_LOCAL_CPU && preemptible()); in compat_has_neon()
3633 cpu_has_cap = caps->matches(caps, SCOPE_LOCAL_CPU); in verify_local_cpu_caps()
3689 if (cpus_have_elf_hwcap(caps) && !caps->matches(caps, SCOPE_LOCAL_CPU)) { in __verify_local_elf_hwcaps()
3837 update_cpu_capabilities(SCOPE_LOCAL_CPU); in check_local_cpu_capabilities()
3848 return cap->matches(cap, SCOPE_LOCAL_CPU); in this_cpu_has_cap()
3910 update_cpu_capabilities(SCOPE_BOOT_CPU | SCOPE_LOCAL_CPU); in setup_boot_cpu_capabilities()
/linux/arch/arm64/include/asm/
H A Dcpufeature.h265 #define SCOPE_LOCAL_CPU ARM64_CPUCAP_SCOPE_LOCAL_CPU macro
650 if (scope == SCOPE_LOCAL_CPU) in supports_csv2p3()
664 if (scope == SCOPE_LOCAL_CPU) in supports_clearbhb()