diff options
author | Maksims Svecovs <maksims.svecovs@arm.com> | 2021-12-14 12:01:45 +0000 |
---|---|---|
committer | Maksims Svecovs <maksims.svecovs@arm.com> | 2022-01-14 12:43:53 +0000 |
commit | 61740652496f48c7cf91db4aea1e5e4e761bda5b (patch) | |
tree | fca6e8f208feee65f41b9280e1415dcca90fcf6b /spm/cactus/cactus_tests | |
parent | a65a907146dd93557ac7aa2584cd2e6f626dd975 (diff) |
test(ff-a): test SP to NS-endpoint mem lend/share
Memory sharing/lending from SP to NS-endpoint is not allowed. Checks
that the said operations are denied by SPMC.
Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com>
Change-Id: I86f3bd637711735b40de9a169e2b3c934d32f1be
Diffstat (limited to 'spm/cactus/cactus_tests')
-rw-r--r-- | spm/cactus/cactus_tests/cactus_test_memory_sharing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spm/cactus/cactus_tests/cactus_test_memory_sharing.c b/spm/cactus/cactus_tests/cactus_test_memory_sharing.c index 0248437..ebca665 100644 --- a/spm/cactus/cactus_tests/cactus_test_memory_sharing.c +++ b/spm/cactus/cactus_tests/cactus_test_memory_sharing.c @@ -168,9 +168,9 @@ CACTUS_CMD_HANDLER(req_mem_send_cmd, CACTUS_REQ_MEM_SEND_CMD) * If returned an invalid handle, we should break the test. */ if (handle == FFA_MEMORY_HANDLE_INVALID) { - ERROR("Received an invalid FF-A memory Handle!\n"); + VERBOSE("Received an invalid FF-A memory Handle!\n"); return cactus_error_resp(vm_id, source, - CACTUS_ERROR_TEST); + ffa_error_code(ffa_ret)); } ffa_ret = cactus_mem_send_cmd(vm_id, receiver, mem_func, handle); |