aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Deprez <olivier.deprez@arm.com>2021-12-03 14:57:54 +0100
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2021-12-03 14:57:54 +0100
commitab4b6d10d7ae5a765d7056b0a05c211b4c0220de (patch)
tree56d586801cebed6bbaefd4bacabc409157cd4705
parent3a3894c8679ab728cadb54b500d084e6c38869bb (diff)
parent37277190fe299c30904fd797671d204a8ac9749a (diff)
downloadtf-a-tests-ab4b6d10d7ae5a765d7056b0a05c211b4c0220de.tar.gz
Merge "fix(ff-a): encoding of vCPU and receiver IDs"
-rw-r--r--tftf/tests/runtime_services/secure_service/ffa_helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tftf/tests/runtime_services/secure_service/ffa_helpers.c b/tftf/tests/runtime_services/secure_service/ffa_helpers.c
index cbc028ef..4525d6e4 100644
--- a/tftf/tests/runtime_services/secure_service/ffa_helpers.c
+++ b/tftf/tests/runtime_services/secure_service/ffa_helpers.c
@@ -596,7 +596,7 @@ smc_ret_values ffa_notification_get(ffa_id_t receiver, uint32_t vcpu_id,
{
smc_args args = {
.fid = FFA_NOTIFICATION_GET,
- .arg1 = (receiver << 16) | (vcpu_id),
+ .arg1 = (vcpu_id << 16) | (receiver),
.arg2 = flags,
.arg3 = FFA_PARAM_MBZ,
.arg4 = FFA_PARAM_MBZ,