summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2026-06-11 15:46:40 +0300
committerHuacai Chen <chenhuacai@loongson.cn>2026-06-11 15:46:40 +0300
commit848c55a2c9703fc477bc65a2acc5d680ea174c4b (patch)
treed006273bf0c5783b4aba60966b557ad046916fe3 /scripts
parent22e36941b54c33a3c45e14b1d016866c801832ed (diff)
downloadlinux-848c55a2c9703fc477bc65a2acc5d680ea174c4b.tar.xz
LoongArch: KVM: Remove KVM_LARCH_LSX and KVM_LARCH_LASX
In kvm_lose_fpu() FPU state is save in vcpu::arch::fpu, its FPU status comes from vcpu->arch.aux_inuse. Instead existing API vm_guest_has_xxx() can be used also, moreover, the bits KVM_LARCH_LSX and KVM_LARCH_LASX in arch.aux_inuse are removed. It makes the logic simpler than ever. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions