aboutsummaryrefslogtreecommitdiff
path: root/tftf/tests/tests-spm.xml
blob: 360e32d703194696b2ec7f961167d7eb4b7d525f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?xml version="1.0" encoding="utf-8"?>

<!--
  Copyright (c) 2018-2021, Arm Limited. All rights reserved.

  SPDX-License-Identifier: BSD-3-Clause
-->

<testsuites>
  <testsuite name="FF-A Setup and Discovery"
             description="Test FF-A Setup and Discovery interfaces" >
     <testcase name="Test FFA_FEATURES"
               function="test_ffa_features" />

     <testcase name="Same FFA version as SPM"
               function="test_ffa_version_equal" />
     <testcase name="Setting bit 31 in input version"
               function="test_ffa_version_bit31"/>
     <testcase name="Bigger FFA version than SPM"
               function="test_ffa_version_bigger" />
     <testcase name="Smaller FFA version than SPM"
               function="test_ffa_version_smaller" />

     <testcase name="FF-A RXTX Map API success"
               function="test_ffa_rxtx_map_success" />
     <testcase name="FF-A RXTX Map API consecutive"
               function="test_ffa_rxtx_map_fail" />

     <testcase name="Test FFA_SPM_ID_GET"
               function="test_ffa_spm_id_get" />

     <testcase name="Test FFA_PARTITION_INFO_GET"
               function="test_ffa_partition_info" />
  </testsuite>

  <testsuite name="FF-A Direct messaging"
             description="Test FF-A Direct messaging" >

     <testcase name="FF-A direct messaging"
               function="test_ffa_direct_messaging" />

     <testcase name="FF-A Request SP-to-SP direct messaging"
               function="test_ffa_sp_to_sp_direct_messaging" />

     <testcase name="FF-A Request SP-to-SP direct messaging deadlock"
           function="test_ffa_sp_to_sp_deadlock" />

  </testsuite>

 <testsuite name="FF-A Power management"
             description="Test FF-A power management" >
    <testcase name="FF-A SP hotplug"
              function="test_ffa_secondary_core_direct_msg" />
  </testsuite>

  <testsuite name="FF-A Memory Sharing"
             description="Test FF-A Memory Sharing ABIs" >
     <testcase name="Lend Memory to Secure World"
               function="test_mem_lend_sp" />
     <testcase name="Share Memory with Secure World"
               function="test_mem_share_sp" />
     <testcase name="Donate Memory to Secure World"
               function="test_mem_donate_sp"/>
     <testcase name="Request Share Memory SP-to-SP"
               function="test_req_mem_share_sp_to_sp" />
     <testcase name="Request Lend Memory SP-to-SP"
               function="test_req_mem_lend_sp_to_sp" />
     <testcase name="Request Donate Memory SP-to-SP"
               function="test_req_mem_donate_sp_to_sp" />
  </testsuite>

  <testsuite name="SIMD,SVE Registers context"
             description="Validate context switch between NWd and SWd" >
     <testcase name="Check that SIMD registers context is preserved"
               function="test_simd_vectors_preserved" />
     <testcase name="Check that SVE registers context is preserved"
               function="test_sve_vectors_preserved" />
  </testsuite>

   <testsuite name="FF-A Interrupt"
             description="Test non-secure Interrupts" >
     <testcase name="Test NS interrupts"
               function="test_ffa_ns_interrupt" />
  </testsuite>

  <testsuite name="SMMUv3 tests"
             description="Initiate stage2 translation for streams from upstream peripherals" >
     <testcase name="Check DMA command by SMMUv3TestEngine completes"
               function="test_smmu_spm" />
  </testsuite>

</testsuites>