feat(ff-a): allow ffa_run forwarding to secure world.
An ffa_run is needed when there are secondary secure parititions with
multiple execution contexts. Power management does not wake up those
execution contexts into their wait loops, so an ffa_run is necessary.
This is similar to the infrastructure tf-a-tests has to enable running
multiple secure partitions.
Signed-off-by: Raghu Krishnamurthy <raghu.ncstate@gmail.com>
Change-Id: I95e13040a42ab2833ec9267520cb1c099a7d41a1
diff --git a/src/arch/fake/hypervisor/ffa.c b/src/arch/fake/hypervisor/ffa.c
index 7b61f0b..d372636 100644
--- a/src/arch/fake/hypervisor/ffa.c
+++ b/src/arch/fake/hypervisor/ffa.c
@@ -43,6 +43,16 @@
return true;
}
+bool plat_ffa_run_forward(ffa_vm_id_t vm_id, ffa_vcpu_index_t vcpu_idx,
+ struct ffa_value *ret)
+{
+ (void)vm_id;
+ (void)vcpu_idx;
+ (void)ret;
+
+ return false;
+}
+
bool plat_ffa_direct_request_forward(ffa_vm_id_t receiver_vm_id,
struct ffa_value args,
struct ffa_value *ret)