blob: c9dc0cb77061681906a63763893fe237ff10d0a3 [file] [log] [blame]
Mark Dykes16b71692021-09-15 14:13:55 -05001<?xml version="1.0" encoding="utf-8"?>
2
3<!--
AlexeiFedorov718fd792024-11-08 14:55:20 +00004 Copyright (c) 2021-2025, Arm Limited. All rights reserved.
Mark Dykes16b71692021-09-15 14:13:55 -05005
6 SPDX-License-Identifier: BSD-3-Clause
7-->
8
9<testsuites>
nabkah01002e5692022-10-10 12:36:46 +010010 <testsuite name="Realm payload at EL1" description="Test Realm EL1 framework capabilities" >
Shruti Guptade01b5d2024-12-02 21:17:11 +000011 <testcase name="Realm Planes execution test with multiple RTTs"
12 function="host_test_realm_create_planes_enter_multiple_rtt" />
13 <testcase name="Realm Planes execution test with S2POE/single RTT"
14 function="host_test_realm_create_planes_enter_single_rtt" />
Shruti Gupta41434682024-12-05 14:57:48 +000015 <testcase name="Realm Planes register read/write test"
16 function="host_test_realm_create_planes_register_rw" />
Shruti Guptabd729192025-01-24 17:02:15 +000017 <testcase name="Realm payload Planes multi rec multiple cpu"
18 function="host_realm_multi_planes_multi_rec_multiple_cpu" />
nabkah01002e5692022-10-10 12:36:46 +010019 <testcase name="Realm EL1 creation and execution test"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000020 function="host_test_realm_create_enter" />
Shruti Gupta6c0be802024-02-20 11:52:57 +000021 <testcase name="Realm RTT fold unfold test Unassigned Empty"
22 function="host_test_rtt_fold_unfold_unassigned_empty" />
23 <testcase name="Realm RTT fold unfold test Unassigned RAM"
24 function="host_test_rtt_fold_unfold_unassigned_ram" />
Shruti Guptab324f4d2024-02-26 11:06:03 +000025 <testcase name="Realm RTT fold unfold test Assigned Empty"
26 function="host_test_rtt_fold_unfold_assigned_empty" />
27 <testcase name="Realm RTT fold unfold test Assigned RAM"
28 function="host_test_rtt_fold_unfold_assigned_ram" />
29 <testcase name="Realm RTT fold unfold test Assigned NS"
30 function="host_test_rtt_fold_unfold_assigned_ns" />
Shruti Gupta944016b2023-11-21 11:30:35 +000031 <testcase name="Multiple Realm EL1 creation and execution test"
32 function="host_test_multiple_realm_create_enter" />
Shruti Guptaaffbae82023-08-22 12:51:11 +010033 <testcase name="Realm payload multi rec multiple cpu"
34 function="host_realm_multi_rec_multiple_cpu" />
Shruti Gupta86f312a2023-12-21 11:33:03 +000035 <testcase name="Realm payload multi rec validations"
36 function="host_realm_multi_rec_multiple_cpu2" />
Shruti Guptaf733a782024-01-03 22:33:10 +000037 <testcase name="New Realm PAS Validation"
38 function="host_realm_pas_validation_new" />
39 <testcase name="Active Realm PAS validation"
40 function="host_realm_pas_validation_active" />
Shruti Guptab027f572024-01-02 22:00:29 +000041 <testcase name="Realm SEA Empty"
42 function="host_realm_sea_empty" />
43 <testcase name="Realm SEA Unprotected"
44 function="host_realm_sea_unprotected" />
Shruti Gupta462b07d2024-02-08 02:16:25 +000045 <testcase name="Realm SEA Adr Fault"
46 function="host_realm_sea_adr_fault" />
Shruti Guptae68494e2023-11-06 11:04:57 +000047 <testcase name="Realm Abort Unassigned RAM"
48 function="host_realm_abort_unassigned_ram" />
49 <testcase name="Realm Abort Unassigned Destroyed"
50 function="host_realm_abort_unassigned_destroyed" />
51 <testcase name="Realm Abort Assigned destroyed"
52 function="host_realm_abort_assigned_destroyed" />
Shruti Guptaf31bbe72023-09-27 14:04:53 +010053 <testcase name="Realm payload multi rec single cpu"
54 function="host_realm_multi_rec_single_cpu" />
Shruti Gupta24597d12023-10-02 10:40:19 +010055 <testcase name="Realm payload multi rec psci denied"
56 function="host_realm_multi_rec_psci_denied" />
Shruti Gupta6bb95102023-10-02 13:21:37 +010057 <testcase name="Realm payload multi rec force exit on NS IRQ"
58 function="host_realm_multi_rec_exit_irq" />
Shruti Gupta40de8ec2023-10-12 21:45:12 +010059 <testcase name="Realm EL1 creation and RSI version"
60 function="host_test_realm_rsi_version" />
nabkah01002e5692022-10-10 12:36:46 +010061 <testcase name="Realm payload boot"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000062 function="host_realm_version_single_cpu" />
nabkah01002e5692022-10-10 12:36:46 +010063 <testcase name="Realm payload multi CPU request"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000064 function="host_realm_version_multi_cpu" />
nabkah01002e5692022-10-10 12:36:46 +010065 <testcase name="Realm payload Delegate and Undelegate"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000066 function="host_realm_delegate_undelegate" />
nabkah01002e5692022-10-10 12:36:46 +010067 <testcase name="Multi CPU Realm payload Delegate and Undelegate"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000068 function="host_realm_delundel_multi_cpu" />
nabkah01002e5692022-10-10 12:36:46 +010069 <testcase name="Testing delegation fails"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000070 function="host_realm_fail_del" />
AlexeiFedorov718fd792024-11-08 14:55:20 +000071 <!-- Test cases related to PMUv3 support -->
AlexeiFedorov2f30f102023-03-13 19:37:46 +000072 <testcase name="PMUv3 cycle counter functional in Realm"
73 function="host_realm_pmuv3_cycle_works" />
74 <testcase name="PMUv3 event counter functional in Realm"
75 function="host_realm_pmuv3_event_works" />
76 <testcase name="PMUv3 RSI SMC counter preservation"
77 function="host_realm_pmuv3_rmm_preserves" />
AlexeiFedorovc398c8f2025-01-16 14:35:48 +000078 <testcase name="PMUv3 cycle counter overflow interrupt"
79 function="host_realm_pmuv3_cycle_overflow_interrupt" />
80 <testcase name="PMUv3 event counter overflow interrupt"
81 function="host_realm_pmuv3_event_overflow_interrupt" />
Shruti Guptab1b37922024-01-13 21:49:04 +000082 <testcase name="PMUv3 multiple rec validations"
83 function="host_realm_pmuv3_mul_rec" />
nabkah01cd668462022-11-06 15:29:44 +000084 <testcase name="Test Secure interrupt can preempt Realm EL1"
85 function="host_realm_sec_interrupt_can_preempt_rl" />
Shruti Guptabb772192023-10-09 16:08:28 +010086 <testcase name="Realm request set_ripas"
87 function="host_realm_set_ripas" />
Shruti Guptafef86212023-10-17 12:15:38 +010088 <testcase name="Realm reject set_ripas"
89 function="host_realm_reject_set_ripas" />
Javier Almansa Sobrino7c78f7b2024-10-25 11:44:32 +010090 <testcase name="Realm FEAT_DoubleFault2"
91 function="host_test_feat_doublefault2" />
Javier Almansa Sobrinoa1fe7382025-04-25 20:45:17 +010092 <testcase name="Realm Plane N accessing outside PAR"
93 function="host_test_realm_pn_access_outside_par" />
Javier Almansa Sobrino8307c332025-06-12 10:30:46 +010094 <testcase name="Realm FEAT_TCR2"
95 function="host_realm_feat_tcr2" />
Arunachalam Ganapathyf3697172023-09-04 15:04:46 +010096 <!-- Test case related to SVE support and SIMD state -->
Arunachalam Ganapathy0bbdc2d2023-04-05 15:30:18 +010097 <testcase name="Check RMI reports proper SVE VL"
98 function="host_check_rmi_reports_proper_sve_vl" />
99 <testcase name="Create SVE Realm with invalid VL"
100 function="host_sve_realm_test_invalid_vl" />
101 <testcase name="Create SVE Realm and test ID registers"
102 function="host_sve_realm_cmd_id_registers" />
103 <testcase name="Create non SVE Realm and test ID registers"
104 function="host_non_sve_realm_cmd_id_registers" />
105 <testcase name="Create SVE Realm and check rdvl result"
106 function="host_sve_realm_cmd_rdvl" />
107 <testcase name="Create SVE Realm and probe all supported VLs"
108 function="host_sve_realm_cmd_probe_vl" />
109 <testcase name="Check whether RMM preserves NS ZCR_EL2 register"
110 function="host_sve_realm_check_config_register" />
Arunachalam Ganapathyc1136a82023-04-12 15:24:44 +0100111 <testcase name="Intermittently switch to Realm while doing NS SVE ops"
112 function="host_sve_realm_check_vectors_operations" />
Arunachalam Ganapathy5270d012023-04-19 14:53:42 +0100113 <testcase name="Check if RMM does not leak Realm SVE vector registers"
114 function="host_sve_realm_check_vectors_leaked" />
Arunachalam Ganapathy73949a22023-06-05 12:01:05 +0100115 <testcase name="Check if Realm gets undefined abort if it access SVE"
116 function="host_non_sve_realm_check_undef_abort" />
Olivier Deprezf1738b32023-10-11 14:09:46 +0200117 <testcase name="Check various SIMD state preserved across NS/RL/S switch"
118 function="host_realm_swd_check_simd" />
Arunachalam Ganapathy1768e592023-05-23 13:28:38 +0100119 <!-- Test Realm for SME -->
120 <testcase name="Create Realm and test SME ID registers"
121 function="host_realm_check_sme_id_registers" />
122 <testcase name="Check if Realm gets undefined abort when it access SME"
123 function="host_realm_check_sme_undef_abort" />
124 <testcase name="Check whether RMM preserves NS SME configurations"
125 function="host_realm_check_sme_configs" />
Arunachalam Ganapathy1b327c22023-06-06 15:39:47 +0100126 <testcase name="Intermittently switch to Realm while NS doing SSVE ops"
127 function="host_sve_realm_check_streaming_vectors_operations" />
Arunachalam Ganapathyf3697172023-09-04 15:04:46 +0100128 <!-- Test case related to PAuth -->
Shruti Gupta9d0cfe82023-04-17 10:57:26 +0100129 <testcase name="Check if PAuth keys are preserved in RL/SE/NS"
130 function="host_realm_enable_pauth" />
131 <testcase name="Generate PAuth Fault by overwriting LR"
132 function="host_realm_pauth_fault" />
Shruti Gupta2a5abad2024-01-17 13:48:44 +0000133 <testcase name="Check if DIT Bit is preserved in RL/NS"
134 function="host_realm_enable_dit" />
Javier Almansa Sobrino9eb1eaa2023-09-19 16:07:09 +0100135 <!-- Test case related to FEAT_LPA2 -->
136 <testcase name="Test realm creation with no FEAT_LPA2 and -1 RTT starting level"
137 function="host_test_realm_no_lpa2_invalid_sl" />
138 <testcase name="Test realm creation with no FEAT_LPA2 and S2SZ > 48 bits"
139 function="host_test_realm_no_lpa2_invalid_s2sz" />
140 <testcase name="Test Realm creation with LPA2 disabled but FEAT_LPA2 present on platform"
141 function="host_test_non_lpa2_realm_on_lpa2plat" />
Shruti Guptaebce9022024-09-23 14:36:47 +0100142 <testcase name="Test Data bound with LPA2 disabled but FEAT_LPA2 present on platform"
143 function="host_test_data_bound_non_lpa2_realm_on_lpa2plat" />
Javier Almansa Sobrino9eb1eaa2023-09-19 16:07:09 +0100144 <testcase name="Test Realm creation with LPA2 enabled but FEAT_LPA2 absent on platform"
145 function="host_test_lpa2_realm_on_non_lpa2plat" />
Juan Pablo Conde88ffad22024-10-11 21:22:29 -0500146 <!-- Test cases related to Attestation -->
147 <testcase name="Test realm attestation" function="host_realm_test_attestation" />
148 <testcase name="Test realm attestation fault"
149 function="host_realm_test_attestation_fault" />
Soby Mathew2c2810f2024-11-15 17:11:24 +0000150 <!-- Test case related to PCIE-DOE -->
151 <testcase name="PCI DOE Discovery"
152 function="doe_discovery_test" />
153 <testcase name="SPDM Get Version"
154 function="spdm_version_test" />
Javier Almansa Sobrino82cd82e2025-01-17 17:37:42 +0000155 <!-- Test cases related to FEAT_MPAM -->
156 <testcase name="Test that FEAT_MPAM is hidden to the Realm"
157 function="host_realm_hide_feat_mpam" />
158 <testcase name="Test that access to FEAT_MPAM from Realm causes an undef abort taken to the Realm"
159 function="host_realm_mpam_undef_abort" />
Sona Mathewc8f5a2e2025-02-04 15:22:01 -0600160 <!-- Test case related to FEAT_BRBE -->
161 <testcase name="Test if BRBE realted registers are preserved "
162 function="host_realm_test_brbe_save_restore" />
Sona Mathew6cd8b7d2025-03-31 17:14:46 -0500163 <!-- Test case for EL3-RMM IDE KM Interface -->
164 <testcase name="Test for Root Port Key management interface"
165 function="host_realm_test_root_port_key_management" />
AlexeiFedorov718fd792024-11-08 14:55:20 +0000166 <!-- Test cases related to Dev Mem Delegate and Undelegate -->
167 <testcase name="Host Dev Mem Delegate and Undelegate"
168 function="host_dev_mem_delegate_undelegate" />
169 <testcase name="Multi CPU Realm payload Dev Mem Delegate and Undelegate"
170 function="host_dev_mem_delundel_multi_cpu" />
171 <testcase name="Testing Dev Mem delegation fails"
172 function="host_fail_dev_mem_del" />
AlexeiFedorov1b16dc82025-01-14 11:40:18 +0000173 <!-- Test cases related to Dev Mem Map and Unmap -->
174 <testcase name="Realm payload Dev Mem Map and Unmap"
175 function="host_realm_dev_mem_map_unmap" />
Arunachalam Ganapathyaedca162025-04-21 16:39:06 +0100176 <!-- Invoke DA workflow on PCIe off-chip device -->
177 <testcase name="DA workflow on all PCIe off-chip devices"
178 function="host_da_workflow_on_all_offchip_devices" />
Mark Dykes16b71692021-09-15 14:13:55 -0500179 </testsuite>
Mark Dykes16b71692021-09-15 14:13:55 -0500180</testsuites>