]> git.ipfire.org Git - thirdparty/linux.git/commit
LoongArch: KVM: Add stat information with kernel irqchip
authorBibo Mao <maobibo@loongson.cn>
Mon, 21 Jul 2025 01:26:32 +0000 (09:26 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Mon, 21 Jul 2025 01:26:32 +0000 (09:26 +0800)
commit46ecfb68ddd88118dcf623f21785d78f69337631
tree535c2b18a3ba86d6cb952111414b2ec5ba4f28f1
parent9c79c951a388c0c1935b3c8f5f83a89e21cc3381
LoongArch: KVM: Add stat information with kernel irqchip

Move stat information about kernel irqchip from VM to vCPU, since all
vm exiting events should be vCPU relative. And also add entry with
structure kvm_vcpu_stats_desc[], so that it can display with directory
/sys/kernel/debug/kvm.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/asm/kvm_host.h
arch/loongarch/kvm/intc/eiointc.c
arch/loongarch/kvm/intc/ipi.c
arch/loongarch/kvm/intc/pch_pic.c
arch/loongarch/kvm/vcpu.c