summaryrefslogtreecommitdiff
path: root/tests/tests-common.xml
diff options
context:
space:
mode:
authorJeenu Viswambharan <jeenu.viswambharan@arm.com>2017-03-15 12:58:14 +0000
committerSandrine Bailleux <sandrine.bailleux@arm.com>2017-05-16 14:03:01 +0100
commit834ea4ab334344d47967c97ee73e16754e3b9de4 (patch)
tree1354ebedc65ae0d8b83ad8155c56fa61381463e3 /tests/tests-common.xml
parentf1e2be4f913d162d7b72a1abdbdc6145f184ed69 (diff)
Add test cases for state switch ARM SiP service
This test suite validates the execution state switch of a non-secure EL (from AArch32 to AArch64, and vice versa) by issuing ARM SiP service SMC with varying parameters. A cookie is shared between both states. A field in the cooke is updated from the other state to signal that state switch did indeed happen. The suite is not AArch32-ready. All test cases will report as skipped. Change-Id: I269788fb19ed5d366c05fcf2cbd9d0b2cae6e2d0 Signed-off-by: Jeenu Viswambharan <jeenu.viswambharan@arm.com>
Diffstat (limited to 'tests/tests-common.xml')
-rw-r--r--tests/tests-common.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/tests-common.xml b/tests/tests-common.xml
index fc793f9..feea931 100644
--- a/tests/tests-common.xml
+++ b/tests/tests-common.xml
@@ -147,6 +147,18 @@
<testcase name="Test Secure FIQ while TSP is preempted" function="tsp_fiq_while_int" />
</testsuite>
+ <!-- Test suite exercising execution state switch SiP service.
+ 'test_exec_state_switch_reset_before' must execute first in the suite,
+ and 'test_exec_state_switch_after_cpu_on' the last. See comments in
+ test_exec_state_switch.c for details -->
+ <testsuite name="State switch" description="Test ARM SiP State Switch service">
+ <testcase name="System reset before state switch" function="test_exec_state_switch_reset_before" />
+ <testcase name="Request state switch with invalid PC" function="test_exec_state_switch_invalid_pc" />
+ <testcase name="Request state switch with invalid context" function="test_exec_state_switch_invalid_ctx" />
+ <testcase name="Request a valid state switch" function="test_exec_state_switch_valid" />
+ <testcase name="Request a valid state switch after CPU_ON" function="test_exec_state_switch_after_cpu_on" />
+ </testsuite>
+
</testsuites>
<!-- This testsuite crashes the firmware.