blob: 95451c3bcb8351daf02c5acb137fe54f03b988a6 [file] [log] [blame]
Sandrine Bailleux3cd87d72018-10-09 11:12:55 +02001<?xml version="1.0" encoding="utf-8"?>
2
3<!--
Daniel Boulbybab094a2022-01-21 12:08:08 +00004 Copyright (c) 2018-2022, Arm Limited. All rights reserved.
Sandrine Bailleux3cd87d72018-10-09 11:12:55 +02005
6 SPDX-License-Identifier: BSD-3-Clause
7-->
8
9<testsuites>
Daniel Boulby0d05c9c2021-03-04 17:20:12 +000010 <testsuite name="FF-A Setup and Discovery"
11 description="Test FF-A Setup and Discovery interfaces" >
12 <testcase name="Test FFA_FEATURES"
13 function="test_ffa_features" />
Sandrine Bailleux3cd87d72018-10-09 11:12:55 +020014
Daniel Boulby0d05c9c2021-03-04 17:20:12 +000015 <testcase name="Same FFA version as SPM"
16 function="test_ffa_version_equal" />
17 <testcase name="Setting bit 31 in input version"
18 function="test_ffa_version_bit31"/>
19 <testcase name="Bigger FFA version than SPM"
20 function="test_ffa_version_bigger" />
21 <testcase name="Smaller FFA version than SPM"
22 function="test_ffa_version_smaller" />
J-Alves8453e3f2020-05-26 17:14:40 +010023
Daniel Boulby92f81d02021-07-07 11:14:39 +010024 <!--
25 The ordering of the RXTX Buffer tests must be maintained.
26 With test_ffa_rxtx_map_unmapped_success coming last as the
27 mailbox for the remaining tftf tests is set here.
28 -->
J-Alves4e5bbc62020-11-02 17:28:20 +000029 <testcase name="FF-A RXTX Map API success"
30 function="test_ffa_rxtx_map_success" />
31 <testcase name="FF-A RXTX Map API consecutive"
32 function="test_ffa_rxtx_map_fail" />
Daniel Boulby92f81d02021-07-07 11:14:39 +010033 <testcase name="FF-A RXTX Unmap API success"
34 function="test_ffa_rxtx_unmap_success" />
35 <testcase name="FF-A RXTX Unmap API consecutive"
36 function="test_ffa_rxtx_unmap_fail" />
37 <testcase name="FF-A RXTX remap unmapped region success"
38 function="test_ffa_rxtx_map_unmapped_success" />
Daniel Boulby0d05c9c2021-03-04 17:20:12 +000039
40 <testcase name="Test FFA_SPM_ID_GET"
41 function="test_ffa_spm_id_get" />
Max Shvetsova54db5e2021-02-23 18:29:14 +000042
43 <testcase name="Test FFA_PARTITION_INFO_GET"
44 function="test_ffa_partition_info" />
Daniel Boulbybab094a2022-01-21 12:08:08 +000045 <testcase name="Test FFA_PARTITION_INFO_GET v1.0"
46 function="test_ffa_partition_info_v1_0" />
J-Alves4e5bbc62020-11-02 17:28:20 +000047 </testsuite>
48
Olivier Deprezf6d4a102021-04-22 14:39:54 +020049 <testsuite name="SP exceptions"
50 description="SP exceptions" >
51
52 <testcase name="Access from a SP to a Realm region"
53 function="rl_memory_cannot_be_accessed_in_s" />
54
55 </testsuite>
56
J-Alvesbf92e752020-11-09 15:40:31 +000057 <testsuite name="FF-A Direct messaging"
58 description="Test FF-A Direct messaging" >
59
60 <testcase name="FF-A direct messaging"
61 function="test_ffa_direct_messaging" />
62
63 <testcase name="FF-A Request SP-to-SP direct messaging"
64 function="test_ffa_sp_to_sp_direct_messaging" />
65
J-Alves95df9db2020-11-11 13:06:55 +000066 <testcase name="FF-A Request SP-to-SP direct messaging deadlock"
67 function="test_ffa_sp_to_sp_deadlock" />
68
J-Alvesbf92e752020-11-09 15:40:31 +000069 </testsuite>
70
Max Shvetsov23fee302020-11-12 17:47:13 +000071 <testsuite name="FF-A Power management"
72 description="Test FF-A power management" >
73 <testcase name="FF-A SP hotplug"
74 function="test_ffa_secondary_core_direct_msg" />
75 </testsuite>
76
J-Alves7584c7e2020-10-08 17:25:37 +010077 <testsuite name="FF-A Memory Sharing"
78 description="Test FF-A Memory Sharing ABIs" >
J-Alves69c84192020-11-18 10:51:15 +000079 <testcase name="Lend Memory to Secure World"
80 function="test_mem_lend_sp" />
J-Alvesa98216b2021-12-14 15:24:11 +000081 <testcase name="Lend memory, clear flag set"
82 function="test_mem_share_to_sp_clear_memory"/>
J-Alves69c84192020-11-18 10:51:15 +000083 <testcase name="Share Memory with Secure World"
84 function="test_mem_share_sp" />
85 <testcase name="Donate Memory to Secure World"
86 function="test_mem_donate_sp"/>
87 <testcase name="Request Share Memory SP-to-SP"
88 function="test_req_mem_share_sp_to_sp" />
89 <testcase name="Request Lend Memory SP-to-SP"
90 function="test_req_mem_lend_sp_to_sp" />
91 <testcase name="Request Donate Memory SP-to-SP"
92 function="test_req_mem_donate_sp_to_sp" />
Olivier Deprezde24e4a2022-06-09 11:37:46 +020093 <testcase name="Request Share NS Memory (large PA) SP-to-SP"
Federico Recanatiabf19462022-01-14 15:48:16 +010094 function="test_req_ns_mem_share_sp_to_sp" />
Maksims Svecovs07fd1242021-12-14 12:01:45 +000095 <testcase name="Request Share Memory SP-to-VM"
96 function="test_req_mem_share_sp_to_vm" />
97 <testcase name="Request Lend Memory SP-to-VM"
98 function="test_req_mem_lend_sp_to_vm" />
J-Alves7584c7e2020-10-08 17:25:37 +010099 </testsuite>
100
Olivier Deprezd33f2892020-12-01 15:34:34 +0100101 <testsuite name="SIMD,SVE Registers context"
102 description="Validate context switch between NWd and SWd" >
103 <testcase name="Check that SIMD registers context is preserved"
104 function="test_simd_vectors_preserved" />
Max Shvetsovcbb86f82021-03-16 14:18:13 +0000105 <testcase name="Check that SVE registers context is preserved"
106 function="test_sve_vectors_preserved" />
Olivier Deprezd33f2892020-12-01 15:34:34 +0100107 </testsuite>
108
Manish Pandeye858a6f2020-09-11 10:31:28 +0100109 <testsuite name="FF-A Interrupt"
110 description="Test non-secure Interrupts" >
Madhukar Pappireddy568d4b82022-06-22 17:38:21 -0500111 <testcase name="Test Managed Exit"
112 function="test_ffa_ns_interrupt_managed_exit" />
113 <testcase name="Test NS interrupt Signalable"
114 function="test_ffa_ns_interrupt_signaled" />
Madhukar Pappireddy3c68d122021-08-05 15:39:21 -0500115 <testcase name="Test Secure interrupt handling while SP running"
116 function="test_ffa_sec_interrupt_sp_running" />
Madhukar Pappireddyb9bc14b2021-08-05 15:41:20 -0500117 <testcase name="Test Secure interrupt handling while SP waiting"
118 function="test_ffa_sec_interrupt_sp_waiting" />
Madhukar Pappireddy840b7ca2021-08-20 13:17:46 -0500119 <testcase name="Test Secure interrupt handling while SP blocked"
120 function="test_ffa_sec_interrupt_sp_blocked" />
Madhukar Pappireddyc1b5d7e2021-09-07 14:53:29 -0500121 <testcase name="Test Secure interrupt handling while SP1 waiting SP2 running"
122 function="test_ffa_sec_interrupt_sp1_waiting_sp2_running" />
Manish Pandeye858a6f2020-09-11 10:31:28 +0100123 </testsuite>
124
Madhukar Pappireddyda9b5392020-12-31 19:25:33 -0600125 <testsuite name="SMMUv3 tests"
126 description="Initiate stage2 translation for streams from upstream peripherals" >
127 <testcase name="Check DMA command by SMMUv3TestEngine completes"
128 function="test_smmu_spm" />
129 </testsuite>
Daniel Boulbyfc220bc2021-03-03 11:35:25 +0000130
J-Alves22dfbb52021-03-18 11:49:35 +0000131 <testsuite name="FF-A Notifications"
132 description="Test Notifications functionality" >
J-Alves9b6939f2021-11-05 11:52:54 +0000133 <testcase name="Notifications interrupts ID retrieval with FFA_FEATURES"
134 function= "test_notifications_retrieve_int_ids" />
J-Alves22dfbb52021-03-18 11:49:35 +0000135 <testcase name="Notifications bitmap create and destroy"
136 function="test_ffa_notifications_bitmap_create_destroy" />
137 <testcase name="Notifications bitmap destroy not created"
138 function="test_ffa_notifications_destroy_not_created" />
139 <testcase name="Notifications bitmap create after create"
140 function="test_ffa_notifications_create_after_create" />
J-Alves52bd23c2021-03-18 11:51:20 +0000141 <testcase name="SP Notifications bind and unbind"
142 function="test_ffa_notifications_sp_bind_unbind" />
143 <testcase name="VM Notifications bind and unbind"
144 function="test_ffa_notifications_vm_bind_unbind" />
145 <testcase name="VM Notifications bind NS Sender"
146 function="test_ffa_notifications_vm_bind_vm" />
147 <testcase name="Notifications bind/unbind of bound Notifications"
148 function="test_ffa_notifications_already_bound" />
149 <testcase name="Notifications bind/unbind SPs spoofing receiver"
150 function="test_ffa_notifications_bind_unbind_spoofing" />
151 <testcase name="Notifications zeroed in bind and unbind"
152 function="test_ffa_notifications_bind_unbind_zeroed" />
J-Alvesaa11ded2021-03-29 15:25:19 +0100153 <testcase name="Notifications VM signals SP"
154 function="test_ffa_notifications_vm_signals_sp" />
155 <testcase name="Notifications SP signals SP"
156 function="test_ffa_notifications_sp_signals_sp" />
157 <testcase name="Notifications SP signals VM"
158 function="test_ffa_notifications_sp_signals_vm" />
J-Alvesfe8d9c02021-09-21 13:04:48 +0100159 <testcase name="Notifications SP signals SP with immediate SRI"
160 function="test_ffa_notifications_sp_signals_sp_immediate_sri" />
J-Alves06b9fe72021-09-21 18:32:02 +0100161 <testcase name="Notifications SP signals SP with delayed SRI"
162 function="test_ffa_notifications_sp_signals_sp_delayed_sri" />
J-Alvesaa11ded2021-03-29 15:25:19 +0100163 <testcase name="Notifications unbind while pending"
164 function="test_ffa_notifications_unbind_pending" />
J-Alvesa8cd2cf2021-11-04 17:06:57 +0000165 <testcase name="Notifications MP SP signals UP SP per-vCPU"
166 function="test_ffa_notifications_mp_sp_signals_up_sp" />
J-Alves2f5698f2021-06-14 14:29:37 +0100167 <testcase name="Notifications info get no data"
168 function="test_ffa_notifications_info_get_none" />
J-Alves9b51e362021-07-27 12:07:14 +0100169 <testcase name="Notifications VM signals SP per-vCPU"
170 function="test_ffa_notifications_vm_signals_sp_per_vcpu" />
171 <testcase name="Notifications SP signals SP per-vCPU"
172 function="test_ffa_notifications_sp_signals_sp_per_vcpu" />
J-Alves68c44be2021-07-08 11:19:33 +0100173 <testcase name="Notifications SP signals VM per-vCPU"
174 function="test_ffa_notifications_sp_signals_vm_per_vcpu" />
J-Alves22dfbb52021-03-18 11:49:35 +0000175 </testsuite>
176
Sandrine Bailleux3cd87d72018-10-09 11:12:55 +0200177</testsuites>