Searched refs:has_vhe (Results 1 – 9 of 9) sorted by relevance
24 if (has_vhe() && attr->exclude_user) in kvm_pmu_switch_needed()136 if (!kvm_arm_support_pmu_v3() || !has_vhe()) in kvm_vcpu_pmu_restore_guest()157 if (!kvm_arm_support_pmu_v3() || !has_vhe()) in kvm_vcpu_pmu_restore_host()183 if (!kvm_arm_support_pmu_v3() || !has_vhe()) in kvm_set_pmuserenr()203 if (!has_vhe() || !in_interrupt()) in kvm_vcpu_pmu_resync_el0()
60 if (has_vhe()) in restore_guest_debug_regs() 77 if (has_vhe())231 if (has_vhe() || is_protected_kvm_enabled() || in kvm_arm_setup_debug() 241 if (has_vhe() || is_protected_kvm_enabled() || in kvm_arm_setup_debug() 254 if (has_vhe()) { in kvm_arm_setup_debug()
413 if (!has_vhe()) in kvm_arch_alloc_vm()592 if (has_vhe()) in kvm_arch_vcpu_load()633 if (has_vhe()) in kvm_arch_vcpu_put()
4933 if (has_vhe() || has_hvhe()) in vcpu_set_hcr()
51 } else if (has_vhe()) { in __vcpu_write_spsr()60 if (has_vhe()) in __vcpu_write_spsr_abt()68 if (has_vhe()) in __vcpu_write_spsr_und()
125 static __always_inline bool has_vhe(void) in has_vhe() function
1037 if (!has_vhe()) in __vcpu_read_sys_reg_from_cpu()1087 if (!has_vhe()) in __vcpu_write_sys_reg_to_cpu()1178 if (has_vhe()) { \1190 if (has_vhe()) { \1378 return (!has_vhe() && attr->exclude_host); in kvm_pmu_counter_deferred()
859 return !static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif) || has_vhe(); in can_access_vgic_from_kernel()937 if (has_vhe() && static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in kvm_vgic_load()951 if (has_vhe() && static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in kvm_vgic_put()
89 if (!has_vhe() && kvm_arm_support_pmu_v3()) \