Home
last modified time | relevance | path

Searched refs:cpus_have_final_cap (Results 1 – 19 of 19) sorted by relevance

/Linux-v6.6/arch/arm64/kvm/hyp/include/hyp/
Dsysreg-sr.h47 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()
Dswitch.h88 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 …]
Dfault.h62 (cpus_have_final_cap(ARM64_WORKAROUND_834220) || in __get_fault_info()
/Linux-v6.6/arch/arm64/include/asm/
Dvirt.h135 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()
Dkvm_emulate.h93 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()
Dkvm_nested.h10 cpus_have_final_cap(ARM64_HAS_NESTED_VIRT) && in vcpu_has_nv()
Dbarrier.h74 if (cpus_have_final_cap(ARM64_WORKAROUND_TSB_FLUSH_FAILURE)) \
Dcpufeature.h481 static __always_inline bool cpus_have_final_cap(int num) in cpus_have_final_cap() function
503 return cpus_have_final_cap(num); in cpus_have_const_cap()
Dkvm_host.h772 ((cpus_have_final_cap(ARM64_HAS_ADDRESS_AUTH) || \
773 cpus_have_final_cap(ARM64_HAS_GENERIC_AUTH)) && \
/Linux-v6.6/arch/arm64/kvm/hyp/nvhe/
Dtlb.c43 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()
Dswitch.c49 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()
/Linux-v6.6/arch/arm64/kvm/hyp/vhe/
Dtlb.c26 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()
/Linux-v6.6/include/kvm/
Darm_arch_timer.h152 return (has_vhe() && cpus_have_final_cap(ARM64_HAS_ECV_CNTPOFF)); in has_cntpoff()
/Linux-v6.6/arch/arm64/kvm/
Dhypercalls.c310 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()
Darm.c1314 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()
Darch_timer.c289 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()
Demulate-nested.c1677 if (!cpus_have_final_cap(ARM64_HAS_FGT)) in populate_nv_trap_config()
Dsys_regs.c1339 if (!cpus_have_final_cap(ARM64_HAS_WFXT)) in __kvm_read_sanitised_id_reg()
/Linux-v6.6/arch/arm64/kvm/hyp/
Dpgtable.c25 ({ 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()