Skip to content

KVM: arm64: nv: Fixes for stage-2 MMU recycling

Oliver Upton kvmarm 3 versions – Applied

Status from this message: Applied to fixes, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 1 replyApplied
  2. v24 patches 9 repliesSuperseded
  3. v13 patches 15 repliesSuperseded

Changes in v3 from the cover letter

- Avoid 4 byte hole in struct kvm_s2_mmu (Marc)
- Clarifying comments (Marc, Sean)

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4KVM: arm64: nv: Keep reference on stage-2 MMU when scheduled outarch/arm64/kvm/nested.c+18 -30 replies
2/4KVM: arm64: nv: Do not block when unmapping stage-2 if disallowedarch/arm64/include/asm/kvm_mmu.h arch/arm64/include/asm/kvm_nested.h arch/arm64/kvm/mmu.c +2 more+17 -150 replies
3/4KVM: arm64: nv: Punt stage-2 recycling to a vCPU requestarch/arm64/include/asm/kvm_host.h arch/arm64/include/asm/kvm_nested.h arch/arm64/kvm/arm.c +1 more+37 -20 replies
4/4KVM: arm64: nv: Clarify safety of allowing TLBI unmaps to reschedulearch/arm64/kvm/sys_regs.c+27 -00 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/4] KVM: arm64: nv: Fixes for stage-2 MMU recycling

v2 -> v3:
- Avoid 4 byte hole in struct kvm_s2_mmu (Marc)
- Clarifying comments (Marc, Sean)

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

Oliver Upton (4):
KVM: arm64: nv: Keep reference on stage-2 MMU when scheduled out
KVM: arm64: nv: Do not block when unmapping stage-2 if disallowed
KVM: arm64: nv: Punt stage-2 recycling to a vCPU request
KVM: arm64: nv: Clarify safety of allowing TLBI unmaps to reschedule

 arch/arm64/include/asm/kvm_host.h   |  7 ++++
 arch/arm64/include/asm/kvm_mmu.h    |  3 +-
 arch/arm64/include/asm/kvm_nested.h |  4 ++-
 arch/arm64/kvm/arm.c                |  2 ++
 arch/arm64/kvm/mmu.c                | 15 ++++----
 arch/arm64/kvm/nested.c             | 53 +++++++++++++++++++++++++----
 arch/arm64/kvm/sys_regs.c           | 33 ++++++++++++++++--
 7 files changed, 98 insertions(+), 19 deletions(-)

base-commit: 9852d85ec9d492ebef56dc5f229416c925758edc

Signature · 1 line
2.47.0.rc0.187.ge670bccf7e-goog