Home
last modified time | relevance | path

Searched refs:cpus_have_cap (Results 1 – 11 of 11) sorted by relevance

/linux/arch/arm64/kvm/
H A Dva_layout.c172 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()
/linux/arch/arm64/include/asm/
H A Dvectors.h65 if (cpus_have_cap(ARM64_UNMAP_KERNEL_AT_EL0)) in arm64_get_bp_hardening_vector()
H A Darch_gicv3.h188 return cpus_have_cap(ARM64_HAS_GIC_PRIO_RELAXED_SYNC); in gic_has_relaxed_pmr_sync()
H A Dcpufeature.h460 static __always_inline bool cpus_have_cap(unsigned int num) in cpus_have_cap() function
/linux/arch/arm64/kernel/
H A Dmte.c120 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()
H A Dalternative.c157 if (!cpus_have_cap(cap)) in __apply_alternatives()
H A Dproton-pack.c589 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()
H A Dcpufeature.c1729 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()
/linux/arch/arm64/mm/
H A Dmmap.c71 if (cpus_have_cap(ARM64_HAS_EPAN)) { in adjust_protection_map()
/linux/arch/arm64/net/
H A Dbpf_jit_comp.c1021 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()
/linux/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c4176 if (cpus_have_cap(ARM64_HAS_VIRT_HOST_EXTN)) in arm_smmu_device_hw_probe()