]> www.infradead.org Git - users/jedix/linux-maple.git/commit
LoongArch: KVM: Add EIOINTC user mode read and write functions
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)
commit1ad7efa552fd5cf4e8c49fea863c5c6a5dcf9f00
treeadce6751cfe30c3c41890028764d7fdece1d7700
parent3956a52bc05bd811082a3c9d2b423ee957e6fefc
LoongArch: KVM: Add EIOINTC user mode read and write functions

Implement the communication interface between the user mode programs
and the kernel in EIOINTC 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: Xianglai Li <lixianglai@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/uapi/asm/kvm.h
arch/loongarch/kvm/intc/eiointc.c