blob: 1142b93b27d3d71a16f4ffecf145a5e64c650e7a [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 Guptaf31bbe72023-09-27 14:04:53 +010013 <testcase name="Realm payload multi rec single cpu"
14 function="host_realm_multi_rec_single_cpu" />
Shruti Gupta24597d12023-10-02 10:40:19 +010015 <testcase name="Realm payload multi rec psci denied"
16 function="host_realm_multi_rec_psci_denied" />
Shruti Gupta6bb95102023-10-02 13:21:37 +010017 <testcase name="Realm payload multi rec force exit on NS IRQ"
18 function="host_realm_multi_rec_exit_irq" />
Shruti Gupta40de8ec2023-10-12 21:45:12 +010019 <testcase name="Realm EL1 creation and RSI version"
20 function="host_test_realm_rsi_version" />
nabkah01002e5692022-10-10 12:36:46 +010021 <testcase name="Realm payload boot"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000022 function="host_realm_version_single_cpu" />
nabkah01002e5692022-10-10 12:36:46 +010023 <testcase name="Realm payload multi CPU request"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000024 function="host_realm_version_multi_cpu" />
nabkah01002e5692022-10-10 12:36:46 +010025 <testcase name="Realm payload Delegate and Undelegate"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000026 function="host_realm_delegate_undelegate" />
nabkah01002e5692022-10-10 12:36:46 +010027 <testcase name="Multi CPU Realm payload Delegate and Undelegate"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000028 function="host_realm_delundel_multi_cpu" />
nabkah01002e5692022-10-10 12:36:46 +010029 <testcase name="Testing delegation fails"
AlexeiFedorov2f30f102023-03-13 19:37:46 +000030 function="host_realm_fail_del" />
31 <testcase name="PMUv3 cycle counter functional in Realm"
32 function="host_realm_pmuv3_cycle_works" />
33 <testcase name="PMUv3 event counter functional in Realm"
34 function="host_realm_pmuv3_event_works" />
35 <testcase name="PMUv3 RSI SMC counter preservation"
36 function="host_realm_pmuv3_rmm_preserves" />
37 <testcase name="PMUv3 overflow interrupt"
38 function="host_realm_pmuv3_overflow_interrupt" />
nabkah01cd668462022-11-06 15:29:44 +000039 <testcase name="Test Secure interrupt can preempt Realm EL1"
40 function="host_realm_sec_interrupt_can_preempt_rl" />
Shruti Gupta369955a2023-04-19 18:05:56 +010041 <testcase name="Check that FPU state registers context is preserved in RL/SE/NS"
42 function="host_realm_fpu_access_in_rl_ns_se" />
Arunachalam Ganapathyf3697172023-09-04 15:04:46 +010043 <!-- Test case related to SVE support and SIMD state -->
Arunachalam Ganapathy0bbdc2d2023-04-05 15:30:18 +010044 <testcase name="Check RMI reports proper SVE VL"
45 function="host_check_rmi_reports_proper_sve_vl" />
46 <testcase name="Create SVE Realm with invalid VL"
47 function="host_sve_realm_test_invalid_vl" />
48 <testcase name="Create SVE Realm and test ID registers"
49 function="host_sve_realm_cmd_id_registers" />
50 <testcase name="Create non SVE Realm and test ID registers"
51 function="host_non_sve_realm_cmd_id_registers" />
52 <testcase name="Create SVE Realm and check rdvl result"
53 function="host_sve_realm_cmd_rdvl" />
54 <testcase name="Create SVE Realm and probe all supported VLs"
55 function="host_sve_realm_cmd_probe_vl" />
56 <testcase name="Check whether RMM preserves NS ZCR_EL2 register"
57 function="host_sve_realm_check_config_register" />
Arunachalam Ganapathyc1136a82023-04-12 15:24:44 +010058 <testcase name="Intermittently switch to Realm while doing NS SVE ops"
59 function="host_sve_realm_check_vectors_operations" />
Arunachalam Ganapathy5270d012023-04-19 14:53:42 +010060 <testcase name="Check if RMM does not leak Realm SVE vector registers"
61 function="host_sve_realm_check_vectors_leaked" />
Arunachalam Ganapathy73949a22023-06-05 12:01:05 +010062 <testcase name="Check if Realm gets undefined abort if it access SVE"
63 function="host_non_sve_realm_check_undef_abort" />
Arunachalam Ganapathyf3697172023-09-04 15:04:46 +010064 <testcase name="Check various SIMD state preserved across NS/RL switch"
65 function="host_and_realm_check_simd" />
Arunachalam Ganapathy1768e592023-05-23 13:28:38 +010066 <!-- Test Realm for SME -->
67 <testcase name="Create Realm and test SME ID registers"
68 function="host_realm_check_sme_id_registers" />
69 <testcase name="Check if Realm gets undefined abort when it access SME"
70 function="host_realm_check_sme_undef_abort" />
71 <testcase name="Check whether RMM preserves NS SME configurations"
72 function="host_realm_check_sme_configs" />
Arunachalam Ganapathy1b327c22023-06-06 15:39:47 +010073 <testcase name="Intermittently switch to Realm while NS doing SSVE ops"
74 function="host_sve_realm_check_streaming_vectors_operations" />
Arunachalam Ganapathyf3697172023-09-04 15:04:46 +010075 <!-- Test case related to PAuth -->
Shruti Gupta9d0cfe82023-04-17 10:57:26 +010076 <testcase name="Check if PAuth keys are preserved in RL/SE/NS"
77 function="host_realm_enable_pauth" />
78 <testcase name="Generate PAuth Fault by overwriting LR"
79 function="host_realm_pauth_fault" />
Mark Dykes16b71692021-09-15 14:13:55 -050080 </testsuite>
Mark Dykes16b71692021-09-15 14:13:55 -050081</testsuites>