]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/loongarch/virt: Add kernel irqchip support
authorBibo Mao <maobibo@loongson.cn>
Fri, 6 Jun 2025 06:36:07 +0000 (14:36 +0800)
committerSong Gao <gaosong@loongson.cn>
Thu, 19 Jun 2025 07:55:21 +0000 (15:55 +0800)
commit27f5d500c2259650076e3abd72f092b566fd81ac
tree57f873bf05fb2a275784eec83fe50b7f88d83bc1
parent17fb88a0fa0a13b0e2976a2fe04756337d95fe1f
hw/loongarch/virt: Add kernel irqchip support

If kvm_irqchip_in_kernel() return true, interrupt controller
ExtIOI, IPI, PCH_PCI and PCH_MSI should be emlated in kernel. And
it is not necessary to create memory region for these devices in
user space.

Reviewed-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Message-ID: <20250606063607.2557540-1-maobibo@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
hw/loongarch/virt.c
target/loongarch/cpu.h
target/loongarch/kvm/kvm.c