]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
LoongArch: KVM: Check VM msgint feature during interrupt handling
authorBibo Mao <maobibo@loongson.cn>
Fri, 6 Feb 2026 01:27:46 +0000 (09:27 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Fri, 6 Feb 2026 01:27:46 +0000 (09:27 +0800)
commitc2f94dafe197961f266fef8946d39df66a9750f4
tree75d24c8d74bd1b025f248bfe6f6bf52d8a67971e
parent31966edb9a5d70b6a842da3ac7e5602df10bb4c2
LoongArch: KVM: Check VM msgint feature during interrupt handling

During message interrupt handling and relative CSR registers saving and
restore, it is better to check VM msgint feature rather than host msgint
feature, because VM may disable this feature even if host supports this.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/asm/kvm_host.h
arch/loongarch/kvm/interrupt.c
arch/loongarch/kvm/vcpu.c