mbox series

[GIT,PULL] KVM/arm64 fixes for 6.12, take #1

Message ID 20241003203723.2062286-1-maz@kernel.org (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL] KVM/arm64 fixes for 6.12, take #1 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.12-1

Message

Marc Zyngier Oct. 3, 2024, 8:37 p.m. UTC
Paolo,

Here's the first set of fixes for 6.12. We have fixes for a couple of
pretty theoretical pKVM issues, plus a slightly more annoying fix for
the feature detection infrastructure (details in the tag below). I
expect to have a few more fixes in the coming weeks. Oh, and Joey is
now an official reviewer, replacing James

Please pull,

	M.

The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc:

  Linux 6.12-rc1 (2024-09-29 15:06:19 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.12-1

for you to fetch changes up to a1d402abf8e3ff1d821e88993fc5331784fac0da:

  KVM: arm64: Fix kvm_has_feat*() handling of negative features (2024-10-03 19:35:27 +0100)

----------------------------------------------------------------
KVM/arm64 fixes for 6.12, take #1

- Fix pKVM error path on init, making sure we do not change critical
  system registers as we're about to fail

- Make sure that the host's vector length is at capped by a value
  common to all CPUs

- Fix kvm_has_feat*() handling of "negative" features, as the current
  code is pretty broken

- Promote Joey to the status of official reviewer, while James steps
  down -- hopefully only temporarly

----------------------------------------------------------------
Marc Zyngier (2):
      KVM: arm64: Another reviewer reshuffle
      KVM: arm64: Fix kvm_has_feat*() handling of negative features

Mark Brown (1):
      KVM: arm64: Constrain the host to the maximum shared SVE VL with pKVM

Vincent Donnefort (1):
      KVM: arm64: Fix __pkvm_init_vcpu cptr_el2 error path

 MAINTAINERS                             |  2 +-
 arch/arm64/include/asm/kvm_host.h       | 25 +++++++++++++------------
 arch/arm64/kvm/hyp/include/hyp/switch.h |  2 +-
 arch/arm64/kvm/hyp/nvhe/hyp-main.c      | 12 +++++++-----
 arch/arm64/kvm/hyp/nvhe/pkvm.c          |  6 ++++--
 5 files changed, 26 insertions(+), 21 deletions(-)

Comments

Paolo Bonzini Oct. 6, 2024, 7:59 a.m. UTC | #1
On Thu, Oct 3, 2024 at 10:37 PM Marc Zyngier <maz@kernel.org> wrote:
>
> Paolo,
>
> Here's the first set of fixes for 6.12. We have fixes for a couple of
> pretty theoretical pKVM issues, plus a slightly more annoying fix for
> the feature detection infrastructure (details in the tag below). I
> expect to have a few more fixes in the coming weeks. Oh, and Joey is
> now an official reviewer, replacing James
>
> Please pull,
>
>         M.

Done, thanks!

Paolo

> The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc:
>
>   Linux 6.12-rc1 (2024-09-29 15:06:19 -0700)
>
> are available in the Git repository at:
>
>   git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.12-1
>
> for you to fetch changes up to a1d402abf8e3ff1d821e88993fc5331784fac0da:
>
>   KVM: arm64: Fix kvm_has_feat*() handling of negative features (2024-10-03 19:35:27 +0100)
>
> ----------------------------------------------------------------
> KVM/arm64 fixes for 6.12, take #1
>
> - Fix pKVM error path on init, making sure we do not change critical
>   system registers as we're about to fail
>
> - Make sure that the host's vector length is at capped by a value
>   common to all CPUs
>
> - Fix kvm_has_feat*() handling of "negative" features, as the current
>   code is pretty broken
>
> - Promote Joey to the status of official reviewer, while James steps
>   down -- hopefully only temporarly
>
> ----------------------------------------------------------------
> Marc Zyngier (2):
>       KVM: arm64: Another reviewer reshuffle
>       KVM: arm64: Fix kvm_has_feat*() handling of negative features
>
> Mark Brown (1):
>       KVM: arm64: Constrain the host to the maximum shared SVE VL with pKVM
>
> Vincent Donnefort (1):
>       KVM: arm64: Fix __pkvm_init_vcpu cptr_el2 error path
>
>  MAINTAINERS                             |  2 +-
>  arch/arm64/include/asm/kvm_host.h       | 25 +++++++++++++------------
>  arch/arm64/kvm/hyp/include/hyp/switch.h |  2 +-
>  arch/arm64/kvm/hyp/nvhe/hyp-main.c      | 12 +++++++-----
>  arch/arm64/kvm/hyp/nvhe/pkvm.c          |  6 ++++--
>  5 files changed, 26 insertions(+), 21 deletions(-)
>