Searched refs:cpus_have_cap (Results 1 – 11 of 11) sorted by relevance
172 if (cpus_have_cap(ARM64_HAS_VIRT_HOST_EXTN) || (!tag_val && i > 0)) { in kvm_update_va_mask()196 if (!cpus_have_cap(ARM64_SPECTRE_V3A) || in kvm_patch_vector_branch()197 WARN_ON_ONCE(cpus_have_cap(ARM64_HAS_VIRT_HOST_EXTN))) in kvm_patch_vector_branch()
65 if (cpus_have_cap(ARM64_UNMAP_KERNEL_AT_EL0)) in arm64_get_bp_hardening_vector()
188 return cpus_have_cap(ARM64_HAS_GIC_PRIO_RELAXED_SYNC); in gic_has_relaxed_pmr_sync()
460 static __always_inline bool cpus_have_cap(unsigned int num) in cpus_have_cap() function
120 if (cpus_have_cap(ARM64_MTE_ASYMM)) { in mte_enable_kernel_asymm()352 if (cpus_have_cap(ARM64_MTE_ASYMM) && in set_mte_ctrl()549 else if (cpus_have_cap(ARM64_MTE_ASYMM) && sysfs_streq(buf, "asymm")) in mte_tcf_preferred_store()
157 if (!cpus_have_cap(cap)) in __apply_alternatives()
589 if (cpus_have_cap(ARM64_SSBS)) in spectre_v4_patch_fw_mitigation_enable()987 if (cpus_have_cap(ARM64_UNMAP_KERNEL_AT_EL0)) in this_cpu_set_vectors()
1729 if (cpus_have_cap(ARM64_WORKAROUND_NVIDIA_CARMEL_CNP)) in has_useable_cnp()2234 if (!cpus_have_cap(ARM64_HAS_GIC_CPUIF_SYSREGS)) in can_use_gic_priorities()2253 if (!cpus_have_cap(ARM64_HAS_GIC_PRIO_MASKING)) in has_gic_prio_relaxed_sync()2306 if (cpus_have_cap(ARM64_WORKAROUND_2658417)) { in user_feature_fixup()2314 if (cpus_have_cap(ARM64_WORKAROUND_SPECULATIVE_SSBS)) { in user_feature_fixup()2326 if (cpus_have_cap(ARM64_WORKAROUND_1742098)) in elf_hwcap_fixup()3172 cpus_have_cap(caps->capability) || in update_cpu_capabilities()3226 !cpus_have_cap(caps->capability)) in enable_cpu_capabilities()3272 system_has_cap = cpus_have_cap(caps->capability); in verify_local_cpu_caps()
71 if (cpus_have_cap(ARM64_HAS_EPAN)) { in adjust_protection_map()
1021 if (cpus_have_cap(ARM64_HAS_VIRT_HOST_EXTN)) in build_insn()1648 if (cpus_have_cap(ARM64_HAS_LSE_ATOMICS)) in build_insn()2657 if (!cpus_have_cap(ARM64_HAS_LSE_ATOMICS)) in bpf_jit_supports_insn()
4176 if (cpus_have_cap(ARM64_HAS_VIRT_HOST_EXTN)) in arm_smmu_device_hw_probe()