Sandrine Bailleux | 3cd87d7 | 2018-10-09 11:12:55 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | |
| 3 | <!-- |
Madhukar Pappireddy | cbd8989 | 2023-02-17 14:56:02 -0600 | [diff] [blame] | 4 | Copyright (c) 2018-2023, Arm Limited. All rights reserved. |
Sandrine Bailleux | 3cd87d7 | 2018-10-09 11:12:55 +0200 | [diff] [blame] | 5 | |
| 6 | SPDX-License-Identifier: BSD-3-Clause |
| 7 | --> |
| 8 | |
| 9 | <testsuites> |
Daniel Boulby | 6833ea5 | 2021-03-04 17:20:12 +0000 | [diff] [blame] | 10 | <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 Bailleux | 3cd87d7 | 2018-10-09 11:12:55 +0200 | [diff] [blame] | 14 | |
Daniel Boulby | 6833ea5 | 2021-03-04 17:20:12 +0000 | [diff] [blame] | 15 | <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-Alves | 8f08a05 | 2020-05-26 17:14:40 +0100 | [diff] [blame] | 23 | |
J-Alves | f1126f2 | 2020-11-02 17:28:20 +0000 | [diff] [blame] | 24 | <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 Boulby | e060290 | 2021-07-07 11:14:39 +0100 | [diff] [blame] | 28 | <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-Alves | d17c611 | 2023-01-12 10:48:41 +0000 | [diff] [blame] | 34 | <testcase name="FF-A RXTX unmap SP rxtx buffer" |
| 35 | function="test_ffa_rxtx_unmap_fail_if_sp" /> |
Daniel Boulby | 6833ea5 | 2021-03-04 17:20:12 +0000 | [diff] [blame] | 36 | <testcase name="Test FFA_SPM_ID_GET" |
| 37 | function="test_ffa_spm_id_get" /> |
Max Shvetsov | 461bac0 | 2021-02-23 18:29:14 +0000 | [diff] [blame] | 38 | |
| 39 | <testcase name="Test FFA_PARTITION_INFO_GET" |
| 40 | function="test_ffa_partition_info" /> |
Daniel Boulby | 2ac55f2 | 2022-01-21 12:08:08 +0000 | [diff] [blame] | 41 | <testcase name="Test FFA_PARTITION_INFO_GET v1.0" |
| 42 | function="test_ffa_partition_info_v1_0" /> |
J-Alves | f1126f2 | 2020-11-02 17:28:20 +0000 | [diff] [blame] | 43 | </testsuite> |
| 44 | |
Olivier Deprez | 5563de0 | 2023-07-10 10:49:25 +0200 | [diff] [blame] | 45 | <testsuite name="FF-A SMCCC compliance" |
| 46 | description="SMCCC compliance" > |
| 47 | <testcase name="FF-A callee preserves GP register set per SMCCC" |
| 48 | function="test_smccc_callee_preserved" /> |
| 49 | <testcase name="FF-A callee preserves extended GP register set per SMCCC" |
| 50 | function="test_smccc_ext_callee_preserved" /> |
| 51 | </testsuite> |
| 52 | |
Olivier Deprez | 20b9b17 | 2021-04-22 14:39:54 +0200 | [diff] [blame] | 53 | <testsuite name="SP exceptions" |
| 54 | description="SP exceptions" > |
| 55 | |
| 56 | <testcase name="Access from a SP to a Realm region" |
| 57 | function="rl_memory_cannot_be_accessed_in_s" /> |
| 58 | |
| 59 | </testsuite> |
| 60 | |
J-Alves | b1e81d8 | 2020-11-09 15:40:31 +0000 | [diff] [blame] | 61 | <testsuite name="FF-A Direct messaging" |
| 62 | description="Test FF-A Direct messaging" > |
| 63 | |
| 64 | <testcase name="FF-A direct messaging" |
| 65 | function="test_ffa_direct_messaging" /> |
| 66 | |
| 67 | <testcase name="FF-A Request SP-to-SP direct messaging" |
| 68 | function="test_ffa_sp_to_sp_direct_messaging" /> |
| 69 | |
J-Alves | ae95ac9 | 2020-11-11 13:06:55 +0000 | [diff] [blame] | 70 | <testcase name="FF-A Request SP-to-SP direct messaging deadlock" |
| 71 | function="test_ffa_sp_to_sp_deadlock" /> |
| 72 | |
J-Alves | b1e81d8 | 2020-11-09 15:40:31 +0000 | [diff] [blame] | 73 | </testsuite> |
| 74 | |
Madhukar Pappireddy | cbd8989 | 2023-02-17 14:56:02 -0600 | [diff] [blame] | 75 | <testsuite name="FF-A Group0 interrupts" |
| 76 | description="Test FF-A Group0 secure interrupt delegation to EL3" > |
| 77 | <testcase name="FF-A Group0 secure world" |
| 78 | function="test_ffa_group0_interrupt_sp_running" /> |
| 79 | <testcase name="FF-A Group0 normal world" |
| 80 | function="test_ffa_group0_interrupt_in_nwd" /> |
| 81 | </testsuite> |
| 82 | |
Max Shvetsov | c0e9169 | 2020-11-12 17:47:13 +0000 | [diff] [blame] | 83 | <testsuite name="FF-A Power management" |
| 84 | description="Test FF-A power management" > |
| 85 | <testcase name="FF-A SP hotplug" |
| 86 | function="test_ffa_secondary_core_direct_msg" /> |
| 87 | </testsuite> |
| 88 | |
J-Alves | 40618a3 | 2020-10-08 17:25:37 +0100 | [diff] [blame] | 89 | <testsuite name="FF-A Memory Sharing" |
| 90 | description="Test FF-A Memory Sharing ABIs" > |
J-Alves | 27390fd | 2020-11-18 10:51:15 +0000 | [diff] [blame] | 91 | <testcase name="Lend Memory to Secure World" |
| 92 | function="test_mem_lend_sp" /> |
J-Alves | 807ce14 | 2021-12-14 15:24:11 +0000 | [diff] [blame] | 93 | <testcase name="Lend memory, clear flag set" |
| 94 | function="test_mem_share_to_sp_clear_memory"/> |
J-Alves | 27390fd | 2020-11-18 10:51:15 +0000 | [diff] [blame] | 95 | <testcase name="Share Memory with Secure World" |
| 96 | function="test_mem_share_sp" /> |
| 97 | <testcase name="Donate Memory to Secure World" |
| 98 | function="test_mem_donate_sp"/> |
| 99 | <testcase name="Request Share Memory SP-to-SP" |
| 100 | function="test_req_mem_share_sp_to_sp" /> |
| 101 | <testcase name="Request Lend Memory SP-to-SP" |
| 102 | function="test_req_mem_lend_sp_to_sp" /> |
| 103 | <testcase name="Request Donate Memory SP-to-SP" |
| 104 | function="test_req_mem_donate_sp_to_sp" /> |
Olivier Deprez | 728cc56 | 2022-06-09 11:37:46 +0200 | [diff] [blame] | 105 | <testcase name="Request Share NS Memory (large PA) SP-to-SP" |
Federico Recanati | 6328fb0 | 2022-01-14 15:48:16 +0100 | [diff] [blame] | 106 | function="test_req_ns_mem_share_sp_to_sp" /> |
Maksims Svecovs | 6174065 | 2021-12-14 12:01:45 +0000 | [diff] [blame] | 107 | <testcase name="Request Share Memory SP-to-VM" |
| 108 | function="test_req_mem_share_sp_to_vm" /> |
| 109 | <testcase name="Request Lend Memory SP-to-VM" |
| 110 | function="test_req_mem_lend_sp_to_vm" /> |
J-Alves | 9c08890 | 2023-03-16 18:21:37 +0000 | [diff] [blame] | 111 | <testcase name="Share forbidden memory with SP" |
| 112 | function="test_share_forbidden_ranges" /> |
J-Alves | 36c9b07 | 2023-03-17 15:05:41 +0000 | [diff] [blame] | 113 | <testcase name="Donate consecutively" |
| 114 | function="test_consecutive_donate" /> |
J-Alves | 40618a3 | 2020-10-08 17:25:37 +0100 | [diff] [blame] | 115 | </testsuite> |
| 116 | |
Olivier Deprez | 881b199 | 2020-12-01 15:34:34 +0100 | [diff] [blame] | 117 | <testsuite name="SIMD,SVE Registers context" |
| 118 | description="Validate context switch between NWd and SWd" > |
| 119 | <testcase name="Check that SIMD registers context is preserved" |
| 120 | function="test_simd_vectors_preserved" /> |
Max Shvetsov | 959be33 | 2021-03-16 14:18:13 +0000 | [diff] [blame] | 121 | <testcase name="Check that SVE registers context is preserved" |
| 122 | function="test_sve_vectors_preserved" /> |
Kathleen Capella | c59184c | 2022-08-23 19:09:41 -0400 | [diff] [blame] | 123 | <testcase name="Check that SVE operations in NWd are unaffected by SWd" |
| 124 | function="test_sve_vectors_operations" /> |
Olivier Deprez | 881b199 | 2020-12-01 15:34:34 +0100 | [diff] [blame] | 125 | </testsuite> |
| 126 | |
Manish Pandey | dfe3ab3 | 2020-09-11 10:31:28 +0100 | [diff] [blame] | 127 | <testsuite name="FF-A Interrupt" |
| 128 | description="Test non-secure Interrupts" > |
Madhukar Pappireddy | fb6804c | 2022-06-22 17:43:51 -0500 | [diff] [blame] | 129 | <!-- |
| 130 | <testcase name="Test SPx with NS Interrupt queued" |
| 131 | function="test_ffa_ns_interrupt_queued" /> |
| 132 | --> |
Madhukar Pappireddy | c19d208 | 2022-06-22 17:56:12 -0500 | [diff] [blame] | 133 | <testcase name="Test SPx with NS Interrupt signaled and SPy with Managed Exit" |
| 134 | function="test_ffa_SPx_signaled_SPy_ME" /> |
Madhukar Pappireddy | 51b7f85 | 2022-06-22 17:47:38 -0500 | [diff] [blame] | 135 | <testcase name="Test Managed Exit in SP call chain" |
| 136 | function="test_ffa_ns_interrupt_managed_exit_chained" /> |
Madhukar Pappireddy | 54fd88b | 2022-06-22 17:52:56 -0500 | [diff] [blame] | 137 | <testcase name="Test SPx with Managed Exit and SPy with NS Interrupt signaled" |
| 138 | function="test_ffa_SPx_ME_SPy_signaled" /> |
Madhukar Pappireddy | 4d76de0 | 2022-06-22 17:38:21 -0500 | [diff] [blame] | 139 | <testcase name="Test Managed Exit" |
| 140 | function="test_ffa_ns_interrupt_managed_exit" /> |
| 141 | <testcase name="Test NS interrupt Signalable" |
| 142 | function="test_ffa_ns_interrupt_signaled" /> |
Madhukar Pappireddy | 77fbf49 | 2021-08-05 15:39:21 -0500 | [diff] [blame] | 143 | <testcase name="Test Secure interrupt handling while SP running" |
| 144 | function="test_ffa_sec_interrupt_sp_running" /> |
Madhukar Pappireddy | 12a0d0e | 2021-08-05 15:41:20 -0500 | [diff] [blame] | 145 | <testcase name="Test Secure interrupt handling while SP waiting" |
| 146 | function="test_ffa_sec_interrupt_sp_waiting" /> |
Madhukar Pappireddy | 98d1588 | 2021-08-20 13:17:46 -0500 | [diff] [blame] | 147 | <testcase name="Test Secure interrupt handling while SP blocked" |
| 148 | function="test_ffa_sec_interrupt_sp_blocked" /> |
Madhukar Pappireddy | 02722ed | 2021-09-07 14:53:29 -0500 | [diff] [blame] | 149 | <testcase name="Test Secure interrupt handling while SP1 waiting SP2 running" |
| 150 | function="test_ffa_sec_interrupt_sp1_waiting_sp2_running" /> |
Raghu Krishnamurthy | 9e267a0 | 2022-08-11 21:25:26 -0700 | [diff] [blame] | 151 | <testcase name="Test ESPI Secure interrupt handling" |
| 152 | function="test_ffa_espi_sec_interrupt" /> |
Manish Pandey | dfe3ab3 | 2020-09-11 10:31:28 +0100 | [diff] [blame] | 153 | </testsuite> |
| 154 | |
Madhukar Pappireddy | 172523b | 2020-12-31 19:25:33 -0600 | [diff] [blame] | 155 | <testsuite name="SMMUv3 tests" |
| 156 | description="Initiate stage2 translation for streams from upstream peripherals" > |
| 157 | <testcase name="Check DMA command by SMMUv3TestEngine completes" |
| 158 | function="test_smmu_spm" /> |
| 159 | </testsuite> |
Daniel Boulby | 198deda | 2021-03-03 11:35:25 +0000 | [diff] [blame] | 160 | |
J-Alves | bb467d1 | 2021-03-18 11:49:35 +0000 | [diff] [blame] | 161 | <testsuite name="FF-A Notifications" |
| 162 | description="Test Notifications functionality" > |
J-Alves | 4439ece | 2021-11-05 11:52:54 +0000 | [diff] [blame] | 163 | <testcase name="Notifications interrupts ID retrieval with FFA_FEATURES" |
| 164 | function= "test_notifications_retrieve_int_ids" /> |
J-Alves | bb467d1 | 2021-03-18 11:49:35 +0000 | [diff] [blame] | 165 | <testcase name="Notifications bitmap create and destroy" |
| 166 | function="test_ffa_notifications_bitmap_create_destroy" /> |
| 167 | <testcase name="Notifications bitmap destroy not created" |
| 168 | function="test_ffa_notifications_destroy_not_created" /> |
| 169 | <testcase name="Notifications bitmap create after create" |
| 170 | function="test_ffa_notifications_create_after_create" /> |
J-Alves | e5f3fe6 | 2021-03-18 11:51:20 +0000 | [diff] [blame] | 171 | <testcase name="SP Notifications bind and unbind" |
| 172 | function="test_ffa_notifications_sp_bind_unbind" /> |
| 173 | <testcase name="VM Notifications bind and unbind" |
| 174 | function="test_ffa_notifications_vm_bind_unbind" /> |
| 175 | <testcase name="VM Notifications bind NS Sender" |
| 176 | function="test_ffa_notifications_vm_bind_vm" /> |
| 177 | <testcase name="Notifications bind/unbind of bound Notifications" |
| 178 | function="test_ffa_notifications_already_bound" /> |
| 179 | <testcase name="Notifications bind/unbind SPs spoofing receiver" |
| 180 | function="test_ffa_notifications_bind_unbind_spoofing" /> |
| 181 | <testcase name="Notifications zeroed in bind and unbind" |
| 182 | function="test_ffa_notifications_bind_unbind_zeroed" /> |
J-Alves | d63ae4b | 2021-03-29 15:25:19 +0100 | [diff] [blame] | 183 | <testcase name="Notifications VM signals SP" |
| 184 | function="test_ffa_notifications_vm_signals_sp" /> |
| 185 | <testcase name="Notifications SP signals SP" |
| 186 | function="test_ffa_notifications_sp_signals_sp" /> |
| 187 | <testcase name="Notifications SP signals VM" |
| 188 | function="test_ffa_notifications_sp_signals_vm" /> |
J-Alves | 5fb1421 | 2021-09-21 13:04:48 +0100 | [diff] [blame] | 189 | <testcase name="Notifications SP signals SP with immediate SRI" |
| 190 | function="test_ffa_notifications_sp_signals_sp_immediate_sri" /> |
J-Alves | f032847 | 2021-09-21 18:32:02 +0100 | [diff] [blame] | 191 | <testcase name="Notifications SP signals SP with delayed SRI" |
| 192 | function="test_ffa_notifications_sp_signals_sp_delayed_sri" /> |
J-Alves | d63ae4b | 2021-03-29 15:25:19 +0100 | [diff] [blame] | 193 | <testcase name="Notifications unbind while pending" |
| 194 | function="test_ffa_notifications_unbind_pending" /> |
J-Alves | be2daa6 | 2021-11-04 17:06:57 +0000 | [diff] [blame] | 195 | <testcase name="Notifications MP SP signals UP SP per-vCPU" |
| 196 | function="test_ffa_notifications_mp_sp_signals_up_sp" /> |
J-Alves | 16d52d5 | 2021-06-14 14:29:37 +0100 | [diff] [blame] | 197 | <testcase name="Notifications info get no data" |
| 198 | function="test_ffa_notifications_info_get_none" /> |
J-Alves | 44ec4f7 | 2021-07-27 12:07:14 +0100 | [diff] [blame] | 199 | <testcase name="Notifications VM signals SP per-vCPU" |
| 200 | function="test_ffa_notifications_vm_signals_sp_per_vcpu" /> |
| 201 | <testcase name="Notifications SP signals SP per-vCPU" |
| 202 | function="test_ffa_notifications_sp_signals_sp_per_vcpu" /> |
J-Alves | b0cb5d0 | 2021-07-08 11:19:33 +0100 | [diff] [blame] | 203 | <testcase name="Notifications SP signals VM per-vCPU" |
| 204 | function="test_ffa_notifications_sp_signals_vm_per_vcpu" /> |
J-Alves | bb467d1 | 2021-03-18 11:49:35 +0000 | [diff] [blame] | 205 | </testsuite> |
| 206 | |
Sandrine Bailleux | 3cd87d7 | 2018-10-09 11:12:55 +0200 | [diff] [blame] | 207 | </testsuites> |