blob: 5752b8e53d64b4f2d2c115b63058ab350bb21c83 [file] [log] [blame]
Sandrine Bailleux3cd87d72018-10-09 11:12:55 +02001<?xml version="1.0" encoding="utf-8"?>
2
3<!--
Olivier Deprez881b1992020-12-01 15:34:34 +01004 Copyright (c) 2018-2021, 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
Daniel Boulbye0602902021-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-Alvesf1126f22020-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 Boulbye0602902021-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 Boulby6833ea52021-03-04 17:20:12 +000039
40 <testcase name="Test FFA_SPM_ID_GET"
41 function="test_ffa_spm_id_get" />
Max Shvetsov461bac02021-02-23 18:29:14 +000042
43 <testcase name="Test FFA_PARTITION_INFO_GET"
44 function="test_ffa_partition_info" />
J-Alvesf1126f22020-11-02 17:28:20 +000045 </testsuite>
46
J-Alvesb1e81d82020-11-09 15:40:31 +000047 <testsuite name="FF-A Direct messaging"
48 description="Test FF-A Direct messaging" >
49
50 <testcase name="FF-A direct messaging"
51 function="test_ffa_direct_messaging" />
52
53 <testcase name="FF-A Request SP-to-SP direct messaging"
54 function="test_ffa_sp_to_sp_direct_messaging" />
55
J-Alvesae95ac92020-11-11 13:06:55 +000056 <testcase name="FF-A Request SP-to-SP direct messaging deadlock"
57 function="test_ffa_sp_to_sp_deadlock" />
58
J-Alvesb1e81d82020-11-09 15:40:31 +000059 </testsuite>
60
Max Shvetsovc0e91692020-11-12 17:47:13 +000061 <testsuite name="FF-A Power management"
62 description="Test FF-A power management" >
63 <testcase name="FF-A SP hotplug"
64 function="test_ffa_secondary_core_direct_msg" />
65 </testsuite>
66
J-Alves40618a32020-10-08 17:25:37 +010067 <testsuite name="FF-A Memory Sharing"
68 description="Test FF-A Memory Sharing ABIs" >
J-Alves27390fd2020-11-18 10:51:15 +000069 <testcase name="Lend Memory to Secure World"
70 function="test_mem_lend_sp" />
71 <testcase name="Share Memory with Secure World"
72 function="test_mem_share_sp" />
73 <testcase name="Donate Memory to Secure World"
74 function="test_mem_donate_sp"/>
75 <testcase name="Request Share Memory SP-to-SP"
76 function="test_req_mem_share_sp_to_sp" />
77 <testcase name="Request Lend Memory SP-to-SP"
78 function="test_req_mem_lend_sp_to_sp" />
79 <testcase name="Request Donate Memory SP-to-SP"
80 function="test_req_mem_donate_sp_to_sp" />
J-Alves40618a32020-10-08 17:25:37 +010081 </testsuite>
82
Olivier Deprez881b1992020-12-01 15:34:34 +010083 <testsuite name="SIMD,SVE Registers context"
84 description="Validate context switch between NWd and SWd" >
85 <testcase name="Check that SIMD registers context is preserved"
86 function="test_simd_vectors_preserved" />
Max Shvetsov959be332021-03-16 14:18:13 +000087 <testcase name="Check that SVE registers context is preserved"
88 function="test_sve_vectors_preserved" />
Olivier Deprez881b1992020-12-01 15:34:34 +010089 </testsuite>
90
Manish Pandeydfe3ab32020-09-11 10:31:28 +010091 <testsuite name="FF-A Interrupt"
92 description="Test non-secure Interrupts" >
93 <testcase name="Test NS interrupts"
94 function="test_ffa_ns_interrupt" />
95 </testsuite>
96
Madhukar Pappireddy172523b2020-12-31 19:25:33 -060097 <testsuite name="SMMUv3 tests"
98 description="Initiate stage2 translation for streams from upstream peripherals" >
99 <testcase name="Check DMA command by SMMUv3TestEngine completes"
100 function="test_smmu_spm" />
101 </testsuite>
Daniel Boulby198deda2021-03-03 11:35:25 +0000102
J-Alvesbb467d12021-03-18 11:49:35 +0000103 <testsuite name="FF-A Notifications"
104 description="Test Notifications functionality" >
105 <testcase name="Notifications bitmap create and destroy"
106 function="test_ffa_notifications_bitmap_create_destroy" />
107 <testcase name="Notifications bitmap destroy not created"
108 function="test_ffa_notifications_destroy_not_created" />
109 <testcase name="Notifications bitmap create after create"
110 function="test_ffa_notifications_create_after_create" />
J-Alvese5f3fe62021-03-18 11:51:20 +0000111 <testcase name="SP Notifications bind and unbind"
112 function="test_ffa_notifications_sp_bind_unbind" />
113 <testcase name="VM Notifications bind and unbind"
114 function="test_ffa_notifications_vm_bind_unbind" />
115 <testcase name="VM Notifications bind NS Sender"
116 function="test_ffa_notifications_vm_bind_vm" />
117 <testcase name="Notifications bind/unbind of bound Notifications"
118 function="test_ffa_notifications_already_bound" />
119 <testcase name="Notifications bind/unbind SPs spoofing receiver"
120 function="test_ffa_notifications_bind_unbind_spoofing" />
121 <testcase name="Notifications zeroed in bind and unbind"
122 function="test_ffa_notifications_bind_unbind_zeroed" />
J-Alvesd63ae4b2021-03-29 15:25:19 +0100123 <testcase name="Notifications VM signals SP"
124 function="test_ffa_notifications_vm_signals_sp" />
125 <testcase name="Notifications SP signals SP"
126 function="test_ffa_notifications_sp_signals_sp" />
127 <testcase name="Notifications SP signals VM"
128 function="test_ffa_notifications_sp_signals_vm" />
129 <testcase name="Notifications unbind while pending"
130 function="test_ffa_notifications_unbind_pending" />
J-Alves16d52d52021-06-14 14:29:37 +0100131 <testcase name="Notifications info get no data"
132 function="test_ffa_notifications_info_get_none" />
J-Alves44ec4f72021-07-27 12:07:14 +0100133 <testcase name="Notifications VM signals SP per-vCPU"
134 function="test_ffa_notifications_vm_signals_sp_per_vcpu" />
135 <testcase name="Notifications SP signals SP per-vCPU"
136 function="test_ffa_notifications_sp_signals_sp_per_vcpu" />
J-Alvesb0cb5d02021-07-08 11:19:33 +0100137 <testcase name="Notifications SP signals VM per-vCPU"
138 function="test_ffa_notifications_sp_signals_vm_per_vcpu" />
J-Alvesbb467d12021-03-18 11:49:35 +0000139 </testsuite>
140
Sandrine Bailleux3cd87d72018-10-09 11:12:55 +0200141</testsuites>