]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
LoongArch: KVM: Access mailbox directly in mail_send()
authorBibo Mao <maobibo@loongson.cn>
Tue, 23 Sep 2025 15:37:09 +0000 (23:37 +0800)
committerHuacai Chen <chenhuacai@kernel.org>
Tue, 23 Sep 2025 15:37:09 +0000 (23:37 +0800)
commit3da2b0d439aa4eccc2a65e87f0bb280595d91ffe
treef9823af4bf13f3296bfc5ab185bbe56b4f32a228
parent1cf7b2881d832f05b31ec06484774604676189e2
LoongArch: KVM: Access mailbox directly in mail_send()

With function mail_send(), it is to write mailbox of other VCPUs.
Existing simple APIs read_mailbox()/write_mailbox() can be used directly
rather than send command on IOCSR address.

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