Re: [PATCH 0/3] KVM: arm64: Cleanups for managing SMCCC filter maple tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 05 Oct 2023 00:49:44 +0100,
Oliver Upton <oliver.upton@xxxxxxxxx> wrote:
> 
> 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(-)

Reviewed-by: Marc Zyngier <maz@xxxxxxxxxx>

	M.

-- 
Without deviation from the norm, progress is not possible.



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux