Skip to content

KVM: arm64: pKVM memory transitions cleanup

Oliver Upton kvm kvmarm linux-arm-kernel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: arm64: Clean out the odd handling of completer_addrarch/arm64/kvm/hyp/nvhe/mem_protect.c+25 -451 reply
2/2KVM: arm64: Redefine pKVM memory transitions in terms of source/targetarch/arm64/kvm/hyp/nvhe/mem_protect.c+34 -343 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] KVM: arm64: pKVM memory transitions cleanup

In order to help resolve my own bikeshedding on the outstanding pKVM patches [1], small deck of patches to polish up the existing memory transitions. Mainly:

- Rejig the layout of pkvm_mem_transition
- Stop using out pointers to get at the 'completer' addr
- Use better-fitting terminology (source/target) to describe the addresses involved in a memory transition

Applies to 6.1-rc2. Politely compile tested, and that's just about it.

Oliver Upton (2):
KVM: arm64: Clean out the odd handling of completer_addr
KVM: arm64: Redefine pKVM memory transitions in terms of source/target

 arch/arm64/kvm/hyp/nvhe/mem_protect.c | 124 +++++++++++---------------
 1 file changed, 52 insertions(+), 72 deletions(-)

base-commit: 247f34f7b80357943234f93f247a1ae6b6c3a740

Signature · 1 line
2.38.1.273.g43a17bfeac-goog