Home
last modified time | relevance | path

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

/linux-6.12.1/arch/arm64/kvm/hyp/nvhe/
Ddebug-sr.c85 if (vcpu_get_flag(vcpu, DEBUG_STATE_SAVE_SPE)) in __debug_save_host_buffers_nvhe()
88 if (vcpu_get_flag(vcpu, DEBUG_STATE_SAVE_TRBE)) in __debug_save_host_buffers_nvhe()
99 if (vcpu_get_flag(vcpu, DEBUG_STATE_SAVE_SPE)) in __debug_restore_host_buffers_nvhe()
101 if (vcpu_get_flag(vcpu, DEBUG_STATE_SAVE_TRBE)) in __debug_restore_host_buffers_nvhe()
/linux-6.12.1/arch/arm64/kvm/hyp/
Dexception.c322 switch (vcpu_get_flag(vcpu, EXCEPT_MASK)) { in kvm_inject_exception()
337 switch (vcpu_get_flag(vcpu, EXCEPT_MASK)) { in kvm_inject_exception()
367 if (vcpu_get_flag(vcpu, PENDING_EXCEPTION)) { in __kvm_adjust_pc()
371 } else if (vcpu_get_flag(vcpu, INCREMENT_PC)) { in __kvm_adjust_pc()
/linux-6.12.1/arch/arm64/kvm/
Dfpsimd.c171 if (vcpu_get_flag(vcpu, HOST_SME_ENABLED)) in kvm_arch_vcpu_put_fp()
230 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()
211 if (!vcpu_get_flag(vcpu, DBG_SS_ACTIVE_PENDING)) in kvm_arm_setup_debug()
Dpmu.c187 if (!vcpu || !vcpu_get_flag(vcpu, PMUSERENR_ON_CPU)) in kvm_set_pmuserenr()
Dpauth.c39 if (!vcpu_get_flag(vcpu, SYSREGS_ON_CPU)) in compute_pac()
Dinject_fault.c54 return (vcpu_get_flag(vcpu, EXCEPT_MASK) == target); in match_target_el()
Darm.c1318 if (unlikely(vcpu_get_flag(vcpu, PENDING_EXCEPTION) || in kvm_arch_vcpu_ioctl_run()
1319 vcpu_get_flag(vcpu, INCREMENT_PC))) in kvm_arch_vcpu_ioctl_run()
Dnested.c699 if (vcpu->scheduled_out && !vcpu_get_flag(vcpu, IN_WFI)) in kvm_vcpu_put_hw_mmu()
Darch_timer.c290 vcpu_get_flag(vcpu, IN_WFIT)); in vcpu_has_wfit_active()
Dsys_regs.c144 if (!vcpu_get_flag(vcpu, SYSREGS_ON_CPU)) in vcpu_read_sys_reg()
187 if (!vcpu_get_flag(vcpu, SYSREGS_ON_CPU)) in vcpu_write_sys_reg()
/linux-6.12.1/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.h285 if (has_vhe() || vcpu_get_flag(vcpu, DEBUG_DIRTY)) in __sysreg32_save_state()
302 if (has_vhe() || vcpu_get_flag(vcpu, DEBUG_DIRTY)) in __sysreg32_restore_state()
/linux-6.12.1/arch/arm64/include/asm/
Dkvm_host.h853 #define vcpu_get_flag(v, ...) __vcpu_get_flag((v), __VA_ARGS__) macro
954 vcpu_get_flag(vcpu, GUEST_HAS_SVE))
960 vcpu_get_flag(vcpu, GUEST_HAS_PTRAUTH))
966 vcpu_get_flag(vcpu, ON_UNSUPPORTED_CPU)
1390 #define kvm_arm_vcpu_sve_finalized(vcpu) vcpu_get_flag(vcpu, VCPU_SVE_FINALIZED)
1410 #define kvm_vcpu_initialized(v) vcpu_get_flag(vcpu, VCPU_INITIALIZED)
Dkvm_emulate.h536 WARN_ON(vcpu_get_flag(vcpu, PENDING_EXCEPTION)); in kvm_incr_pc()
542 WARN_ON(vcpu_get_flag((v), INCREMENT_PC)); \
/linux-6.12.1/arch/arm64/kvm/vgic/
Dvgic-v4.c346 return its_make_vpe_non_resident(vpe, !!vcpu_get_flag(vcpu, IN_WFI)); in vgic_v4_put()
357 if (vcpu_get_flag(vcpu, IN_WFI)) in vgic_v4_load()