Skip to content

KVM: arm64: Reduce hyp_vmemmap overhead

Quentin Perret kvmarm linux-arm-kernel lkml 3 versions – Applied

Status from this message: Applied to next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 1 replyApplied
  2. v27 patches 2 repliesSuperseded
  3. v17 patches 8 repliesSuperseded

Changes in v3 from the cover letter

- Rebased on kvmarm/next

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/7KVM: arm64: Move hyp_pool locking out of refcount helpersarch/arm64/kvm/hyp/include/nvhe/gfp.h arch/arm64/kvm/hyp/nvhe/page_alloc.c+32 -460 replies
2/7KVM: arm64: Use refcount at hyp to check page availabilityarch/arm64/kvm/hyp/nvhe/page_alloc.c+11 -50 replies
3/7KVM: arm64: Remove list_head from hyp_pagearch/arm64/kvm/hyp/include/nvhe/memory.h arch/arm64/kvm/hyp/nvhe/page_alloc.c+33 -70 replies
4/7KVM: arm64: Unify MMIO and mem host stage-2 poolsarch/arm64/kvm/hyp/include/nvhe/mem_protect.h arch/arm64/kvm/hyp/include/nvhe/mm.h arch/arm64/kvm/hyp/nvhe/mem_protect.c +2 more+32 -480 replies
5/7KVM: arm64: Remove hyp_pool pointer from struct hyp_pagearch/arm64/kvm/hyp/include/nvhe/gfp.h arch/arm64/kvm/hyp/include/nvhe/memory.h arch/arm64/kvm/hyp/nvhe/mem_protect.c +2 more+28 -130 replies
6/7KVM: arm64: Use less bits for hyp_page orderarch/arm64/kvm/hyp/include/nvhe/gfp.h arch/arm64/kvm/hyp/include/nvhe/memory.h arch/arm64/kvm/hyp/nvhe/page_alloc.c+10 -100 replies
7/7KVM: arm64: Use less bits for hyp_page refcountarch/arm64/kvm/hyp/include/nvhe/memory.h arch/arm64/kvm/hyp/nvhe/page_alloc.c+2 -10 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/7] KVM: arm64: Reduce hyp_vmemmap overhead

Hi all,

This is a v3 of the patch series previously posted here:

https://lore.kernel.org/r/[email protected]

Please refer to the cover letter of v1 for the context and motivation behind the series.

Changes since v2:
- Rebased on kvmarm/next

Thanks,
Quentin

Quentin Perret (7):
KVM: arm64: Move hyp_pool locking out of refcount helpers
KVM: arm64: Use refcount at hyp to check page availability
KVM: arm64: Remove list_head from hyp_page
KVM: arm64: Unify MMIO and mem host stage-2 pools
KVM: arm64: Remove hyp_pool pointer from struct hyp_page
KVM: arm64: Use less bits for hyp_page order
KVM: arm64: Use less bits for hyp_page refcount

 arch/arm64/kvm/hyp/include/nvhe/gfp.h         |  45 +------
 arch/arm64/kvm/hyp/include/nvhe/mem_protect.h |   2 +-
 arch/arm64/kvm/hyp/include/nvhe/memory.h      |   7 +-
 arch/arm64/kvm/hyp/include/nvhe/mm.h          |  13 +-
 arch/arm64/kvm/hyp/nvhe/mem_protect.c         |  60 +++++-----
 arch/arm64/kvm/hyp/nvhe/page_alloc.c          | 112 +++++++++++++-----
 arch/arm64/kvm/hyp/nvhe/setup.c               |  30 +++--
 arch/arm64/kvm/hyp/reserved_mem.c             |   3 +-
 8 files changed, 145 insertions(+), 127 deletions(-)
Signature · 6 lines
2.32.0.rc1.229.g3e70b5a671-goog

_______________________________________________
kvmarm mailing list
[email protected]
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm