[GIT PULL] LoongArch KVM changes for v6.9

From: Huacai Chen
Date: Thu Mar 07 2024 - 09:50:22 EST


The following changes since commit 90d35da658da8cff0d4ecbb5113f5fac9d00eb72:

Linux 6.8-rc7 (2024-03-03 13:02:52 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git tags/loongarch-kvm-6.9

for you to fetch changes up to b99f783106ea5b2f8c9d74f4d3b1e2f77af9ec6e:

LoongArch: KVM: Remove unnecessary CSR register saving during enter guest (2024-03-06 09:12:13 +0800)

----------------------------------------------------------------
LoongArch KVM changes for v6.9

1. Set reserved bits as zero in CPUCFG.
2. Start SW timer only when vcpu is blocking.
3. Do not restart SW timer when it is expired.
4. Remove unnecessary CSR register saving during enter guest.

KVM PV features are unfortunately missing in v6.9 for some
implementation controversies, sigh.
----------------------------------------------------------------
Bibo Mao (4):
LoongArch: KVM: Set reserved bits as zero in CPUCFG
LoongArch: KVM: Start SW timer only when vcpu is blocking
LoongArch: KVM: Do not restart SW timer when it is expired
LoongArch: KVM: Remove unnecessary CSR register saving during enter guest

arch/loongarch/kvm/switch.S | 6 ------
arch/loongarch/kvm/timer.c | 43 ++++++++++---------------------------------
arch/loongarch/kvm/vcpu.c | 33 ++++++++++++++++++++++++++-------
3 files changed, 36 insertions(+), 46 deletions(-)