Skip to content

KVM: arm64: Load stage-2 in vcpu_load() on VHE

Oliver Upton kvm kvmarm 3 versions – Applied

Status from this message: Applied to kvmarm/next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 1 replyApplied
  2. v25 patches 5 repliesApplied
  3. v13 patches 6 repliesSuperseded

Changes in v3 from the cover letter

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

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/5KVM: arm64: Don't zero VTTBR in __tlb_switch_to_host()arch/arm64/kvm/hyp/vhe/tlb.c+0 -10 replies
2/5KVM: arm64: Restore the stage-2 context in VHE's __tlb_switch_to_host()arch/arm64/kvm/hyp/vhe/tlb.c+14 -30 replies
3/5KVM: arm64: Reload stage-2 for VMID change on VHEarch/arm64/include/asm/kvm_host.h arch/arm64/kvm/arm.c arch/arm64/kvm/vmid.c+13 -50 replies
4/5KVM: arm64: Rename helpers for VHE vCPU load/putarch/arm64/include/asm/kvm_host.h arch/arm64/include/asm/kvm_hyp.h arch/arm64/kvm/arm.c +2 more+25 -190 replies
5/5KVM: arm64: Load the stage-2 MMU context in kvm_vcpu_load_vhe()arch/arm64/kvm/hyp/vhe/switch.c+5 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

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

Thanks Zenghui for the review, I've addressed your feedback.

v2: https://lore.kernel.org/kvmarm/[email protected]/

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

Signature · 1 line
2.42.0.655.g421f12c284-goog