diff options
author | J-Alves <joao.alves@arm.com> | 2020-06-15 16:56:50 +0100 |
---|---|---|
committer | J-Alves <joao.alves@arm.com> | 2020-06-30 10:42:58 +0100 |
commit | 29278a9151fe90167ef57d5edc93e3e7551b65ff (patch) | |
tree | d603e87c26482243003a36dc3dffd8e5b0c9095e /tftf/tests/runtime_services/secure_service/test_ffa_direct_messaging.c | |
parent | a117303c1eeab7599588eab35f220eaeca282a24 (diff) | |
download | tf-a-tests-29278a9151fe90167ef57d5edc93e3e7551b65ff.tar.gz |
TFTF doesn't need to boot Secondary Cactus
Removed code that was booting Cactus Secondary, using FFA_RUN interface
from TFTF's SPM tests. Hafnium now boots all partitions according to
"boot-order" field value in the partition manifests.
Signed-off-by: J-Alves <joao.alves@arm.com>
Change-Id: I31a3507c92bffe81f78036da121259a5c19924cd
Diffstat (limited to 'tftf/tests/runtime_services/secure_service/test_ffa_direct_messaging.c')
-rw-r--r-- | tftf/tests/runtime_services/secure_service/test_ffa_direct_messaging.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tftf/tests/runtime_services/secure_service/test_ffa_direct_messaging.c b/tftf/tests/runtime_services/secure_service/test_ffa_direct_messaging.c index d14374bef..c83a403b7 100644 --- a/tftf/tests/runtime_services/secure_service/test_ffa_direct_messaging.c +++ b/tftf/tests/runtime_services/secure_service/test_ffa_direct_messaging.c @@ -96,7 +96,6 @@ static bool check_spmc_execution_level(void) test_result_t test_ffa_direct_messaging(void) { - smc_ret_values ret_values; test_result_t result; /********************************************************************** @@ -127,20 +126,6 @@ test_result_t test_ffa_direct_messaging(void) /********************************************************************** * Send a message to SP2 through direct messaging **********************************************************************/ - /* - * NOTICE: for now, the SPM does not initially run each SP sequentially - * on boot up so we explicitely run the SP once by invoking FFA_RUN so - * it reaches ffa_msg_wait in the message loop function. - */ - - /* Request running SP2 on VCPU0 */ - ret_values = ffa_run(2, 0); - if (ret_values.ret0 != FFA_MSG_WAIT) { - tftf_testcase_printf("ffa_run returned %lx\n", - (u_register_t)ret_values.ret0); - return TEST_RESULT_FAIL; - } - result = send_receive_direct_msg(2, DIRECT_MSG_TEST_PATTERN2); if (result != TEST_RESULT_SUCCESS) { return result; |