Skip to contentSkip to conversation

KVM/arm64 fixes for 6.12, take #1

GIT PULL Marc Zyngier 2 participants 2 messages Oct 3, 2024 – Oct 6, 2024

Subsystems (2)
lore
Share & tools
lore

Marc Zyngier

author maintainer
#0 lore raw

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(-)
maintainer
#1 lore raw
Quoted 9 lines · Marc Zyngier

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

Quoted 3 lines

Please pull,

        M.

Done, thanks!

Paolo

Quoted 45 lines

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