[PATCH v2 0/2] LoongArch: KVM: Fix some VM reboot issues

From: Bibo Mao
Date: Thu Aug 15 2024 - 03:16:07 EST


Sometimes VM fails to reboot with the reboot stress test, one problem
is that there is IPI interrupt during AP vCPU reboot stage, the other
problem is that steal time gpa address needs be invalidated from host
when VMM forcely reboots VM.

After this patchset, VM passes to reboot at 2000 times with reboot
test case.

---
v1 ... v2:
1. Add patch invalidate steal time gpa address in the patchset.
---
Bibo Mao (2):
LoongArch: Fix AP booting issue in VM mode
LoongArch: KVM: Invalid guest steal time address on vCPU reset

arch/loongarch/include/asm/kvm_vcpu.h | 1 -
arch/loongarch/kernel/paravirt.c | 19 +++++++++++++++++++
arch/loongarch/kvm/timer.c | 7 -------
arch/loongarch/kvm/vcpu.c | 2 +-
4 files changed, 20 insertions(+), 9 deletions(-)


base-commit: 7c626ce4bae1ac14f60076d00eafe71af30450ba
--
2.39.3