plat(ff-a): forward FFA_PARTITION_INFO_GET to SPMC
When a VM calls FFA_PARTITION_INFO_GET the Hypervisor looks up for the
passed UUID in the current list of VMs. If the UUID is unknown or NULL
then it forwards it to the SPMC to look up for the same UUID amongst
secure partitions.
Change-Id: I6ef9bf01da90ef18983e7bd8cb2ffbc90aa07ddc
Signed-off-by: Olivier Deprez <olivier.deprez@arm.com>
diff --git a/src/arch/fake/hypervisor/ffa.c b/src/arch/fake/hypervisor/ffa.c
index d9bfc8b..cadebee 100644
--- a/src/arch/fake/hypervisor/ffa.c
+++ b/src/arch/fake/hypervisor/ffa.c
@@ -283,3 +283,12 @@
(void)next;
(void)current;
}
+
+void plat_ffa_partition_info_get_forward( // NOLINTNEXTLINE
+ const struct ffa_uuid *uuid, // NOLINTNEXTLINE
+ struct ffa_partition_info *partitions, ffa_vm_count_t *ret_count)
+{
+ (void)uuid;
+ (void)partitions;
+ (void)ret_count;
+}