Home
last modified time | relevance | path

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

12

/linux-5.19.10/arch/arm64/include/asm/
Dcpufeature.h500 static __always_inline bool cpus_have_const_cap(int num) in cpus_have_const_cap() function
748 return !cpus_have_const_cap(ARM64_HAS_NO_FPSIMD); in system_supports_fpsimd()
754 cpus_have_const_cap(ARM64_HAS_PAN); in system_uses_hw_pan()
766 cpus_have_const_cap(ARM64_SVE); in system_supports_sve()
772 cpus_have_const_cap(ARM64_SME); in system_supports_sme()
778 cpus_have_const_cap(ARM64_SME_FA64); in system_supports_fa64()
789 cpus_have_const_cap(ARM64_HAS_CNP); in system_supports_cnp()
795 cpus_have_const_cap(ARM64_HAS_ADDRESS_AUTH); in system_supports_address_auth()
801 cpus_have_const_cap(ARM64_HAS_GENERIC_AUTH); in system_supports_generic_auth()
812 cpus_have_const_cap(ARM64_HAS_IRQ_PRIO_MASKING); in system_uses_irq_prio_masking()
[all …]
Darchrandom.h71 if (cpus_have_const_cap(ARM64_HAS_RNG) && __arm64_rndr(v)) in arch_get_random_long()
78 if (cpus_have_const_cap(ARM64_HAS_RNG)) { in arch_get_random_int()
112 if (cpus_have_const_cap(ARM64_HAS_RNG) && __arm64_rndrrs(v)) in arch_get_random_seed_long()
131 if (cpus_have_const_cap(ARM64_HAS_RNG)) { in arch_get_random_seed_int()
Dkvm_emulate.h69 if (cpus_have_const_cap(ARM64_HAS_RAS_EXTN)) { in vcpu_reset_hcr()
76 if (cpus_have_const_cap(ARM64_HAS_STAGE2_FWB)) { in vcpu_reset_hcr()
91 if (cpus_have_const_cap(ARM64_MISMATCHED_CACHE_TYPE) || in vcpu_reset_hcr()
Dmmu.h60 return cpus_have_const_cap(ARM64_UNMAP_KERNEL_AT_EL0); in arm64_kernel_unmapped_at_el0()
Dcacheflush.h140 if (cpus_have_const_cap(ARM64_HAS_CACHE_DIC)) in icache_inval_all_pou()
Dmodule.h56 cpus_have_const_cap(ARM64_WORKAROUND_843419) && in is_forbidden_offset_for_adrp()
Dspectre.h75 if (!cpus_have_const_cap(ARM64_SPECTRE_V2)) in arm64_apply_bp_hardening()
Dkvm_mmu.h205 if (cpus_have_const_cap(ARM64_HAS_STAGE2_FWB)) in __clean_dcache_guest_page()
Dtlbflush.h107 if (cpus_have_const_cap(ARM64_HAS_ARMv8_4_TTL) && \
Dkvm_host.h761 return cpus_have_const_cap(ARM64_SPECTRE_V3A); in kvm_system_needs_idmapped_vectors()
/linux-5.19.10/arch/arm64/mm/
Dmmap.c50 if (cpus_have_const_cap(ARM64_HAS_EPAN)) { in adjust_protection_map()
Dfault.c562 if (!cpus_have_const_cap(ARM64_HAS_EPAN)) in do_page_fault()
/linux-5.19.10/arch/arm64/lib/
Ddelay.c30 if (cpus_have_const_cap(ARM64_HAS_WFXT)) { in __delay()
/linux-5.19.10/arch/arm64/kernel/
Dsys_compat.c34 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.c458 if (cpus_have_const_cap(ARM64_SSBS)) in ssbs_thread_switch()
Dtraps.c580 if (cpus_have_const_cap(ARM64_WORKAROUND_1542419)) { in ctr_read_handler()
/linux-5.19.10/arch/arm64/kvm/
Dva_layout.c196 if (!cpus_have_const_cap(ARM64_SPECTRE_V3A) || WARN_ON_ONCE(has_vhe())) in kvm_patch_vector_branch()
Dreset.c216 if (!cpus_have_const_cap(ARM64_HAS_32BIT_EL1) && is32bit) in kvm_set_vm_width()
Dguest.c807 events->exception.serror_has_esr = cpus_have_const_cap(ARM64_HAS_RAS_EXTN); in __kvm_arm_vcpu_get_events()
829 if (!cpus_have_const_cap(ARM64_HAS_RAS_EXTN)) in __kvm_arm_vcpu_set_events()
Darm.c265 r = cpus_have_const_cap(ARM64_HAS_32BIT_EL1); in kvm_vm_ioctl_check_extension()
277 r = cpus_have_const_cap(ARM64_HAS_RAS_EXTN); in kvm_vm_ioctl_check_extension()
Dmmu.c1283 else if (cpus_have_const_cap(ARM64_HAS_CACHE_DIC)) in user_mem_abort()
/linux-5.19.10/arch/arm64/kvm/vgic/
Dvgic-v3.c690 if (cpus_have_const_cap(ARM64_WORKAROUND_CAVIUM_30115)) { in vgic_v3_probe()
/linux-5.19.10/drivers/clocksource/
Darm_arch_timer.c889 if (cpus_have_const_cap(ARM64_HAS_ECV) && divider > 15) { in arch_timer_evtstrm_enable()
/linux-5.19.10/arch/arm64/kvm/hyp/
Dpgtable.c615 if (!cpus_have_const_cap(ARM64_HAS_STAGE2_FWB)) in stage2_has_fwb()

12