Home
last modified time | relevance | path

Searched refs:KVM_LARCH_FPU (Results 1 – 3 of 3) sorted by relevance

/linux/arch/loongarch/kvm/
H A Dvcpu.c1273 if (vcpu->arch.aux_inuse & KVM_LARCH_FPU) { in kvm_check_fcsr_alive()
1298 vcpu->arch.aux_inuse |= KVM_LARCH_FPU; in kvm_own_fpu()
1316 switch (vcpu->arch.aux_inuse & KVM_LARCH_FPU) { in kvm_own_lsx()
1317 case KVM_LARCH_FPU: in kvm_own_lsx()
1333 vcpu->arch.aux_inuse |= KVM_LARCH_LSX | KVM_LARCH_FPU; in kvm_own_lsx()
1351 switch (vcpu->arch.aux_inuse & (KVM_LARCH_FPU | KVM_LARCH_LSX)) { in kvm_own_lasx()
1353 case KVM_LARCH_LSX | KVM_LARCH_FPU: in kvm_own_lasx()
1357 case KVM_LARCH_FPU: in kvm_own_lasx()
1369 vcpu->arch.aux_inuse |= KVM_LARCH_LASX | KVM_LARCH_LSX | KVM_LARCH_FPU; in kvm_own_lasx()
1384 vcpu->arch.aux_inuse &= ~(KVM_LARCH_LSX | KVM_LARCH_FPU | KVM_LARCH_LASX); in kvm_lose_fpu()
[all …]
H A Dexit.c688 if (WARN_ON(vcpu->arch.aux_inuse & KVM_LARCH_FPU)) { in kvm_handle_fpu_disabled()
/linux/arch/loongarch/include/asm/
H A Dkvm_host.h140 #define KVM_LARCH_FPU (0x1 << 0) macro