Home
last modified time | relevance | path

Searched refs:vcpu_get_flag (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/arch/arm64/kvm/hyp/nvhe/
Ddebug-sr.c87 if (vcpu_get_flag(vcpu, DEBUG_STATE_SAVE_SPE)) in __debug_save_host_buffers_nvhe()
90 if (vcpu_get_flag(vcpu, DEBUG_STATE_SAVE_TRBE)) in __debug_save_host_buffers_nvhe()
101 if (vcpu_get_flag(vcpu, DEBUG_STATE_SAVE_SPE)) in __debug_restore_host_buffers_nvhe()
103 if (vcpu_get_flag(vcpu, DEBUG_STATE_SAVE_TRBE)) in __debug_restore_host_buffers_nvhe()
/linux-6.1.9/arch/arm64/kvm/hyp/
Dexception.c307 switch (vcpu_get_flag(vcpu, EXCEPT_MASK)) { in kvm_inject_exception()
322 switch (vcpu_get_flag(vcpu, EXCEPT_MASK)) { in kvm_inject_exception()
343 if (vcpu_get_flag(vcpu, PENDING_EXCEPTION)) { in __kvm_adjust_pc()
347 } else if (vcpu_get_flag(vcpu, INCREMENT_PC)) { in __kvm_adjust_pc()
/linux-6.1.9/arch/arm64/kvm/
Dfpsimd.c167 if (vcpu_get_flag(vcpu, HOST_SME_ENABLED)) in kvm_arch_vcpu_put_fp()
196 if (vcpu_get_flag(vcpu, HOST_SVE_ENABLED)) in kvm_arch_vcpu_put_fp()
Ddebug.c123 !vcpu_get_flag(vcpu, DEBUG_DIRTY) || in kvm_arm_setup_mdcr_el2()
210 if (!vcpu_get_flag(vcpu, DBG_SS_ACTIVE_PENDING)) in kvm_arm_setup_debug()
Darm.c1022 if (unlikely(vcpu_get_flag(vcpu, PENDING_EXCEPTION) || in kvm_arch_vcpu_ioctl_run()
1023 vcpu_get_flag(vcpu, INCREMENT_PC))) in kvm_arch_vcpu_ioctl_run()
Darch_timer.c245 vcpu_get_flag(vcpu, IN_WFIT)); in vcpu_has_wfit_active()
Dsys_regs.c68 if (vcpu_get_flag(vcpu, SYSREGS_ON_CPU) && in vcpu_read_sys_reg()
77 if (vcpu_get_flag(vcpu, SYSREGS_ON_CPU) && in vcpu_write_sys_reg()
/linux-6.1.9/arch/arm64/kvm/hyp/include/hyp/
Ddebug-sr.h135 if (!vcpu_get_flag(vcpu, DEBUG_DIRTY)) in __debug_switch_to_guest_common()
154 if (!vcpu_get_flag(vcpu, DEBUG_DIRTY)) in __debug_switch_to_host_common()
Dsysreg-sr.h198 if (has_vhe() || vcpu_get_flag(vcpu, DEBUG_DIRTY)) in __sysreg32_save_state()
215 if (has_vhe() || vcpu_get_flag(vcpu, DEBUG_DIRTY)) in __sysreg32_restore_state()
/linux-6.1.9/arch/arm64/include/asm/
Dkvm_host.h477 #define vcpu_get_flag(v, ...) __vcpu_get_flag((v), __VA_ARGS__) macro
569 vcpu_get_flag(vcpu, GUEST_HAS_SVE))
575 vcpu_get_flag(vcpu, GUEST_HAS_PTRAUTH))
581 vcpu_get_flag(vcpu, ON_UNSUPPORTED_CPU)
930 #define kvm_arm_vcpu_sve_finalized(vcpu) vcpu_get_flag(vcpu, VCPU_SVE_FINALIZED)
Dkvm_emulate.h494 WARN_ON(vcpu_get_flag(vcpu, PENDING_EXCEPTION)); in kvm_incr_pc()
500 WARN_ON(vcpu_get_flag((v), INCREMENT_PC)); \