summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun Nie <jun.nie@linaro.org>2018-09-07 16:21:39 +0800
committerJun Nie <jun.nie@linaro.org>2018-09-07 16:24:01 +0800
commitd6eb73f673fcd80f896d0c12bfb7831773d9d21a (patch)
tree6b9b5c9ad87996ea93795962dd5b78e7e61c5145
parent93f8c604a2a7fb73976be69a62ca9fb5b959291c (diff)
downloadtrusted-firmware-tf-d6eb73f673fcd80f896d0c12bfb7831773d9d21a.tar.gz
psci: Skip check mandatary ARM64 feature for ARMv7
Skip check ARM64 feature for ARMv7 as they are mandatory features actually. Signed-off-by: Jun Nie <jun.nie@linaro.org>
-rw-r--r--tests/runtime_services/standard_service/psci/api_tests/psci_features/test_psci_features.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/runtime_services/standard_service/psci/api_tests/psci_features/test_psci_features.c b/tests/runtime_services/standard_service/psci/api_tests/psci_features/test_psci_features.c
index 10a4492..9302176 100644
--- a/tests/runtime_services/standard_service/psci/api_tests/psci_features/test_psci_features.c
+++ b/tests/runtime_services/standard_service/psci/api_tests/psci_features/test_psci_features.c
@@ -65,6 +65,12 @@ test_result_t test_psci_features(void)
psci_fn->str);
} else {
/* Check mandatory PSCI call is supported */
+#if ARM_ARCH_MAJOR == 7
+ if (psci_fn->id == SMC_PSCI_CPU_SUSPEND_AARCH64 ||
+ psci_fn->id == SMC_PSCI_CPU_ON_AARCH64 ||
+ psci_fn->id == SMC_PSCI_AFFINITY_INFO_AARCH64)
+ continue;
+#endif
if (ret_flag == PSCI_E_NOT_SUPPORTED) {
result = TEST_RESULT_FAIL;
tftf_testcase_printf(