]> www.infradead.org Git - users/jedix/linux-maple.git/commit
LoongArch: KVM: Implement arch-specific functions for guest perf
authorBibo Mao <maobibo@loongson.cn>
Tue, 18 Mar 2025 08:48:08 +0000 (16:48 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Tue, 18 Mar 2025 08:48:08 +0000 (16:48 +0800)
commit2bf463d7619a9c0b0017856011042d5c17828cff
tree53c5a26a8567d0384bf5391005ce433f56d1f2db
parent6a16e448e5515c9580712b47cfe99f091acb07ea
LoongArch: KVM: Implement arch-specific functions for guest perf

Three architecture specific functions are added for the guest perf
feature, they are kvm_arch_vcpu_in_kernel(), kvm_arch_vcpu_get_ip()
and kvm_arch_pmi_in_guest().

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/vcpu.c