mbox series

[GIT,PULL] KVM/arm64 fixes for 6.14, take #4

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

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.14-4

Message

Marc Zyngier March 7, 2025, 4:18 p.m. UTC
Paolo,

Here's what I hope to be the last set of 6.14 fixes for
KVM/arm64. This time, two patches addressing the two side of the same
bug, where pKVM's PSCI relay wasn't correctly setting up the CPUs when
in the hVHE mode. Thanks to Ahmed and Mark for fixing it.

Please pull,

	M.

The following changes since commit fa808ed4e199ed17d878eb75b110bda30dd52434:

  KVM: arm64: Ensure a VMID is allocated before programming VTTBR_EL2 (2025-02-20 16:29:28 +0000)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.14-4

for you to fetch changes up to 3855a7b91d42ebf3513b7ccffc44807274978b3d:

  KVM: arm64: Initialize SCTLR_EL1 in __kvm_hyp_init_cpu() (2025-03-02 08:36:52 +0000)

----------------------------------------------------------------
KVM/arm64 fixes for 6.14, take #4

- Fix a couple of bugs affecting pKVM's PSCI relay implementation
  when running in the hVHE mode, resulting in the host being entered
  with the MMU in an unknown state, and EL2 being in the wrong mode.

----------------------------------------------------------------
Ahmed Genidi (1):
      KVM: arm64: Initialize SCTLR_EL1 in __kvm_hyp_init_cpu()

Mark Rutland (1):
      KVM: arm64: Initialize HCR_EL2.E2H early

 arch/arm64/include/asm/el2_setup.h   | 31 ++++++++++++++++++++++++++-----
 arch/arm64/kernel/head.S             | 22 +++-------------------
 arch/arm64/kvm/hyp/nvhe/hyp-init.S   | 10 +++++++---
 arch/arm64/kvm/hyp/nvhe/psci-relay.c |  3 +++
 4 files changed, 39 insertions(+), 27 deletions(-)

Comments

Paolo Bonzini March 9, 2025, 8:11 a.m. UTC | #1
On Fri, Mar 7, 2025 at 5:18 PM Marc Zyngier <maz@kernel.org> wrote:
>
> Paolo,
>
> Here's what I hope to be the last set of 6.14 fixes for
> KVM/arm64. This time, two patches addressing the two side of the same
> bug, where pKVM's PSCI relay wasn't correctly setting up the CPUs when
> in the hVHE mode. Thanks to Ahmed and Mark for fixing it.
>
> Please pull,

Done, thanks.

Paolo

>         M.
>
> The following changes since commit fa808ed4e199ed17d878eb75b110bda30dd52434:
>
>   KVM: arm64: Ensure a VMID is allocated before programming VTTBR_EL2 (2025-02-20 16:29:28 +0000)
>
> are available in the Git repository at:
>
>   git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.14-4
>
> for you to fetch changes up to 3855a7b91d42ebf3513b7ccffc44807274978b3d:
>
>   KVM: arm64: Initialize SCTLR_EL1 in __kvm_hyp_init_cpu() (2025-03-02 08:36:52 +0000)
>
> ----------------------------------------------------------------
> KVM/arm64 fixes for 6.14, take #4
>
> - Fix a couple of bugs affecting pKVM's PSCI relay implementation
>   when running in the hVHE mode, resulting in the host being entered
>   with the MMU in an unknown state, and EL2 being in the wrong mode.
>
> ----------------------------------------------------------------
> Ahmed Genidi (1):
>       KVM: arm64: Initialize SCTLR_EL1 in __kvm_hyp_init_cpu()
>
> Mark Rutland (1):
>       KVM: arm64: Initialize HCR_EL2.E2H early
>
>  arch/arm64/include/asm/el2_setup.h   | 31 ++++++++++++++++++++++++++-----
>  arch/arm64/kernel/head.S             | 22 +++-------------------
>  arch/arm64/kvm/hyp/nvhe/hyp-init.S   | 10 +++++++---
>  arch/arm64/kvm/hyp/nvhe/psci-relay.c |  3 +++
>  4 files changed, 39 insertions(+), 27 deletions(-)
>