has_vhe
if (has_vhe()) { \
if (has_vhe()) { \
return (!has_vhe() && attr->exclude_host);
(has_vhe() || has_hvhe()) &&
} else if (has_vhe()) {
} else if (has_vhe()) {
if (!has_vhe())
if (!has_vhe())
if (has_vhe())
if (has_vhe())
if (has_vhe())
if (has_vhe())
if (!skip_trbe_access(has_vhe()))
if (!skip_trbe_access(has_vhe()))
if (has_vhe()) {
if (has_vhe())
if (has_vhe())
if (has_vhe())
if (has_vhe())
if (has_vhe()) {
if (has_vhe() && vcpu_get_flag(vcpu, SYSREGS_ON_CPU))
if (has_vhe() && vcpu_get_flag(vcpu, SYSREGS_ON_CPU))
if (has_vhe() || has_hvhe())
if (has_vhe() || has_hvhe())
if (has_vhe()) {
if (!has_vhe() && ctxt->__hyp_running_vcpu)
if (has_vhe() ||
if (!has_vhe() &&
if (has_vhe() || kvm_debug_regs_in_use(vcpu))
if (has_vhe() || kvm_debug_regs_in_use(vcpu))
if (used_lrs || !has_vhe()) {
if (used_lrs || !has_vhe()) {
if (has_vhe()) {
if (has_vhe()) {
if (has_vhe()) {
if (!system_supports_pmuv3() || !has_vhe())
if (!system_supports_pmuv3() || !has_vhe())
if (!system_supports_pmuv3() || !has_vhe())
if (!has_vhe() || !in_interrupt())
if (has_vhe() && attr->exclude_user)
WARN_ON_ONCE(!has_vhe() && loc.loc != SR_LOC_MEMORY);
WARN_ON_ONCE(!has_vhe() && loc.loc != SR_LOC_MEMORY);
if (has_vhe() || has_hvhe())
if (has_vhe())
if (has_vhe())
return !static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif) || has_vhe();
if (has_vhe() && static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif))
if (has_vhe() && static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif))
return (has_vhe() && cpus_have_final_cap(ARM64_HAS_ECV_CNTPOFF));
if (!has_vhe() && system_supports_pmuv3()) \