mbox series

[v3,0/5] KVM: arm64: Load stage-2 in vcpu_load() on VHE

Message ID 20231018233212.2888027-1-oliver.upton@linux.dev (mailing list archive)
Headers show
Series KVM: arm64: Load stage-2 in vcpu_load() on VHE | expand

Message

Oliver Upton Oct. 18, 2023, 11:32 p.m. UTC
Thanks Zenghui for the review, I've addressed your feedback.

v2: https://lore.kernel.org/kvmarm/20231012205422.3924618-1-oliver.upton@linux.dev/

v2 -> v3:
 - Save the right context in __tlb_switch_to_guest()
 - Drop stale declarations from kvm_hyp.h
 - Fix typo in changelog

Marc Zyngier (2):
  KVM: arm64: Restore the stage-2 context in VHE's
    __tlb_switch_to_host()
  KVM: arm64: Reload stage-2 for VMID change on VHE

Oliver Upton (3):
  KVM: arm64: Don't zero VTTBR in __tlb_switch_to_host()
  KVM: arm64: Rename helpers for VHE vCPU load/put
  KVM: arm64: Load the stage-2 MMU context in kvm_vcpu_load_vhe()

 arch/arm64/include/asm/kvm_host.h  |  6 +++---
 arch/arm64/include/asm/kvm_hyp.h   |  7 ++-----
 arch/arm64/kvm/arm.c               |  9 +++++---
 arch/arm64/kvm/hyp/vhe/switch.c    | 33 ++++++++++++++++++------------
 arch/arm64/kvm/hyp/vhe/sysreg-sr.c | 11 ++++------
 arch/arm64/kvm/hyp/vhe/tlb.c       | 18 ++++++++++++----
 arch/arm64/kvm/vmid.c              | 11 +++++++---
 7 files changed, 57 insertions(+), 38 deletions(-)


base-commit: 6465e260f48790807eef06b583b38ca9789b6072

Comments

Oliver Upton Oct. 20, 2023, 7:16 p.m. UTC | #1
On Wed, 18 Oct 2023 23:32:07 +0000, Oliver Upton wrote:
> Thanks Zenghui for the review, I've addressed your feedback.
> 
> v2: https://lore.kernel.org/kvmarm/20231012205422.3924618-1-oliver.upton@linux.dev/
> 
> v2 -> v3:
>  - Save the right context in __tlb_switch_to_guest()
>  - Drop stale declarations from kvm_hyp.h
>  - Fix typo in changelog
> 
> [...]

Applied to kvmarm/next, thanks!

[1/5] KVM: arm64: Don't zero VTTBR in __tlb_switch_to_host()
      https://git.kernel.org/kvmarm/kvmarm/c/38ce26bf2666
[2/5] KVM: arm64: Restore the stage-2 context in VHE's __tlb_switch_to_host()
      https://git.kernel.org/kvmarm/kvmarm/c/4288ff7ba195
[3/5] KVM: arm64: Reload stage-2 for VMID change on VHE
      https://git.kernel.org/kvmarm/kvmarm/c/5eba523e1e5e
[4/5] KVM: arm64: Rename helpers for VHE vCPU load/put
      https://git.kernel.org/kvmarm/kvmarm/c/27cde4c0fe28
[5/5] KVM: arm64: Load the stage-2 MMU context in kvm_vcpu_load_vhe()
      https://git.kernel.org/kvmarm/kvmarm/c/934bf871f011

--
Best,
Oliver