blob: f359e72574f356c12e0d5db3fd1d797e44f9c2b7 [file] [log] [blame]
Mark Dykes16b71692021-09-15 14:13:55 -05001<?xml version="1.0" encoding="utf-8"?>
2
3<!--
AlexeiFedorov2f30f102023-03-13 19:37:46 +00004 Copyright (c) 2021-2023, 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" >
11 <testcase name="Realm EL1 creation and execution test"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000012 function="host_test_realm_create_enter" />
Shruti Gupta6c0be802024-02-20 11:52:57 +000013 <testcase name="Realm RTT fold unfold test Unassigned Empty"
14 function="host_test_rtt_fold_unfold_unassigned_empty" />
15 <testcase name="Realm RTT fold unfold test Unassigned RAM"
16 function="host_test_rtt_fold_unfold_unassigned_ram" />
Shruti Guptab324f4d2024-02-26 11:06:03 +000017 <testcase name="Realm RTT fold unfold test Assigned Empty"
18 function="host_test_rtt_fold_unfold_assigned_empty" />
19 <testcase name="Realm RTT fold unfold test Assigned RAM"
20 function="host_test_rtt_fold_unfold_assigned_ram" />
21 <testcase name="Realm RTT fold unfold test Assigned NS"
22 function="host_test_rtt_fold_unfold_assigned_ns" />
Shruti Gupta944016b2023-11-21 11:30:35 +000023 <testcase name="Multiple Realm EL1 creation and execution test"
24 function="host_test_multiple_realm_create_enter" />
Shruti Guptaaffbae82023-08-22 12:51:11 +010025 <testcase name="Realm payload multi rec multiple cpu"
26 function="host_realm_multi_rec_multiple_cpu" />
Shruti Gupta86f312a2023-12-21 11:33:03 +000027 <testcase name="Realm payload multi rec validations"
28 function="host_realm_multi_rec_multiple_cpu2" />
Shruti Guptaf733a782024-01-03 22:33:10 +000029 <testcase name="New Realm PAS Validation"
30 function="host_realm_pas_validation_new" />
31 <testcase name="Active Realm PAS validation"
32 function="host_realm_pas_validation_active" />
Shruti Guptab027f572024-01-02 22:00:29 +000033 <testcase name="Realm SEA Empty"
34 function="host_realm_sea_empty" />
35 <testcase name="Realm SEA Unprotected"
36 function="host_realm_sea_unprotected" />
Shruti Gupta462b07d2024-02-08 02:16:25 +000037 <testcase name="Realm SEA Adr Fault"
38 function="host_realm_sea_adr_fault" />
Shruti Guptae68494e2023-11-06 11:04:57 +000039 <testcase name="Realm Abort Unassigned RAM"
40 function="host_realm_abort_unassigned_ram" />
41 <testcase name="Realm Abort Unassigned Destroyed"
42 function="host_realm_abort_unassigned_destroyed" />
43 <testcase name="Realm Abort Assigned destroyed"
44 function="host_realm_abort_assigned_destroyed" />
Shruti Guptaf31bbe72023-09-27 14:04:53 +010045 <testcase name="Realm payload multi rec single cpu"
46 function="host_realm_multi_rec_single_cpu" />
Shruti Gupta24597d12023-10-02 10:40:19 +010047 <testcase name="Realm payload multi rec psci denied"
48 function="host_realm_multi_rec_psci_denied" />
Shruti Gupta6bb95102023-10-02 13:21:37 +010049 <testcase name="Realm payload multi rec force exit on NS IRQ"
50 function="host_realm_multi_rec_exit_irq" />
Shruti Gupta40de8ec2023-10-12 21:45:12 +010051 <testcase name="Realm EL1 creation and RSI version"
52 function="host_test_realm_rsi_version" />
nabkah01002e5692022-10-10 12:36:46 +010053 <testcase name="Realm payload boot"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000054 function="host_realm_version_single_cpu" />
nabkah01002e5692022-10-10 12:36:46 +010055 <testcase name="Realm payload multi CPU request"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000056 function="host_realm_version_multi_cpu" />
nabkah01002e5692022-10-10 12:36:46 +010057 <testcase name="Realm payload Delegate and Undelegate"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000058 function="host_realm_delegate_undelegate" />
nabkah01002e5692022-10-10 12:36:46 +010059 <testcase name="Multi CPU Realm payload Delegate and Undelegate"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000060 function="host_realm_delundel_multi_cpu" />
nabkah01002e5692022-10-10 12:36:46 +010061 <testcase name="Testing delegation fails"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000062 function="host_realm_fail_del" />
63 <testcase name="PMUv3 cycle counter functional in Realm"
64 function="host_realm_pmuv3_cycle_works" />
65 <testcase name="PMUv3 event counter functional in Realm"
66 function="host_realm_pmuv3_event_works" />
67 <testcase name="PMUv3 RSI SMC counter preservation"
68 function="host_realm_pmuv3_rmm_preserves" />
69 <testcase name="PMUv3 overflow interrupt"
70 function="host_realm_pmuv3_overflow_interrupt" />
Shruti Guptab1b37922024-01-13 21:49:04 +000071 <testcase name="PMUv3 multiple rec validations"
72 function="host_realm_pmuv3_mul_rec" />
nabkah01cd668462022-11-06 15:29:44 +000073 <testcase name="Test Secure interrupt can preempt Realm EL1"
74 function="host_realm_sec_interrupt_can_preempt_rl" />
Shruti Guptabb772192023-10-09 16:08:28 +010075 <testcase name="Realm request set_ripas"
76 function="host_realm_set_ripas" />
Shruti Guptafef86212023-10-17 12:15:38 +010077 <testcase name="Realm reject set_ripas"
78 function="host_realm_reject_set_ripas" />
Arunachalam Ganapathyf3697172023-09-04 15:04:46 +010079 <!-- Test case related to SVE support and SIMD state -->
Arunachalam Ganapathy0bbdc2d2023-04-05 15:30:18 +010080 <testcase name="Check RMI reports proper SVE VL"
81 function="host_check_rmi_reports_proper_sve_vl" />
82 <testcase name="Create SVE Realm with invalid VL"
83 function="host_sve_realm_test_invalid_vl" />
84 <testcase name="Create SVE Realm and test ID registers"
85 function="host_sve_realm_cmd_id_registers" />
86 <testcase name="Create non SVE Realm and test ID registers"
87 function="host_non_sve_realm_cmd_id_registers" />
88 <testcase name="Create SVE Realm and check rdvl result"
89 function="host_sve_realm_cmd_rdvl" />
90 <testcase name="Create SVE Realm and probe all supported VLs"
91 function="host_sve_realm_cmd_probe_vl" />
92 <testcase name="Check whether RMM preserves NS ZCR_EL2 register"
93 function="host_sve_realm_check_config_register" />
Arunachalam Ganapathyc1136a82023-04-12 15:24:44 +010094 <testcase name="Intermittently switch to Realm while doing NS SVE ops"
95 function="host_sve_realm_check_vectors_operations" />
Arunachalam Ganapathy5270d012023-04-19 14:53:42 +010096 <testcase name="Check if RMM does not leak Realm SVE vector registers"
97 function="host_sve_realm_check_vectors_leaked" />
Arunachalam Ganapathy73949a22023-06-05 12:01:05 +010098 <testcase name="Check if Realm gets undefined abort if it access SVE"
99 function="host_non_sve_realm_check_undef_abort" />
Olivier Deprezf1738b32023-10-11 14:09:46 +0200100 <testcase name="Check various SIMD state preserved across NS/RL/S switch"
101 function="host_realm_swd_check_simd" />
Arunachalam Ganapathy1768e592023-05-23 13:28:38 +0100102 <!-- Test Realm for SME -->
103 <testcase name="Create Realm and test SME ID registers"
104 function="host_realm_check_sme_id_registers" />
105 <testcase name="Check if Realm gets undefined abort when it access SME"
106 function="host_realm_check_sme_undef_abort" />
107 <testcase name="Check whether RMM preserves NS SME configurations"
108 function="host_realm_check_sme_configs" />
Arunachalam Ganapathy1b327c22023-06-06 15:39:47 +0100109 <testcase name="Intermittently switch to Realm while NS doing SSVE ops"
110 function="host_sve_realm_check_streaming_vectors_operations" />
Arunachalam Ganapathyf3697172023-09-04 15:04:46 +0100111 <!-- Test case related to PAuth -->
Shruti Gupta9d0cfe82023-04-17 10:57:26 +0100112 <testcase name="Check if PAuth keys are preserved in RL/SE/NS"
113 function="host_realm_enable_pauth" />
114 <testcase name="Generate PAuth Fault by overwriting LR"
115 function="host_realm_pauth_fault" />
Shruti Gupta2a5abad2024-01-17 13:48:44 +0000116 <testcase name="Check if DIT Bit is preserved in RL/NS"
117 function="host_realm_enable_dit" />
Javier Almansa Sobrino9eb1eaa2023-09-19 16:07:09 +0100118 <!-- Test case related to FEAT_LPA2 -->
119 <testcase name="Test realm creation with no FEAT_LPA2 and -1 RTT starting level"
120 function="host_test_realm_no_lpa2_invalid_sl" />
121 <testcase name="Test realm creation with no FEAT_LPA2 and S2SZ > 48 bits"
122 function="host_test_realm_no_lpa2_invalid_s2sz" />
123 <testcase name="Test Realm creation with LPA2 disabled but FEAT_LPA2 present on platform"
124 function="host_test_non_lpa2_realm_on_lpa2plat" />
125 <testcase name="Test Realm creation with LPA2 enabled but FEAT_LPA2 absent on platform"
126 function="host_test_lpa2_realm_on_non_lpa2plat" />
Mark Dykes16b71692021-09-15 14:13:55 -0500127 </testsuite>
Mark Dykes16b71692021-09-15 14:13:55 -0500128</testsuites>