Skip to content

Manage vcpu flags from the host

Andrew Scull kvmarm 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 7 repliesIn review
  2. v12 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4KVM: arm64: Leave KVM_ARM64_DEBUG_DIRTY updates to the hostarch/arm64/include/asm/kvm_host.h arch/arm64/kvm/debug.c arch/arm64/kvm/hyp/include/hyp/debug-sr.h+3 -31 reply
2/4KVM: arm64: Predicate FPSIMD vcpu flags on feature supportarch/arm64/kvm/fpsimd.c+19 -51 reply
3/4KVM: arm64: Leave vcpu FPSIMD synchronization in hostarch/arm64/include/asm/kvm_host.h arch/arm64/kvm/arm.c arch/arm64/kvm/fpsimd.c +3 more+25 -261 reply
4/4KVM: arm64: Stop mapping host task thread flags to hyparch/arm64/include/asm/kvm_host.h arch/arm64/kvm/fpsimd.c+1 -121 reply

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchDave Martin
1/4R-b
2/4
3/4
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] Manage vcpu flags from the host

The aim is to keep management of the flags in the host and out of hyp where possible. I find this makes it easier to understand how the flags are used as the responsibilities are clearly divided.

The series applies on top of kvmarm/next after VHE and nVHE have been separated.

From v1 <[email protected]>:
- Split FP change into smaller patches
- Addressed Dave's other comments

Andrew Scull (4):
KVM: arm64: Leave KVM_ARM64_DEBUG_DIRTY updates to the host
KVM: arm64: Predicate FPSIMD vcpu flags on feature support
KVM: arm64: Leave vcpu FPSIMD synchronization in host
KVM: arm64: Stop mapping host task thread flags to hyp

 arch/arm64/include/asm/kvm_host.h         |  7 ++-
 arch/arm64/kvm/arm.c                      |  4 +-
 arch/arm64/kvm/debug.c                    |  2 +
 arch/arm64/kvm/fpsimd.c                   | 54 ++++++++++++++++-------
 arch/arm64/kvm/hyp/include/hyp/debug-sr.h |  2 -
 arch/arm64/kvm/hyp/include/hyp/switch.h   | 19 --------
 arch/arm64/kvm/hyp/nvhe/switch.c          |  3 +-
 arch/arm64/kvm/hyp/vhe/switch.c           |  3 +-
 8 files changed, 48 insertions(+), 46 deletions(-)
Signature · 6 lines
2.27.0.383.g050319c2ae-goog

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