Home
last modified time | relevance | path

Searched refs:cpus_have_const_cap (Results 1 – 23 of 23) sorted by relevance

/Linux-v5.10/arch/arm64/include/asm/
Dcpufeature.h476 static __always_inline bool cpus_have_const_cap(int num) in cpus_have_const_cap() function
611 return cpus_have_const_cap(ARM64_HAS_32BIT_EL0); in system_supports_32bit_el0()
669 return !cpus_have_const_cap(ARM64_HAS_NO_FPSIMD); in system_supports_fpsimd()
675 !cpus_have_const_cap(ARM64_HAS_PAN); in system_uses_ttbr0_pan()
681 cpus_have_const_cap(ARM64_SVE); in system_supports_sve()
687 cpus_have_const_cap(ARM64_HAS_CNP); in system_supports_cnp()
693 cpus_have_const_cap(ARM64_HAS_ADDRESS_AUTH); in system_supports_address_auth()
699 cpus_have_const_cap(ARM64_HAS_GENERIC_AUTH); in system_supports_generic_auth()
705 cpus_have_const_cap(ARM64_HAS_IRQ_PRIO_MASKING); in system_uses_irq_prio_masking()
711 cpus_have_const_cap(ARM64_MTE); in system_supports_mte()
[all …]
Dmmu.h41 return cpus_have_const_cap(ARM64_UNMAP_KERNEL_AT_EL0); in arm64_kernel_unmapped_at_el0()
62 if (!cpus_have_const_cap(ARM64_SPECTRE_V2)) in arm64_apply_bp_hardening()
Dkvm_mmu.h153 if (cpus_have_const_cap(ARM64_HAS_STAGE2_FWB))
240 if (cpus_have_const_cap(ARM64_SPECTRE_V2) && data->fn) {
Darchrandom.h47 if (!cpus_have_const_cap(ARM64_HAS_RNG)) in arch_get_random_seed_long()
Dkvm_emulate.h49 if (cpus_have_const_cap(ARM64_HAS_RAS_EXTN)) { in vcpu_reset_hcr()
56 if (cpus_have_const_cap(ARM64_HAS_STAGE2_FWB)) { in vcpu_reset_hcr()
79 if (cpus_have_const_cap(ARM64_MISMATCHED_CACHE_TYPE) || in vcpu_reset_hcr()
Dmodule.h56 cpus_have_const_cap(ARM64_WORKAROUND_843419) && in is_forbidden_offset_for_adrp()
Dcacheflush.h132 if (cpus_have_const_cap(ARM64_HAS_CACHE_DIC)) in __flush_icache_all()
Dpgtable-prot.h78 if (cpus_have_const_cap(ARM64_HAS_STAGE2_FWB)) \
Dtlbflush.h107 if (cpus_have_const_cap(ARM64_HAS_ARMv8_4_TTL) && \
/Linux-v5.10/arch/arm64/kvm/
Dreset.c62 r = cpus_have_const_cap(ARM64_HAS_32BIT_EL1); in kvm_arch_vm_ioctl_check_extension()
74 r = cpus_have_const_cap(ARM64_HAS_RAS_EXTN); in kvm_arch_vm_ioctl_check_extension()
280 if (!cpus_have_const_cap(ARM64_HAS_32BIT_EL1)) { in kvm_reset_vcpu()
Dva_layout.c145 if (has_vhe() || !cpus_have_const_cap(ARM64_HARDEN_EL2_VECTORS)) { in kvm_patch_vector_branch()
146 WARN_ON_ONCE(cpus_have_const_cap(ARM64_HARDEN_EL2_VECTORS)); in kvm_patch_vector_branch()
Dguest.c765 events->exception.serror_has_esr = cpus_have_const_cap(ARM64_HAS_RAS_EXTN); in __kvm_arm_vcpu_get_events()
787 if (!cpus_have_const_cap(ARM64_HAS_RAS_EXTN)) in __kvm_arm_vcpu_set_events()
Darm.c1325 if (cpus_have_const_cap(ARM64_SPECTRE_V2)) { in kvm_map_vectors()
1330 if (cpus_have_const_cap(ARM64_HARDEN_EL2_VECTORS)) { in kvm_map_vectors()
Dmmu.c898 else if (cpus_have_const_cap(ARM64_HAS_CACHE_DIC)) in user_mem_abort()
Dsys_regs.c206 if (!cpus_have_const_cap(ARM64_HAS_STAGE2_FWB)) in access_dcsw()
/Linux-v5.10/arch/arm64/kernel/
Dsys_compat.c35 if (cpus_have_const_cap(ARM64_WORKAROUND_1542419)) { in __do_compat_cache_op()
Dmodule-plts.c210 !cpus_have_const_cap(ARM64_WORKAROUND_843419)) in count_plts()
246 cpus_have_const_cap(ARM64_WORKAROUND_843419)) in count_plts()
Dprocess.c428 cpus_have_const_cap(ARM64_HAS_UAO)) in copy_thread()
492 if (cpus_have_const_cap(ARM64_SSBS)) in ssbs_thread_switch()
Dtraps.c494 if (cpus_have_const_cap(ARM64_WORKAROUND_1542419)) { in ctr_read_handler()
Dcpufeature.c1363 if (cpus_have_const_cap(ARM64_WORKAROUND_CAVIUM_27456)) { in unmap_kernel_at_el0()
/Linux-v5.10/arch/arm64/kvm/hyp/
Dpgtable.c645 if (cpus_have_const_cap(ARM64_HAS_STAGE2_FWB)) in stage2_flush_dcache()
849 if (cpus_have_const_cap(ARM64_HAS_STAGE2_FWB)) in kvm_pgtable_stage2_flush()
/Linux-v5.10/arch/arm64/kvm/vgic/
Dvgic-v3.c633 if (cpus_have_const_cap(ARM64_WORKAROUND_CAVIUM_30115)) { in vgic_v3_probe()
/Linux-v5.10/drivers/irqchip/
Dirq-gic-v3.c219 if (cpus_have_const_cap(ARM64_WORKAROUND_CAVIUM_23154)) in gic_read_iar()