[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240815071545.925867-1-maobibo@loongson.cn>
Date: Thu, 15 Aug 2024 15:15:43 +0800
From: Bibo Mao <maobibo@...ngson.cn>
To: Tianrui Zhao <zhaotianrui@...ngson.cn>,
Huacai Chen <chenhuacai@...nel.org>
Cc: WANG Xuerui <kernel@...0n.name>,
kvm@...r.kernel.org,
loongarch@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/2] LoongArch: KVM: Fix some VM reboot issues
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
Powered by blists - more mailing lists