aboutsummaryrefslogtreecommitdiff
path: root/tftf
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2019-11-29 11:59:13 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2019-11-29 11:59:13 +0000
commit640af3a32b645e1b54003081d93739a6d05527dc (patch)
tree92d207902d36a0cb6991cd8f0e148c113c4fe503 /tftf
parent535f1be59d83351423aa6e712f8fcf49a7116450 (diff)
parent0f305470237c19a73979d558e740fb90f8449a59 (diff)
downloadtf-a-tests-640af3a32b645e1b54003081d93739a6d05527dc.tar.gz
Merge "TFTF: Add support for FVP platforms with SMT capabilities"
Diffstat (limited to 'tftf')
-rw-r--r--tftf/tests/runtime_services/standard_service/psci/api_tests/affinity_info/test_psci_affinity_info.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tftf/tests/runtime_services/standard_service/psci/api_tests/affinity_info/test_psci_affinity_info.c b/tftf/tests/runtime_services/standard_service/psci/api_tests/affinity_info/test_psci_affinity_info.c
index 9afd9102..cc4ad191 100644
--- a/tftf/tests/runtime_services/standard_service/psci/api_tests/affinity_info/test_psci_affinity_info.c
+++ b/tftf/tests/runtime_services/standard_service/psci/api_tests/affinity_info/test_psci_affinity_info.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018, Arm Limited. All rights reserved.
+ * Copyright (c) 2018-2019, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -214,7 +214,11 @@ test_result_t test_affinity_info_level1_off(void)
* CPU on the platform. The PSCI implementation should ignore the
* affinity 0 field.
*/
+#if FVP_MAX_PE_PER_CPU > 1
+ target_mpid = make_mpid(cluster_id, 0, 0xE1);
+#else
target_mpid = make_mpid(cluster_id, 0xE1);
+#endif
aff_info = tftf_psci_affinity_info(target_mpid, MPIDR_AFFLVL1);
return get_test_result(expected_values, aff_info);
}