aboutsummaryrefslogtreecommitdiff
path: root/tftf/tests/runtime_services/secure_service/test_ffa_features.c
diff options
context:
space:
mode:
authorMax Shvetsov <maksims.svecovs@arm.com>2020-06-08 11:15:30 +0100
committerMax Shvetsov <maksims.svecovs@arm.com>2020-07-27 13:36:01 +0100
commit40eb6a2ee493beb61d617f249af91e4f52453700 (patch)
tree55bf174271d54fad16fb0f1d7b1e25f67216f1cb /tftf/tests/runtime_services/secure_service/test_ffa_features.c
parentc17c1d3ad278e007b551617be23b09e13b577ef0 (diff)
downloadtf-a-tests-40eb6a2ee493beb61d617f249af91e4f52453700.tar.gz
Cactus: FFA_FEATURES test.
Calls FFA_FEATURES API from the secure virtual FF-A instance which is serviced by SPMC. Expected responses should be edited according to the feature implementation progress. Removing obsolete SPRT version check and cactus_tests_misc.c as a result. Signed-off-by: Max Shvetsov <maksims.svecovs@arm.com> Change-Id: I8a2e569a3bce31a735e1af04994984fda2168296
Diffstat (limited to 'tftf/tests/runtime_services/secure_service/test_ffa_features.c')
-rw-r--r--tftf/tests/runtime_services/secure_service/test_ffa_features.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tftf/tests/runtime_services/secure_service/test_ffa_features.c b/tftf/tests/runtime_services/secure_service/test_ffa_features.c
index b8475de3..7d67bf8e 100644
--- a/tftf/tests/runtime_services/secure_service/test_ffa_features.c
+++ b/tftf/tests/runtime_services/secure_service/test_ffa_features.c
@@ -22,6 +22,7 @@ static const struct feature_test test_target[] = {
{"FFA_FEATURES_32 check", FFA_FEATURES, FFA_SUCCESS_SMC32},
{"FFA_RX_RELEASE_32 check", FFA_RX_RELEASE, FFA_SUCCESS_SMC32},
{"FFA_RXTX_MAP_32 check", FFA_RXTX_MAP_SMC32, FFA_ERROR},
+ {"FFA_RXTX_MAP_64 check", FFA_RXTX_MAP_SMC64, FFA_SUCCESS_SMC32},
{"FFA_RXTX_UNMAP_32 check", FFA_RXTX_UNMAP, FFA_ERROR},
{"FFA_PARTITION_INFO_GET_32 check", FFA_PARTITION_INFO_GET, FFA_SUCCESS_SMC32},
{"FFA_ID_GET_32 check", FFA_ID_GET, FFA_SUCCESS_SMC32},
@@ -36,7 +37,8 @@ static const struct feature_test test_target[] = {
{"FFA_MEM_RETRIEVE_REQ_32 check", FFA_MEM_RETRIEVE_REQ_SMC32, FFA_SUCCESS_SMC32},
{"FFA_MEM_RETRIEVE_RESP_32 check", FFA_MEM_RETRIEVE_RESP, FFA_SUCCESS_SMC32},
{"FFA_MEM_RELINQUISH_32 check", FFA_MEM_RELINQUISH, FFA_SUCCESS_SMC32},
- {"FFA_MEM_RECLAIM_32 check", FFA_MEM_RECLAIM, FFA_SUCCESS_SMC32}
+ {"FFA_MEM_RECLAIM_32 check", FFA_MEM_RECLAIM, FFA_SUCCESS_SMC32},
+ {"Check non-existent command", 0xFFFF, FFA_ERROR}
};
test_result_t test_ffa_features(void)