]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
LoongArch: KVM: Add AVEC basic support
authorSong Gao <gaosong@loongson.cn>
Thu, 27 Nov 2025 03:00:18 +0000 (11:00 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Thu, 27 Nov 2025 03:00:18 +0000 (11:00 +0800)
commit7bcd8d0b2237fd0f698bcd0c90badf7c46270d9b
tree0c96a57b6a989800cb336ccf0e7ef0554e342803
parent74087611f0ba7b336dcdde855ffca7d15b2ebe0f
LoongArch: KVM: Add AVEC basic support

Check whether the host CPU supported AVEC, and save/restore CSR_MSGIS0-
CSR_MSGIS3 when necessary.

Reviewed-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/asm/kvm_vcpu.h
arch/loongarch/include/uapi/asm/kvm.h
arch/loongarch/kvm/interrupt.c
arch/loongarch/kvm/vcpu.c
arch/loongarch/kvm/vm.c