linux/arch/loongarch/kvm
Bibo Mao 74d9e20187 LoongArch: KVM: Fix PMU pass-through issue if VM exits to host finally
commit 5add0dbbeb upstream.

In function kvm_pre_enter_guest(), it prepares to enter guest and check
whether there are pending signals or events. And it will not enter guest
if there are, PMU pass-through preparation for guest should be cancelled
and host should own PMU hardware.

Cc: stable@vger.kernel.org
Fixes: f4e40ea9f7 ("LoongArch: KVM: Add PMU support for guest")
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-05-02 07:59:08 +02:00
..
exit.c LoongArch: KVM: Fix GPA size issue about VM 2025-03-13 13:01:50 +01:00
interrupt.c LoongArch: KVM: Implement vcpu interrupt operations 2023-10-02 10:01:28 +08:00
Kconfig LoongArch: KVM: Add PV steal time support in host side 2024-07-09 16:25:51 +08:00
main.c LoongArch: KVM: Reload guest CSR registers after sleep 2025-03-13 13:01:50 +01:00
Makefile kbuild: use $(src) instead of $(srctree)/$(src) for source directory 2024-05-10 04:34:52 +09:00
mmu.c LoongArch: Use accessors to page table entries instead of direct dereference 2024-08-07 17:37:11 +08:00
switch.S LoongArch: KVM: Set host with kernel mode when switch to VM mode 2025-03-22 12:54:17 -07:00
timer.c LoongArch: KVM: Mark hrtimer to expire in hard interrupt context 2024-10-23 22:15:44 +08:00
tlb.c LoongArch: KVM: Delay secondary mmu tlb flush until guest entry 2024-07-09 16:25:50 +08:00
trace.h LoongArch: KVM: Add mmio trace events support 2024-05-06 22:00:47 +08:00
vcpu.c LoongArch: KVM: Fix PMU pass-through issue if VM exits to host finally 2025-05-02 07:59:08 +02:00
vm.c LoongArch: KVM: Fix GPA size issue about VM 2025-03-13 13:01:50 +01:00