blob: 00048fc1d056fed3df1e70dbacac8cc5712d3d6a [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 Gupta944016b2023-11-21 11:30:35 +000013 <testcase name="Multiple Realm EL1 creation and execution test"
14 function="host_test_multiple_realm_create_enter" />
Shruti Guptaaffbae82023-08-22 12:51:11 +010015 <testcase name="Realm payload multi rec multiple cpu"
16 function="host_realm_multi_rec_multiple_cpu" />
Shruti Gupta86f312a2023-12-21 11:33:03 +000017 <testcase name="Realm payload multi rec validations"
18 function="host_realm_multi_rec_multiple_cpu2" />
Shruti Guptaf733a782024-01-03 22:33:10 +000019 <testcase name="New Realm PAS Validation"
20 function="host_realm_pas_validation_new" />
21 <testcase name="Active Realm PAS validation"
22 function="host_realm_pas_validation_active" />
Shruti Guptab027f572024-01-02 22:00:29 +000023 <testcase name="Realm SEA Empty"
24 function="host_realm_sea_empty" />
25 <testcase name="Realm SEA Unprotected"
26 function="host_realm_sea_unprotected" />
Shruti Guptae68494e2023-11-06 11:04:57 +000027 <testcase name="Realm Abort Unassigned RAM"
28 function="host_realm_abort_unassigned_ram" />
29 <testcase name="Realm Abort Unassigned Destroyed"
30 function="host_realm_abort_unassigned_destroyed" />
31 <testcase name="Realm Abort Assigned destroyed"
32 function="host_realm_abort_assigned_destroyed" />
Shruti Guptaf31bbe72023-09-27 14:04:53 +010033 <testcase name="Realm payload multi rec single cpu"
34 function="host_realm_multi_rec_single_cpu" />
Shruti Gupta24597d12023-10-02 10:40:19 +010035 <testcase name="Realm payload multi rec psci denied"
36 function="host_realm_multi_rec_psci_denied" />
Shruti Gupta6bb95102023-10-02 13:21:37 +010037 <testcase name="Realm payload multi rec force exit on NS IRQ"
38 function="host_realm_multi_rec_exit_irq" />
Shruti Gupta40de8ec2023-10-12 21:45:12 +010039 <testcase name="Realm EL1 creation and RSI version"
40 function="host_test_realm_rsi_version" />
nabkah01002e5692022-10-10 12:36:46 +010041 <testcase name="Realm payload boot"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000042 function="host_realm_version_single_cpu" />
nabkah01002e5692022-10-10 12:36:46 +010043 <testcase name="Realm payload multi CPU request"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000044 function="host_realm_version_multi_cpu" />
nabkah01002e5692022-10-10 12:36:46 +010045 <testcase name="Realm payload Delegate and Undelegate"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000046 function="host_realm_delegate_undelegate" />
nabkah01002e5692022-10-10 12:36:46 +010047 <testcase name="Multi CPU Realm payload Delegate and Undelegate"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000048 function="host_realm_delundel_multi_cpu" />
nabkah01002e5692022-10-10 12:36:46 +010049 <testcase name="Testing delegation fails"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000050 function="host_realm_fail_del" />
51 <testcase name="PMUv3 cycle counter functional in Realm"
52 function="host_realm_pmuv3_cycle_works" />
53 <testcase name="PMUv3 event counter functional in Realm"
54 function="host_realm_pmuv3_event_works" />
55 <testcase name="PMUv3 RSI SMC counter preservation"
56 function="host_realm_pmuv3_rmm_preserves" />
57 <testcase name="PMUv3 overflow interrupt"
58 function="host_realm_pmuv3_overflow_interrupt" />
nabkah01cd668462022-11-06 15:29:44 +000059 <testcase name="Test Secure interrupt can preempt Realm EL1"
60 function="host_realm_sec_interrupt_can_preempt_rl" />
Shruti Gupta369955a2023-04-19 18:05:56 +010061 <testcase name="Check that FPU state registers context is preserved in RL/SE/NS"
62 function="host_realm_fpu_access_in_rl_ns_se" />
Shruti Guptabb772192023-10-09 16:08:28 +010063 <testcase name="Realm request set_ripas"
64 function="host_realm_set_ripas" />
Shruti Guptafef86212023-10-17 12:15:38 +010065 <testcase name="Realm reject set_ripas"
66 function="host_realm_reject_set_ripas" />
Arunachalam Ganapathyf3697172023-09-04 15:04:46 +010067 <!-- Test case related to SVE support and SIMD state -->
Arunachalam Ganapathy0bbdc2d2023-04-05 15:30:18 +010068 <testcase name="Check RMI reports proper SVE VL"
69 function="host_check_rmi_reports_proper_sve_vl" />
70 <testcase name="Create SVE Realm with invalid VL"
71 function="host_sve_realm_test_invalid_vl" />
72 <testcase name="Create SVE Realm and test ID registers"
73 function="host_sve_realm_cmd_id_registers" />
74 <testcase name="Create non SVE Realm and test ID registers"
75 function="host_non_sve_realm_cmd_id_registers" />
76 <testcase name="Create SVE Realm and check rdvl result"
77 function="host_sve_realm_cmd_rdvl" />
78 <testcase name="Create SVE Realm and probe all supported VLs"
79 function="host_sve_realm_cmd_probe_vl" />
80 <testcase name="Check whether RMM preserves NS ZCR_EL2 register"
81 function="host_sve_realm_check_config_register" />
Arunachalam Ganapathyc1136a82023-04-12 15:24:44 +010082 <testcase name="Intermittently switch to Realm while doing NS SVE ops"
83 function="host_sve_realm_check_vectors_operations" />
Arunachalam Ganapathy5270d012023-04-19 14:53:42 +010084 <testcase name="Check if RMM does not leak Realm SVE vector registers"
85 function="host_sve_realm_check_vectors_leaked" />
Arunachalam Ganapathy73949a22023-06-05 12:01:05 +010086 <testcase name="Check if Realm gets undefined abort if it access SVE"
87 function="host_non_sve_realm_check_undef_abort" />
Arunachalam Ganapathyf3697172023-09-04 15:04:46 +010088 <testcase name="Check various SIMD state preserved across NS/RL switch"
89 function="host_and_realm_check_simd" />
Arunachalam Ganapathy1768e592023-05-23 13:28:38 +010090 <!-- Test Realm for SME -->
91 <testcase name="Create Realm and test SME ID registers"
92 function="host_realm_check_sme_id_registers" />
93 <testcase name="Check if Realm gets undefined abort when it access SME"
94 function="host_realm_check_sme_undef_abort" />
95 <testcase name="Check whether RMM preserves NS SME configurations"
96 function="host_realm_check_sme_configs" />
Arunachalam Ganapathy1b327c22023-06-06 15:39:47 +010097 <testcase name="Intermittently switch to Realm while NS doing SSVE ops"
98 function="host_sve_realm_check_streaming_vectors_operations" />
Arunachalam Ganapathyf3697172023-09-04 15:04:46 +010099 <!-- Test case related to PAuth -->
Shruti Gupta9d0cfe82023-04-17 10:57:26 +0100100 <testcase name="Check if PAuth keys are preserved in RL/SE/NS"
101 function="host_realm_enable_pauth" />
102 <testcase name="Generate PAuth Fault by overwriting LR"
103 function="host_realm_pauth_fault" />
Shruti Gupta2a5abad2024-01-17 13:48:44 +0000104 <testcase name="Check if DIT Bit is preserved in RL/NS"
105 function="host_realm_enable_dit" />
Mark Dykes16b71692021-09-15 14:13:55 -0500106 </testsuite>
Mark Dykes16b71692021-09-15 14:13:55 -0500107</testsuites>