KVM: arm64: Expose {un,}lock_all_vcpus() to the rest of KVM
authorMarc Zyngier <maz@kernel.org>
Thu, 30 Mar 2023 17:47:46 +0000 (18:47 +0100)
committerMarc Zyngier <maz@kernel.org>
Thu, 30 Mar 2023 18:01:09 +0000 (19:01 +0100)
commit96906a9150a86a86b0464939625279b8e19f6e88
treebf13159532251d4cf27ab2bc2455747a73e0ab13
parentc605ee245097d02ed5933e63ac601a8571712457
KVM: arm64: Expose {un,}lock_all_vcpus() to the rest of KVM

Being able to lock/unlock all vcpus in one go is a feature that
only the vgic has enjoyed so far. Let's be brave and expose it
to the world.

Reviewed-by: Colton Lewis <coltonlewis@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230330174800.2677007-7-maz@kernel.org
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/arm.c
arch/arm64/kvm/vgic/vgic-kvm-device.c
arch/arm64/kvm/vgic/vgic.h