]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
LoongArch: KVM: Add implementation with IOCSR_IPI_SET
authorBibo Mao <maobibo@loongson.cn>
Tue, 23 Sep 2025 15:37:08 +0000 (23:37 +0800)
committerHuacai Chen <chenhuacai@kernel.org>
Tue, 23 Sep 2025 15:37:08 +0000 (23:37 +0800)
commit1cf7b2881d832f05b31ec06484774604676189e2
tree7e409a5a16f44a0681c51401532503e811936f93
parent44598fe77663da1fdd59c2b01fc317afcb7bc753
LoongArch: KVM: Add implementation with IOCSR_IPI_SET

IPI IOCSR register IOCSR_IPI_SET can send ipi interrupt to other vCPUs,
but it can also send an interrupt to vCPU itself. Indeed there are such
operations on Linux as arch_irq_work_raise() which will send ipi message
to vCPU itself.

Here add implementation of write operation with IOCSR_IPI_SET register.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kvm/intc/ipi.c