KVM: arm64: Handle FFA_FEATURES call from the host
authorFuad Tabba <tabba@google.com>
Tue, 23 May 2023 10:18:26 +0000 (11:18 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 1 Jun 2023 21:34:51 +0000 (21:34 +0000)
commit20936cd11479709ccd5de2dc77ac8063cd9bfad8
tree09f789e5e747b74b77d1266354f82e4d92cf58f4
parent634d90cf0ac6562f121a4acd4caec36d695d6aa2
KVM: arm64: Handle FFA_FEATURES call from the host

Filter out advertising unsupported features, and only advertise
features and properties that are supported by the hypervisor proxy.

Signed-off-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20230523101828.7328-10-will@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/hyp/nvhe/ffa.c