blob: 69b656e7c7724c98181d1c233069aea7c6737561 [file] [log] [blame]
Sandrine Bailleux3cd87d72018-10-09 11:12:55 +02001<?xml version="1.0" encoding="utf-8"?>
2
3<!--
Madhukar Pappireddycbd89892023-02-17 14:56:02 -06004 Copyright (c) 2018-2023, 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 Boulby6833ea52021-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 Boulby6833ea52021-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-Alves8f08a052020-05-26 17:14:40 +010023
J-Alvesf1126f22020-11-02 17:28:20 +000024 <testcase name="FF-A RXTX Map API success"
25 function="test_ffa_rxtx_map_success" />
26 <testcase name="FF-A RXTX Map API consecutive"
27 function="test_ffa_rxtx_map_fail" />
Karl Meakinbff9b3c2024-01-18 16:08:35 +000028 <testcase name="FF-A RXTX Map API secure memory"
29 function="test_ffa_rxtx_map_secure_memory_fail"/>
30 <testcase name="FF-A RXTX Map API non-secure memory"
31 function="test_ffa_rxtx_map_nonsecure_memory_fail"/>
32 <testcase name="FF-A RXTX Map API memory sharing"
33 function="test_ffa_rxtx_map_memory_share_fail"/>
34 <testcase name="FF-A RXTX Unmap API ID nonexistent"
35 function="test_ffa_rxtx_unmap_nonexistent_vm_id_fail"/>
Daniel Boulbye0602902021-07-07 11:14:39 +010036 <testcase name="FF-A RXTX Unmap API success"
37 function="test_ffa_rxtx_unmap_success" />
38 <testcase name="FF-A RXTX Unmap API consecutive"
39 function="test_ffa_rxtx_unmap_fail" />
40 <testcase name="FF-A RXTX remap unmapped region success"
41 function="test_ffa_rxtx_map_unmapped_success" />
Karl Meakinbff9b3c2024-01-18 16:08:35 +000042 <testcase name="FF-A RXTX map forward success"
43 function="test_ffa_rxtx_map_forward_success" />
44 <testcase name="FF-A RXTX map forward consecutive success"
45 function="test_ffa_rxtx_map_forward_consecutive_success" />
46 <testcase name="FF-A RXTX map forward with unmapped buffers fail"
47 function="test_ffa_rxtx_map_forward_unmapped_buffers_fail" />
48 <testcase name="FF-A RXTX map forward with different IDs fail"
49 function="test_ffa_rxtx_map_forward_different_ids_fail" />
50 <testcase name="FF-A RXTX map forward memory share fail"
51 function="test_ffa_rxtx_map_forward_memory_share_fail" />
J-Alvesd17c6112023-01-12 10:48:41 +000052 <testcase name="FF-A RXTX unmap SP rxtx buffer"
53 function="test_ffa_rxtx_unmap_fail_if_sp" />
Daniel Boulby6833ea52021-03-04 17:20:12 +000054 <testcase name="Test FFA_SPM_ID_GET"
55 function="test_ffa_spm_id_get" />
Max Shvetsov461bac02021-02-23 18:29:14 +000056
57 <testcase name="Test FFA_PARTITION_INFO_GET"
58 function="test_ffa_partition_info" />
Daniel Boulby2ac55f22022-01-21 12:08:08 +000059 <testcase name="Test FFA_PARTITION_INFO_GET v1.0"
60 function="test_ffa_partition_info_v1_0" />
J-Alvesf1126f22020-11-02 17:28:20 +000061 </testsuite>
62
Olivier Deprez5563de02023-07-10 10:49:25 +020063 <testsuite name="FF-A SMCCC compliance"
64 description="SMCCC compliance" >
65 <testcase name="FF-A callee preserves GP register set per SMCCC"
66 function="test_smccc_callee_preserved" />
67 <testcase name="FF-A callee preserves extended GP register set per SMCCC"
68 function="test_smccc_ext_callee_preserved" />
69 </testsuite>
70
Olivier Deprez20b9b172021-04-22 14:39:54 +020071 <testsuite name="SP exceptions"
72 description="SP exceptions" >
73
74 <testcase name="Access from a SP to a Realm region"
75 function="rl_memory_cannot_be_accessed_in_s" />
76
77 </testsuite>
78
J-Alvesb1e81d82020-11-09 15:40:31 +000079 <testsuite name="FF-A Direct messaging"
80 description="Test FF-A Direct messaging" >
81
82 <testcase name="FF-A direct messaging"
83 function="test_ffa_direct_messaging" />
84
85 <testcase name="FF-A Request SP-to-SP direct messaging"
86 function="test_ffa_sp_to_sp_direct_messaging" />
87
J-Alvesae95ac92020-11-11 13:06:55 +000088 <testcase name="FF-A Request SP-to-SP direct messaging deadlock"
89 function="test_ffa_sp_to_sp_deadlock" />
90
J-Alvesb1e81d82020-11-09 15:40:31 +000091 </testsuite>
92
Madhukar Pappireddycbd89892023-02-17 14:56:02 -060093 <testsuite name="FF-A Group0 interrupts"
94 description="Test FF-A Group0 secure interrupt delegation to EL3" >
95 <testcase name="FF-A Group0 secure world"
96 function="test_ffa_group0_interrupt_sp_running" />
97 <testcase name="FF-A Group0 normal world"
98 function="test_ffa_group0_interrupt_in_nwd" />
99 </testsuite>
100
Max Shvetsovc0e91692020-11-12 17:47:13 +0000101 <testsuite name="FF-A Power management"
102 description="Test FF-A power management" >
103 <testcase name="FF-A SP hotplug"
104 function="test_ffa_secondary_core_direct_msg" />
105 </testsuite>
106
J-Alves40618a32020-10-08 17:25:37 +0100107 <testsuite name="FF-A Memory Sharing"
108 description="Test FF-A Memory Sharing ABIs" >
J-Alves6dd65d82024-01-18 17:08:49 +0000109 <testcase name="Hypervisor share + memory retrieve request"
110 function="test_hypervisor_share_retrieve" />
111 <testcase name="Hypervisor lend + memory retrieve request"
112 function="test_hypervisor_lend_retrieve" />
113 <testcase name="Hypervisor donate + memory retrieve request"
114 function="test_hypervisor_donate_retrieve" />
115 <testcase name="Hypervisor share + memory retrieve request (multiple receivers)"
116 function="test_hypervisor_share_retrieve_multiple_receivers" />
117 <testcase name="Hypervisor lend + memory retrieve request (multiple receivers)"
118 function="test_hypervisor_lend_retrieve_multiple_receivers" />
119 <testcase name="Hypervisor share + memory retrieve request (fragmented)"
120 function="test_hypervisor_share_retrieve_fragmented" />
121 <testcase name="Hypervisor lend + memory retrieve request (fragmented)"
122 function="test_hypervisor_lend_retrieve_fragmented" />
J-Alves27390fd2020-11-18 10:51:15 +0000123 <testcase name="Lend Memory to Secure World"
124 function="test_mem_lend_sp" />
J-Alves807ce142021-12-14 15:24:11 +0000125 <testcase name="Lend memory, clear flag set"
126 function="test_mem_share_to_sp_clear_memory"/>
J-Alves27390fd2020-11-18 10:51:15 +0000127 <testcase name="Share Memory with Secure World"
128 function="test_mem_share_sp" />
129 <testcase name="Donate Memory to Secure World"
130 function="test_mem_donate_sp"/>
131 <testcase name="Request Share Memory SP-to-SP"
132 function="test_req_mem_share_sp_to_sp" />
133 <testcase name="Request Lend Memory SP-to-SP"
134 function="test_req_mem_lend_sp_to_sp" />
135 <testcase name="Request Donate Memory SP-to-SP"
136 function="test_req_mem_donate_sp_to_sp" />
Olivier Deprez728cc562022-06-09 11:37:46 +0200137 <testcase name="Request Share NS Memory (large PA) SP-to-SP"
Federico Recanati6328fb02022-01-14 15:48:16 +0100138 function="test_req_ns_mem_share_sp_to_sp" />
Maksims Svecovs61740652021-12-14 12:01:45 +0000139 <testcase name="Request Share Memory SP-to-VM"
140 function="test_req_mem_share_sp_to_vm" />
141 <testcase name="Request Lend Memory SP-to-VM"
142 function="test_req_mem_lend_sp_to_vm" />
J-Alves9c088902023-03-16 18:21:37 +0000143 <testcase name="Share forbidden memory with SP"
144 function="test_share_forbidden_ranges" />
J-Alves36c9b072023-03-17 15:05:41 +0000145 <testcase name="Donate consecutively"
146 function="test_consecutive_donate" />
J-Alves40618a32020-10-08 17:25:37 +0100147 </testsuite>
148
Olivier Deprez881b1992020-12-01 15:34:34 +0100149 <testsuite name="SIMD,SVE Registers context"
150 description="Validate context switch between NWd and SWd" >
151 <testcase name="Check that SIMD registers context is preserved"
152 function="test_simd_vectors_preserved" />
Max Shvetsov959be332021-03-16 14:18:13 +0000153 <testcase name="Check that SVE registers context is preserved"
154 function="test_sve_vectors_preserved" />
Kathleen Capellac59184c2022-08-23 19:09:41 -0400155 <testcase name="Check that SVE operations in NWd are unaffected by SWd"
156 function="test_sve_vectors_operations" />
Olivier Deprez881b1992020-12-01 15:34:34 +0100157 </testsuite>
158
Manish Pandeydfe3ab32020-09-11 10:31:28 +0100159 <testsuite name="FF-A Interrupt"
160 description="Test non-secure Interrupts" >
Madhukar Pappireddyfb6804c2022-06-22 17:43:51 -0500161<!--
162 <testcase name="Test SPx with NS Interrupt queued"
163 function="test_ffa_ns_interrupt_queued" />
164-->
Madhukar Pappireddyc19d2082022-06-22 17:56:12 -0500165 <testcase name="Test SPx with NS Interrupt signaled and SPy with Managed Exit"
166 function="test_ffa_SPx_signaled_SPy_ME" />
Madhukar Pappireddy51b7f852022-06-22 17:47:38 -0500167 <testcase name="Test Managed Exit in SP call chain"
168 function="test_ffa_ns_interrupt_managed_exit_chained" />
Madhukar Pappireddy54fd88b2022-06-22 17:52:56 -0500169 <testcase name="Test SPx with Managed Exit and SPy with NS Interrupt signaled"
170 function="test_ffa_SPx_ME_SPy_signaled" />
Madhukar Pappireddy4d76de02022-06-22 17:38:21 -0500171 <testcase name="Test Managed Exit"
172 function="test_ffa_ns_interrupt_managed_exit" />
173 <testcase name="Test NS interrupt Signalable"
174 function="test_ffa_ns_interrupt_signaled" />
Madhukar Pappireddy77fbf492021-08-05 15:39:21 -0500175 <testcase name="Test Secure interrupt handling while SP running"
176 function="test_ffa_sec_interrupt_sp_running" />
Madhukar Pappireddy12a0d0e2021-08-05 15:41:20 -0500177 <testcase name="Test Secure interrupt handling while SP waiting"
178 function="test_ffa_sec_interrupt_sp_waiting" />
Madhukar Pappireddy98d15882021-08-20 13:17:46 -0500179 <testcase name="Test Secure interrupt handling while SP blocked"
180 function="test_ffa_sec_interrupt_sp_blocked" />
Madhukar Pappireddy02722ed2021-09-07 14:53:29 -0500181 <testcase name="Test Secure interrupt handling while SP1 waiting SP2 running"
182 function="test_ffa_sec_interrupt_sp1_waiting_sp2_running" />
Raghu Krishnamurthy9e267a02022-08-11 21:25:26 -0700183 <testcase name="Test ESPI Secure interrupt handling"
184 function="test_ffa_espi_sec_interrupt" />
Manish Pandeydfe3ab32020-09-11 10:31:28 +0100185 </testsuite>
186
Madhukar Pappireddy172523b2020-12-31 19:25:33 -0600187 <testsuite name="SMMUv3 tests"
188 description="Initiate stage2 translation for streams from upstream peripherals" >
189 <testcase name="Check DMA command by SMMUv3TestEngine completes"
190 function="test_smmu_spm" />
Olivier Depreza91f0d72023-10-24 11:23:12 +0200191 <testcase name="Check secure peripheral access to a realm region is aborted"
192 function="test_smmu_spm_invalid_access" />
Madhukar Pappireddy172523b2020-12-31 19:25:33 -0600193 </testsuite>
Daniel Boulby198deda2021-03-03 11:35:25 +0000194
J-Alvesbb467d12021-03-18 11:49:35 +0000195 <testsuite name="FF-A Notifications"
196 description="Test Notifications functionality" >
J-Alves4439ece2021-11-05 11:52:54 +0000197 <testcase name="Notifications interrupts ID retrieval with FFA_FEATURES"
198 function= "test_notifications_retrieve_int_ids" />
J-Alvesbb467d12021-03-18 11:49:35 +0000199 <testcase name="Notifications bitmap create and destroy"
200 function="test_ffa_notifications_bitmap_create_destroy" />
201 <testcase name="Notifications bitmap destroy not created"
202 function="test_ffa_notifications_destroy_not_created" />
203 <testcase name="Notifications bitmap create after create"
204 function="test_ffa_notifications_create_after_create" />
J-Alvese5f3fe62021-03-18 11:51:20 +0000205 <testcase name="SP Notifications bind and unbind"
206 function="test_ffa_notifications_sp_bind_unbind" />
207 <testcase name="VM Notifications bind and unbind"
208 function="test_ffa_notifications_vm_bind_unbind" />
209 <testcase name="VM Notifications bind NS Sender"
210 function="test_ffa_notifications_vm_bind_vm" />
211 <testcase name="Notifications bind/unbind of bound Notifications"
212 function="test_ffa_notifications_already_bound" />
213 <testcase name="Notifications bind/unbind SPs spoofing receiver"
214 function="test_ffa_notifications_bind_unbind_spoofing" />
215 <testcase name="Notifications zeroed in bind and unbind"
216 function="test_ffa_notifications_bind_unbind_zeroed" />
J-Alvesd63ae4b2021-03-29 15:25:19 +0100217 <testcase name="Notifications VM signals SP"
218 function="test_ffa_notifications_vm_signals_sp" />
219 <testcase name="Notifications SP signals SP"
220 function="test_ffa_notifications_sp_signals_sp" />
221 <testcase name="Notifications SP signals VM"
222 function="test_ffa_notifications_sp_signals_vm" />
J-Alves5fb14212021-09-21 13:04:48 +0100223 <testcase name="Notifications SP signals SP with immediate SRI"
224 function="test_ffa_notifications_sp_signals_sp_immediate_sri" />
J-Alvesf0328472021-09-21 18:32:02 +0100225 <testcase name="Notifications SP signals SP with delayed SRI"
226 function="test_ffa_notifications_sp_signals_sp_delayed_sri" />
J-Alvesd63ae4b2021-03-29 15:25:19 +0100227 <testcase name="Notifications unbind while pending"
228 function="test_ffa_notifications_unbind_pending" />
J-Alvesbe2daa62021-11-04 17:06:57 +0000229 <testcase name="Notifications MP SP signals UP SP per-vCPU"
230 function="test_ffa_notifications_mp_sp_signals_up_sp" />
J-Alves16d52d52021-06-14 14:29:37 +0100231 <testcase name="Notifications info get no data"
232 function="test_ffa_notifications_info_get_none" />
J-Alves44ec4f72021-07-27 12:07:14 +0100233 <testcase name="Notifications VM signals SP per-vCPU"
234 function="test_ffa_notifications_vm_signals_sp_per_vcpu" />
235 <testcase name="Notifications SP signals SP per-vCPU"
236 function="test_ffa_notifications_sp_signals_sp_per_vcpu" />
J-Alvesb0cb5d02021-07-08 11:19:33 +0100237 <testcase name="Notifications SP signals VM per-vCPU"
238 function="test_ffa_notifications_sp_signals_vm_per_vcpu" />
J-Alvesbb467d12021-03-18 11:49:35 +0000239 </testsuite>
240
Sandrine Bailleux3cd87d72018-10-09 11:12:55 +0200241</testsuites>