All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] KVM: arm64: Cleanups for managing SMCCC filter maple tree
@ 2023-10-04 23:49 Oliver Upton
  2023-10-04 23:49 ` [PATCH 1/3] KVM: arm64: Add a predicate for testing if SMCCC filter is configured Oliver Upton
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Oliver Upton @ 2023-10-04 23:49 UTC (permalink / raw)
  To: kvmarm
  Cc: kvm, Marc Zyngier, James Morse, Suzuki K Poulose, Zenghui Yu,
	Oliver Upton

Small series to clean up the way KVM manages the maple tree
representation of the SMCCC filter, only allocating nodes in the tree if
the SMCCC filter is used.

The other ugly bit that this fixes is the error path when 'reserved'
ranges cannot be inserted into the maple tree, instead returning an
error to userspace.

Oliver Upton (3):
  KVM: arm64: Add a predicate for testing if SMCCC filter is configured
  KVM: arm64: Only insert reserved ranges when SMCCC filter is used
  KVM: arm64: Use mtree_empty() to determine if SMCCC filter configured

 arch/arm64/include/asm/kvm_host.h |  4 +---
 arch/arm64/kvm/hypercalls.c       | 34 ++++++++++++++++++++-----------
 2 files changed, 23 insertions(+), 15 deletions(-)


base-commit: 6465e260f48790807eef06b583b38ca9789b6072
-- 
2.42.0.609.gbb76f46606-goog


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-10-05 20:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-04 23:49 [PATCH 0/3] KVM: arm64: Cleanups for managing SMCCC filter maple tree Oliver Upton
2023-10-04 23:49 ` [PATCH 1/3] KVM: arm64: Add a predicate for testing if SMCCC filter is configured Oliver Upton
2023-10-04 23:49 ` [PATCH 2/3] KVM: arm64: Only insert reserved ranges when SMCCC filter is used Oliver Upton
2023-10-04 23:49 ` [PATCH 3/3] KVM: arm64: Use mtree_empty() to determine if SMCCC filter configured Oliver Upton
2023-10-05  7:24 ` [PATCH 0/3] KVM: arm64: Cleanups for managing SMCCC filter maple tree Marc Zyngier
2023-10-05 20:55 ` Oliver Upton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.