blob: 8ec28120d25f218f75123d4d5a09a703ead7e1d5 [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" />
Daniel Boulbye0602902021-07-07 11:14:39 +010028 <testcase name="FF-A RXTX Unmap API success"
29 function="test_ffa_rxtx_unmap_success" />
30 <testcase name="FF-A RXTX Unmap API consecutive"
31 function="test_ffa_rxtx_unmap_fail" />
32 <testcase name="FF-A RXTX remap unmapped region success"
33 function="test_ffa_rxtx_map_unmapped_success" />
J-Alvesd17c6112023-01-12 10:48:41 +000034 <testcase name="FF-A RXTX unmap SP rxtx buffer"
35 function="test_ffa_rxtx_unmap_fail_if_sp" />
Daniel Boulby6833ea52021-03-04 17:20:12 +000036 <testcase name="Test FFA_SPM_ID_GET"
37 function="test_ffa_spm_id_get" />
Max Shvetsov461bac02021-02-23 18:29:14 +000038
39 <testcase name="Test FFA_PARTITION_INFO_GET"
40 function="test_ffa_partition_info" />
Daniel Boulby2ac55f22022-01-21 12:08:08 +000041 <testcase name="Test FFA_PARTITION_INFO_GET v1.0"
42 function="test_ffa_partition_info_v1_0" />
J-Alvesf1126f22020-11-02 17:28:20 +000043 </testsuite>
44
Olivier Deprez20b9b172021-04-22 14:39:54 +020045 <testsuite name="SP exceptions"
46 description="SP exceptions" >
47
48 <testcase name="Access from a SP to a Realm region"
49 function="rl_memory_cannot_be_accessed_in_s" />
50
51 </testsuite>
52
J-Alvesb1e81d82020-11-09 15:40:31 +000053 <testsuite name="FF-A Direct messaging"
54 description="Test FF-A Direct messaging" >
55
56 <testcase name="FF-A direct messaging"
57 function="test_ffa_direct_messaging" />
58
59 <testcase name="FF-A Request SP-to-SP direct messaging"
60 function="test_ffa_sp_to_sp_direct_messaging" />
61
J-Alvesae95ac92020-11-11 13:06:55 +000062 <testcase name="FF-A Request SP-to-SP direct messaging deadlock"
63 function="test_ffa_sp_to_sp_deadlock" />
64
J-Alvesb1e81d82020-11-09 15:40:31 +000065 </testsuite>
66
Madhukar Pappireddycbd89892023-02-17 14:56:02 -060067 <testsuite name="FF-A Group0 interrupts"
68 description="Test FF-A Group0 secure interrupt delegation to EL3" >
69 <testcase name="FF-A Group0 secure world"
70 function="test_ffa_group0_interrupt_sp_running" />
71 <testcase name="FF-A Group0 normal world"
72 function="test_ffa_group0_interrupt_in_nwd" />
73 </testsuite>
74
Max Shvetsovc0e91692020-11-12 17:47:13 +000075 <testsuite name="FF-A Power management"
76 description="Test FF-A power management" >
77 <testcase name="FF-A SP hotplug"
78 function="test_ffa_secondary_core_direct_msg" />
79 </testsuite>
80
J-Alves40618a32020-10-08 17:25:37 +010081 <testsuite name="FF-A Memory Sharing"
82 description="Test FF-A Memory Sharing ABIs" >
J-Alves27390fd2020-11-18 10:51:15 +000083 <testcase name="Lend Memory to Secure World"
84 function="test_mem_lend_sp" />
J-Alves807ce142021-12-14 15:24:11 +000085 <testcase name="Lend memory, clear flag set"
86 function="test_mem_share_to_sp_clear_memory"/>
J-Alves27390fd2020-11-18 10:51:15 +000087 <testcase name="Share Memory with Secure World"
88 function="test_mem_share_sp" />
89 <testcase name="Donate Memory to Secure World"
90 function="test_mem_donate_sp"/>
91 <testcase name="Request Share Memory SP-to-SP"
92 function="test_req_mem_share_sp_to_sp" />
93 <testcase name="Request Lend Memory SP-to-SP"
94 function="test_req_mem_lend_sp_to_sp" />
95 <testcase name="Request Donate Memory SP-to-SP"
96 function="test_req_mem_donate_sp_to_sp" />
Olivier Deprez728cc562022-06-09 11:37:46 +020097 <testcase name="Request Share NS Memory (large PA) SP-to-SP"
Federico Recanati6328fb02022-01-14 15:48:16 +010098 function="test_req_ns_mem_share_sp_to_sp" />
Maksims Svecovs61740652021-12-14 12:01:45 +000099 <testcase name="Request Share Memory SP-to-VM"
100 function="test_req_mem_share_sp_to_vm" />
101 <testcase name="Request Lend Memory SP-to-VM"
102 function="test_req_mem_lend_sp_to_vm" />
J-Alves9c088902023-03-16 18:21:37 +0000103 <testcase name="Share forbidden memory with SP"
104 function="test_share_forbidden_ranges" />
J-Alves36c9b072023-03-17 15:05:41 +0000105 <testcase name="Donate consecutively"
106 function="test_consecutive_donate" />
J-Alves40618a32020-10-08 17:25:37 +0100107 </testsuite>
108
Olivier Deprez881b1992020-12-01 15:34:34 +0100109 <testsuite name="SIMD,SVE Registers context"
110 description="Validate context switch between NWd and SWd" >
111 <testcase name="Check that SIMD registers context is preserved"
112 function="test_simd_vectors_preserved" />
Max Shvetsov959be332021-03-16 14:18:13 +0000113 <testcase name="Check that SVE registers context is preserved"
114 function="test_sve_vectors_preserved" />
Kathleen Capellac59184c2022-08-23 19:09:41 -0400115 <testcase name="Check that SVE operations in NWd are unaffected by SWd"
116 function="test_sve_vectors_operations" />
Olivier Deprez881b1992020-12-01 15:34:34 +0100117 </testsuite>
118
Manish Pandeydfe3ab32020-09-11 10:31:28 +0100119 <testsuite name="FF-A Interrupt"
120 description="Test non-secure Interrupts" >
Madhukar Pappireddyfb6804c2022-06-22 17:43:51 -0500121<!--
122 <testcase name="Test SPx with NS Interrupt queued"
123 function="test_ffa_ns_interrupt_queued" />
124-->
Madhukar Pappireddyc19d2082022-06-22 17:56:12 -0500125 <testcase name="Test SPx with NS Interrupt signaled and SPy with Managed Exit"
126 function="test_ffa_SPx_signaled_SPy_ME" />
Madhukar Pappireddy51b7f852022-06-22 17:47:38 -0500127 <testcase name="Test Managed Exit in SP call chain"
128 function="test_ffa_ns_interrupt_managed_exit_chained" />
Madhukar Pappireddy54fd88b2022-06-22 17:52:56 -0500129 <testcase name="Test SPx with Managed Exit and SPy with NS Interrupt signaled"
130 function="test_ffa_SPx_ME_SPy_signaled" />
Madhukar Pappireddy4d76de02022-06-22 17:38:21 -0500131 <testcase name="Test Managed Exit"
132 function="test_ffa_ns_interrupt_managed_exit" />
133 <testcase name="Test NS interrupt Signalable"
134 function="test_ffa_ns_interrupt_signaled" />
Madhukar Pappireddy77fbf492021-08-05 15:39:21 -0500135 <testcase name="Test Secure interrupt handling while SP running"
136 function="test_ffa_sec_interrupt_sp_running" />
Madhukar Pappireddy12a0d0e2021-08-05 15:41:20 -0500137 <testcase name="Test Secure interrupt handling while SP waiting"
138 function="test_ffa_sec_interrupt_sp_waiting" />
Madhukar Pappireddy98d15882021-08-20 13:17:46 -0500139 <testcase name="Test Secure interrupt handling while SP blocked"
140 function="test_ffa_sec_interrupt_sp_blocked" />
Madhukar Pappireddy02722ed2021-09-07 14:53:29 -0500141 <testcase name="Test Secure interrupt handling while SP1 waiting SP2 running"
142 function="test_ffa_sec_interrupt_sp1_waiting_sp2_running" />
Raghu Krishnamurthy9e267a02022-08-11 21:25:26 -0700143 <testcase name="Test ESPI Secure interrupt handling"
144 function="test_ffa_espi_sec_interrupt" />
Manish Pandeydfe3ab32020-09-11 10:31:28 +0100145 </testsuite>
146
Madhukar Pappireddy172523b2020-12-31 19:25:33 -0600147 <testsuite name="SMMUv3 tests"
148 description="Initiate stage2 translation for streams from upstream peripherals" >
149 <testcase name="Check DMA command by SMMUv3TestEngine completes"
150 function="test_smmu_spm" />
151 </testsuite>
Daniel Boulby198deda2021-03-03 11:35:25 +0000152
J-Alvesbb467d12021-03-18 11:49:35 +0000153 <testsuite name="FF-A Notifications"
154 description="Test Notifications functionality" >
J-Alves4439ece2021-11-05 11:52:54 +0000155 <testcase name="Notifications interrupts ID retrieval with FFA_FEATURES"
156 function= "test_notifications_retrieve_int_ids" />
J-Alvesbb467d12021-03-18 11:49:35 +0000157 <testcase name="Notifications bitmap create and destroy"
158 function="test_ffa_notifications_bitmap_create_destroy" />
159 <testcase name="Notifications bitmap destroy not created"
160 function="test_ffa_notifications_destroy_not_created" />
161 <testcase name="Notifications bitmap create after create"
162 function="test_ffa_notifications_create_after_create" />
J-Alvese5f3fe62021-03-18 11:51:20 +0000163 <testcase name="SP Notifications bind and unbind"
164 function="test_ffa_notifications_sp_bind_unbind" />
165 <testcase name="VM Notifications bind and unbind"
166 function="test_ffa_notifications_vm_bind_unbind" />
167 <testcase name="VM Notifications bind NS Sender"
168 function="test_ffa_notifications_vm_bind_vm" />
169 <testcase name="Notifications bind/unbind of bound Notifications"
170 function="test_ffa_notifications_already_bound" />
171 <testcase name="Notifications bind/unbind SPs spoofing receiver"
172 function="test_ffa_notifications_bind_unbind_spoofing" />
173 <testcase name="Notifications zeroed in bind and unbind"
174 function="test_ffa_notifications_bind_unbind_zeroed" />
J-Alvesd63ae4b2021-03-29 15:25:19 +0100175 <testcase name="Notifications VM signals SP"
176 function="test_ffa_notifications_vm_signals_sp" />
177 <testcase name="Notifications SP signals SP"
178 function="test_ffa_notifications_sp_signals_sp" />
179 <testcase name="Notifications SP signals VM"
180 function="test_ffa_notifications_sp_signals_vm" />
J-Alves5fb14212021-09-21 13:04:48 +0100181 <testcase name="Notifications SP signals SP with immediate SRI"
182 function="test_ffa_notifications_sp_signals_sp_immediate_sri" />
J-Alvesf0328472021-09-21 18:32:02 +0100183 <testcase name="Notifications SP signals SP with delayed SRI"
184 function="test_ffa_notifications_sp_signals_sp_delayed_sri" />
J-Alvesd63ae4b2021-03-29 15:25:19 +0100185 <testcase name="Notifications unbind while pending"
186 function="test_ffa_notifications_unbind_pending" />
J-Alvesbe2daa62021-11-04 17:06:57 +0000187 <testcase name="Notifications MP SP signals UP SP per-vCPU"
188 function="test_ffa_notifications_mp_sp_signals_up_sp" />
J-Alves16d52d52021-06-14 14:29:37 +0100189 <testcase name="Notifications info get no data"
190 function="test_ffa_notifications_info_get_none" />
J-Alves44ec4f72021-07-27 12:07:14 +0100191 <testcase name="Notifications VM signals SP per-vCPU"
192 function="test_ffa_notifications_vm_signals_sp_per_vcpu" />
193 <testcase name="Notifications SP signals SP per-vCPU"
194 function="test_ffa_notifications_sp_signals_sp_per_vcpu" />
J-Alvesb0cb5d02021-07-08 11:19:33 +0100195 <testcase name="Notifications SP signals VM per-vCPU"
196 function="test_ffa_notifications_sp_signals_vm_per_vcpu" />
J-Alvesbb467d12021-03-18 11:49:35 +0000197 </testsuite>
198
Sandrine Bailleux3cd87d72018-10-09 11:12:55 +0200199</testsuites>