Searched refs:cpus_have_final_cap (Results 1 – 19 of 19) sorted by relevance
47 if (cpus_have_final_cap(ARM64_HAS_TCR2)) in __sysreg_save_el1_state()58 if (cpus_have_final_cap(ARM64_HAS_S1PIE)) { in __sysreg_save_el1_state()85 if (cpus_have_final_cap(ARM64_HAS_RAS_EXTN)) in __sysreg_save_el2_return_state()105 !cpus_have_final_cap(ARM64_WORKAROUND_SPECULATIVE_AT)) { in __sysreg_restore_el1_state()123 if (cpus_have_final_cap(ARM64_HAS_TCR2)) in __sysreg_restore_el1_state()134 if (cpus_have_final_cap(ARM64_HAS_S1PIE)) { in __sysreg_restore_el1_state()147 cpus_have_final_cap(ARM64_WORKAROUND_SPECULATIVE_AT) && in __sysreg_restore_el1_state()208 if (cpus_have_final_cap(ARM64_HAS_RAS_EXTN)) in __sysreg_restore_el2_return_state()
88 if (!cpus_have_final_cap(ARM64_HAS_FGT)) in __activate_traps_hfgxtr()94 if (cpus_have_final_cap(ARM64_SME)) { in __activate_traps_hfgxtr()104 if (cpus_have_final_cap(ARM64_WORKAROUND_AMPERE_AC03_CPU_38)) in __activate_traps_hfgxtr()161 if (!cpus_have_final_cap(ARM64_HAS_FGT)) in __deactivate_traps_hfgxtr()200 if (cpus_have_final_cap(ARM64_HAS_HCX)) { in __activate_traps_common()230 if (cpus_have_final_cap(ARM64_HAS_HCX)) in __deactivate_traps_common()240 if (cpus_have_final_cap(ARM64_WORKAROUND_CAVIUM_TX2_219_TVM)) in ___activate_traps()245 if (cpus_have_final_cap(ARM64_HAS_RAS_EXTN) && (hcr & HCR_VSE)) in ___activate_traps()527 if (cpus_have_final_cap(ARM64_WORKAROUND_CAVIUM_TX2_219_TVM) && in kvm_hyp_handle_sysreg()531 if (cpus_have_final_cap(ARM64_WORKAROUND_AMPERE_AC03_CPU_38) && in kvm_hyp_handle_sysreg()[all …]
62 (cpus_have_final_cap(ARM64_WORKAROUND_834220) || in __get_fault_info()
135 return cpus_have_final_cap(ARM64_HAS_VIRT_HOST_EXTN); in has_vhe()143 return cpus_have_final_cap(ARM64_KVM_PROTECTED_MODE); in is_protected_kvm_enabled()151 return cpus_have_final_cap(ARM64_KVM_HVHE); in has_hvhe()
93 if (cpus_have_final_cap(ARM64_HAS_EVT) && in vcpu_reset_hcr()94 !cpus_have_final_cap(ARM64_MISMATCHED_CACHE_TYPE)) in vcpu_reset_hcr()589 if (cpus_have_final_cap(ARM64_SME)) in kvm_get_reset_cptr_el2()597 if (cpus_have_final_cap(ARM64_SME)) in kvm_get_reset_cptr_el2()605 if (cpus_have_final_cap(ARM64_SME)) in kvm_get_reset_cptr_el2()
10 cpus_have_final_cap(ARM64_HAS_NESTED_VIRT) && in vcpu_has_nv()
74 if (cpus_have_final_cap(ARM64_WORKAROUND_TSB_FLUSH_FAILURE)) \
481 static __always_inline bool cpus_have_final_cap(int num) in cpus_have_final_cap() function503 return cpus_have_final_cap(num); in cpus_have_const_cap()
772 ((cpus_have_final_cap(ARM64_HAS_ADDRESS_AUTH) || \773 cpus_have_final_cap(ARM64_HAS_GENERIC_AUTH)) && \
43 if (cpus_have_final_cap(ARM64_WORKAROUND_SPECULATIVE_AT)) { in __tlb_switch_to_guest()73 if (cpus_have_final_cap(ARM64_WORKAROUND_SPECULATIVE_AT)) { in __tlb_switch_to_host()
49 if (cpus_have_final_cap(ARM64_SME)) { in __activate_traps()69 if (cpus_have_final_cap(ARM64_WORKAROUND_SPECULATIVE_AT)) { in __activate_traps()90 if (cpus_have_final_cap(ARM64_WORKAROUND_SPECULATIVE_AT)) { in __deactivate_traps()
26 if (cpus_have_final_cap(ARM64_WORKAROUND_SPECULATIVE_AT)) { in __tlb_switch_to_guest()73 if (cpus_have_final_cap(ARM64_WORKAROUND_SPECULATIVE_AT)) { in __tlb_switch_to_host()
152 return (has_vhe() && cpus_have_final_cap(ARM64_HAS_ECV_CNTPOFF)); in has_cntpoff()
310 if (cpus_have_final_cap(ARM64_SSBS)) in kvm_smccc_call_handler()442 if (cpus_have_final_cap(ARM64_SSBS)) in get_kernel_wa_level()
1314 if (!cpus_have_final_cap(ARM64_HAS_STAGE2_FWB)) in kvm_arch_vcpu_ioctl_vcpu_init()1742 if (cpus_have_final_cap(ARM64_KVM_HVHE)) { in cpu_prepare_hyp_mode()1757 if (cpus_have_final_cap(ARM64_KVM_HVHE)) in cpu_prepare_hyp_mode()2420 if (cpus_have_final_cap(ARM64_WORKAROUND_DEVICE_LOAD_ACQUIRE) || in kvm_arm_init()2421 cpus_have_final_cap(ARM64_WORKAROUND_1508412)) in kvm_arm_init()
289 return (cpus_have_final_cap(ARM64_HAS_WFXT) && in vcpu_has_wfit_active()1558 if (cpus_have_final_cap(ARM64_HAS_ECV_CNTPOFF)) in kvm_timer_init_vhe()
1677 if (!cpus_have_final_cap(ARM64_HAS_FGT)) in populate_nv_trap_config()
1339 if (!cpus_have_final_cap(ARM64_HAS_WFXT)) in __kvm_read_sanitised_id_reg()
25 ({ cpus_have_final_cap(ARM64_KVM_HVHE) ? 2 : 3; })27 ({ cpus_have_final_cap(ARM64_KVM_HVHE) ? 0 : 1; })653 if (!cpus_have_final_cap(ARM64_WORKAROUND_AMPERE_AC03_CPU_38)) in kvm_get_vtcr()