fix: check support of direct requests messaging
The FF-A partitions have the supported messaging method configured in
their respective manifest.
This patch adds a check to the sender and receiver support of the
messaging method in the handler of FFA_MSG_SEND_DIRECT_REQ.
Change-Id: Ib3f844caef158ece2ac78fbd477e245f4d690b9c
Signed-off-by: J-Alves <joao.alves@arm.com>
diff --git a/src/arch/fake/hypervisor/ffa.c b/src/arch/fake/hypervisor/ffa.c
index d043c6e..91bebd4 100644
--- a/src/arch/fake/hypervisor/ffa.c
+++ b/src/arch/fake/hypervisor/ffa.c
@@ -40,6 +40,15 @@
return true;
}
+bool plat_ffa_is_direct_request_supported(struct vm *sender_vm,
+ struct vm *receiver_vm)
+{
+ (void)sender_vm;
+ (void)receiver_vm;
+
+ return false;
+}
+
bool plat_ffa_is_direct_response_valid(struct vcpu *current,
ffa_vm_id_t sender_vm_id,
ffa_vm_id_t receiver_vm_id)