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

Implement the communication interface between the user mode programs
and the kernel in PCHPIC interrupt control 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: 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/pch_pic.c