mbox series

[GIT,PULL] LoongArch KVM changes for v6.9

Message ID 20240307144930.3919566-1-chenhuacai@loongson.cn (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL] LoongArch KVM changes for v6.9 | expand

Pull-request

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

Message

Huacai Chen March 7, 2024, 2:49 p.m. UTC
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(-)

Comments

Paolo Bonzini March 11, 2024, 2:02 p.m. UTC | #1
On 3/7/24 15:49, Huacai Chen wrote:
> 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)

Pulled, thanks.

Paolo

> ----------------------------------------------------------------
> 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(-)
>