KVM: arm64: Add a predicate for testing if SMCCC filter is configured
authorOliver Upton <oliver.upton@linux.dev>
Wed, 4 Oct 2023 23:49:45 +0000 (23:49 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 5 Oct 2023 09:33:15 +0000 (09:33 +0000)
commitbb17fb31f00ebd8df478a9533c6b77d6eebe6464
treeb38b087f701f5fd1e947dab1bda7971caa402670
parent6465e260f48790807eef06b583b38ca9789b6072
KVM: arm64: Add a predicate for testing if SMCCC filter is configured

Eventually we can drop the VM flag, move around the existing
implementation for now.

Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20231004234947.207507-2-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/hypercalls.c