Home
last modified time | relevance | path

Searched refs:KVM_LARCH_LSX (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/arch/loongarch/kvm/
Dvcpu.c1333 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()
1352 case KVM_LARCH_LSX: in kvm_own_lasx()
1353 case KVM_LARCH_LSX | 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()
1389 } else if (vcpu->arch.aux_inuse & KVM_LARCH_LSX) { in kvm_lose_fpu()
1391 vcpu->arch.aux_inuse &= ~(KVM_LARCH_LSX | KVM_LARCH_FPU); in kvm_lose_fpu()
/linux-6.12.1/arch/loongarch/include/asm/
Dkvm_host.h141 #define KVM_LARCH_LSX (0x1 << 1) macro