aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManish Pandey <manish.pandey2@arm.com>2020-07-15 09:47:35 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2020-07-15 09:47:35 +0000
commitec87d759429e9496947aa917e012f85e98d9d5fa (patch)
treee5927286f0ba0ce3feca173b9538d959394baa08
parent8499afc44a1642b50fce554d4fdc9356d07d53a0 (diff)
parent29278a9151fe90167ef57d5edc93e3e7551b65ff (diff)
downloadtf-a-tests-ec87d759429e9496947aa917e012f85e98d9d5fa.tar.gz
Merge "TFTF doesn't need to boot Secondary Cactus"
-rw-r--r--tftf/tests/runtime_services/secure_service/test_ffa_direct_messaging.c15
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 d14374b..c83a403 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;