]> git.ipfire.org Git - thirdparty/linux.git/commit
LoongArch: KVM: Add IPI user mode read and write function
authorXianglai Li <lixianglai@loongson.cn>
Wed, 13 Nov 2024 08:18:27 +0000 (16:18 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Wed, 13 Nov 2024 08:18:27 +0000 (16:18 +0800)
commit8e3054261bc373f50122b2bc2d726d66a344bf29
tree46f9aa666ce588c5d798760539854ef74e5a93fd
parentdaee2f9cae5510ba1bd9eed6b0cf0ca8dc276118
LoongArch: KVM: Add IPI user mode read and write function

Implement the communication interface between the user mode programs
and the kernel in IPI interrupt controller simulation, which is used
to obtain or send the simulation data of the interrupt controller in
the user mode process, and is also used in VM migration or VM saving
and restoration.

Signed-off-by: Min Zhou <zhoumin@loongson.cn>
Signed-off-by: Tianrui Zhao <zhaotianrui@loongson.cn>
Signed-off-by: Xianglai Li <lixianglai@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/uapi/asm/kvm.h
arch/loongarch/kvm/intc/ipi.c