Searched refs:cpus_have_const_cap (Results 1 – 23 of 23) sorted by relevance
476 static __always_inline bool cpus_have_const_cap(int num) in cpus_have_const_cap() function611 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 …]
41 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()
153 if (cpus_have_const_cap(ARM64_HAS_STAGE2_FWB))240 if (cpus_have_const_cap(ARM64_SPECTRE_V2) && data->fn) {
47 if (!cpus_have_const_cap(ARM64_HAS_RNG)) in arch_get_random_seed_long()
49 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()
56 cpus_have_const_cap(ARM64_WORKAROUND_843419) && in is_forbidden_offset_for_adrp()
132 if (cpus_have_const_cap(ARM64_HAS_CACHE_DIC)) in __flush_icache_all()
78 if (cpus_have_const_cap(ARM64_HAS_STAGE2_FWB)) \
107 if (cpus_have_const_cap(ARM64_HAS_ARMv8_4_TTL) && \
62 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()
145 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()
765 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()
1325 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()
898 else if (cpus_have_const_cap(ARM64_HAS_CACHE_DIC)) in user_mem_abort()
206 if (!cpus_have_const_cap(ARM64_HAS_STAGE2_FWB)) in access_dcsw()
35 if (cpus_have_const_cap(ARM64_WORKAROUND_1542419)) { in __do_compat_cache_op()
210 !cpus_have_const_cap(ARM64_WORKAROUND_843419)) in count_plts()246 cpus_have_const_cap(ARM64_WORKAROUND_843419)) in count_plts()
428 cpus_have_const_cap(ARM64_HAS_UAO)) in copy_thread()492 if (cpus_have_const_cap(ARM64_SSBS)) in ssbs_thread_switch()
494 if (cpus_have_const_cap(ARM64_WORKAROUND_1542419)) { in ctr_read_handler()
1363 if (cpus_have_const_cap(ARM64_WORKAROUND_CAVIUM_27456)) { in unmap_kernel_at_el0()
645 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()
633 if (cpus_have_const_cap(ARM64_WORKAROUND_CAVIUM_30115)) { in vgic_v3_probe()
219 if (cpus_have_const_cap(ARM64_WORKAROUND_CAVIUM_23154)) in gic_read_iar()