blob: 06c4aa7c8065dc4812461fd67e17f10cde264e54 [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 Guptab027f572024-01-02 22:00:29 +000019 <testcase name="Realm SEA Empty"
20 function="host_realm_sea_empty" />
21 <testcase name="Realm SEA Unprotected"
22 function="host_realm_sea_unprotected" />
Shruti Guptae68494e2023-11-06 11:04:57 +000023 <testcase name="Realm Abort Unassigned RAM"
24 function="host_realm_abort_unassigned_ram" />
25 <testcase name="Realm Abort Unassigned Destroyed"
26 function="host_realm_abort_unassigned_destroyed" />
27 <testcase name="Realm Abort Assigned destroyed"
28 function="host_realm_abort_assigned_destroyed" />
Shruti Guptaf31bbe72023-09-27 14:04:53 +010029 <testcase name="Realm payload multi rec single cpu"
30 function="host_realm_multi_rec_single_cpu" />
Shruti Gupta24597d12023-10-02 10:40:19 +010031 <testcase name="Realm payload multi rec psci denied"
32 function="host_realm_multi_rec_psci_denied" />
Shruti Gupta6bb95102023-10-02 13:21:37 +010033 <testcase name="Realm payload multi rec force exit on NS IRQ"
34 function="host_realm_multi_rec_exit_irq" />
Shruti Gupta40de8ec2023-10-12 21:45:12 +010035 <testcase name="Realm EL1 creation and RSI version"
36 function="host_test_realm_rsi_version" />
nabkah01002e5692022-10-10 12:36:46 +010037 <testcase name="Realm payload boot"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000038 function="host_realm_version_single_cpu" />
nabkah01002e5692022-10-10 12:36:46 +010039 <testcase name="Realm payload multi CPU request"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000040 function="host_realm_version_multi_cpu" />
nabkah01002e5692022-10-10 12:36:46 +010041 <testcase name="Realm payload Delegate and Undelegate"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000042 function="host_realm_delegate_undelegate" />
nabkah01002e5692022-10-10 12:36:46 +010043 <testcase name="Multi CPU Realm payload Delegate and Undelegate"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000044 function="host_realm_delundel_multi_cpu" />
nabkah01002e5692022-10-10 12:36:46 +010045 <testcase name="Testing delegation fails"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000046 function="host_realm_fail_del" />
47 <testcase name="PMUv3 cycle counter functional in Realm"
48 function="host_realm_pmuv3_cycle_works" />
49 <testcase name="PMUv3 event counter functional in Realm"
50 function="host_realm_pmuv3_event_works" />
51 <testcase name="PMUv3 RSI SMC counter preservation"
52 function="host_realm_pmuv3_rmm_preserves" />
53 <testcase name="PMUv3 overflow interrupt"
54 function="host_realm_pmuv3_overflow_interrupt" />
nabkah01cd668462022-11-06 15:29:44 +000055 <testcase name="Test Secure interrupt can preempt Realm EL1"
56 function="host_realm_sec_interrupt_can_preempt_rl" />
Shruti Gupta369955a2023-04-19 18:05:56 +010057 <testcase name="Check that FPU state registers context is preserved in RL/SE/NS"
58 function="host_realm_fpu_access_in_rl_ns_se" />
Shruti Guptabb772192023-10-09 16:08:28 +010059 <testcase name="Realm request set_ripas"
60 function="host_realm_set_ripas" />
Shruti Guptafef86212023-10-17 12:15:38 +010061 <testcase name="Realm reject set_ripas"
62 function="host_realm_reject_set_ripas" />
Arunachalam Ganapathyf3697172023-09-04 15:04:46 +010063 <!-- Test case related to SVE support and SIMD state -->
Arunachalam Ganapathy0bbdc2d2023-04-05 15:30:18 +010064 <testcase name="Check RMI reports proper SVE VL"
65 function="host_check_rmi_reports_proper_sve_vl" />
66 <testcase name="Create SVE Realm with invalid VL"
67 function="host_sve_realm_test_invalid_vl" />
68 <testcase name="Create SVE Realm and test ID registers"
69 function="host_sve_realm_cmd_id_registers" />
70 <testcase name="Create non SVE Realm and test ID registers"
71 function="host_non_sve_realm_cmd_id_registers" />
72 <testcase name="Create SVE Realm and check rdvl result"
73 function="host_sve_realm_cmd_rdvl" />
74 <testcase name="Create SVE Realm and probe all supported VLs"
75 function="host_sve_realm_cmd_probe_vl" />
76 <testcase name="Check whether RMM preserves NS ZCR_EL2 register"
77 function="host_sve_realm_check_config_register" />
Arunachalam Ganapathyc1136a82023-04-12 15:24:44 +010078 <testcase name="Intermittently switch to Realm while doing NS SVE ops"
79 function="host_sve_realm_check_vectors_operations" />
Arunachalam Ganapathy5270d012023-04-19 14:53:42 +010080 <testcase name="Check if RMM does not leak Realm SVE vector registers"
81 function="host_sve_realm_check_vectors_leaked" />
Arunachalam Ganapathy73949a22023-06-05 12:01:05 +010082 <testcase name="Check if Realm gets undefined abort if it access SVE"
83 function="host_non_sve_realm_check_undef_abort" />
Arunachalam Ganapathyf3697172023-09-04 15:04:46 +010084 <testcase name="Check various SIMD state preserved across NS/RL switch"
85 function="host_and_realm_check_simd" />
Arunachalam Ganapathy1768e592023-05-23 13:28:38 +010086 <!-- Test Realm for SME -->
87 <testcase name="Create Realm and test SME ID registers"
88 function="host_realm_check_sme_id_registers" />
89 <testcase name="Check if Realm gets undefined abort when it access SME"
90 function="host_realm_check_sme_undef_abort" />
91 <testcase name="Check whether RMM preserves NS SME configurations"
92 function="host_realm_check_sme_configs" />
Arunachalam Ganapathy1b327c22023-06-06 15:39:47 +010093 <testcase name="Intermittently switch to Realm while NS doing SSVE ops"
94 function="host_sve_realm_check_streaming_vectors_operations" />
Arunachalam Ganapathyf3697172023-09-04 15:04:46 +010095 <!-- Test case related to PAuth -->
Shruti Gupta9d0cfe82023-04-17 10:57:26 +010096 <testcase name="Check if PAuth keys are preserved in RL/SE/NS"
97 function="host_realm_enable_pauth" />
98 <testcase name="Generate PAuth Fault by overwriting LR"
99 function="host_realm_pauth_fault" />
Mark Dykes16b71692021-09-15 14:13:55 -0500100 </testsuite>
Mark Dykes16b71692021-09-15 14:13:55 -0500101</testsuites>