Mark Dykes | 16b7169 | 2021-09-15 14:13:55 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | |
| 3 | <!-- |
Soby Mathew | 2c2810f | 2024-11-15 17:11:24 +0000 | [diff] [blame] | 4 | Copyright (c) 2021-2024, Arm Limited. All rights reserved. |
Mark Dykes | 16b7169 | 2021-09-15 14:13:55 -0500 | [diff] [blame] | 5 | |
| 6 | SPDX-License-Identifier: BSD-3-Clause |
| 7 | --> |
| 8 | |
| 9 | <testsuites> |
nabkah01 | 002e569 | 2022-10-10 12:36:46 +0100 | [diff] [blame] | 10 | <testsuite name="Realm payload at EL1" description="Test Realm EL1 framework capabilities" > |
| 11 | <testcase name="Realm EL1 creation and execution test" |
AlexeiFedorov | 2f30f10 | 2023-03-13 19:37:46 +0000 | [diff] [blame] | 12 | function="host_test_realm_create_enter" /> |
Shruti Gupta | 6c0be80 | 2024-02-20 11:52:57 +0000 | [diff] [blame] | 13 | <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 Gupta | b324f4d | 2024-02-26 11:06:03 +0000 | [diff] [blame] | 17 | <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 Gupta | 944016b | 2023-11-21 11:30:35 +0000 | [diff] [blame] | 23 | <testcase name="Multiple Realm EL1 creation and execution test" |
| 24 | function="host_test_multiple_realm_create_enter" /> |
Shruti Gupta | affbae8 | 2023-08-22 12:51:11 +0100 | [diff] [blame] | 25 | <testcase name="Realm payload multi rec multiple cpu" |
| 26 | function="host_realm_multi_rec_multiple_cpu" /> |
Shruti Gupta | 86f312a | 2023-12-21 11:33:03 +0000 | [diff] [blame] | 27 | <testcase name="Realm payload multi rec validations" |
| 28 | function="host_realm_multi_rec_multiple_cpu2" /> |
Shruti Gupta | f733a78 | 2024-01-03 22:33:10 +0000 | [diff] [blame] | 29 | <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 Gupta | b027f57 | 2024-01-02 22:00:29 +0000 | [diff] [blame] | 33 | <testcase name="Realm SEA Empty" |
| 34 | function="host_realm_sea_empty" /> |
| 35 | <testcase name="Realm SEA Unprotected" |
| 36 | function="host_realm_sea_unprotected" /> |
Shruti Gupta | 462b07d | 2024-02-08 02:16:25 +0000 | [diff] [blame] | 37 | <testcase name="Realm SEA Adr Fault" |
| 38 | function="host_realm_sea_adr_fault" /> |
Shruti Gupta | e68494e | 2023-11-06 11:04:57 +0000 | [diff] [blame] | 39 | <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 Gupta | f31bbe7 | 2023-09-27 14:04:53 +0100 | [diff] [blame] | 45 | <testcase name="Realm payload multi rec single cpu" |
| 46 | function="host_realm_multi_rec_single_cpu" /> |
Shruti Gupta | 24597d1 | 2023-10-02 10:40:19 +0100 | [diff] [blame] | 47 | <testcase name="Realm payload multi rec psci denied" |
| 48 | function="host_realm_multi_rec_psci_denied" /> |
Shruti Gupta | 6bb9510 | 2023-10-02 13:21:37 +0100 | [diff] [blame] | 49 | <testcase name="Realm payload multi rec force exit on NS IRQ" |
| 50 | function="host_realm_multi_rec_exit_irq" /> |
Shruti Gupta | 40de8ec | 2023-10-12 21:45:12 +0100 | [diff] [blame] | 51 | <testcase name="Realm EL1 creation and RSI version" |
| 52 | function="host_test_realm_rsi_version" /> |
nabkah01 | 002e569 | 2022-10-10 12:36:46 +0100 | [diff] [blame] | 53 | <testcase name="Realm payload boot" |
AlexeiFedorov | 2f30f10 | 2023-03-13 19:37:46 +0000 | [diff] [blame] | 54 | function="host_realm_version_single_cpu" /> |
nabkah01 | 002e569 | 2022-10-10 12:36:46 +0100 | [diff] [blame] | 55 | <testcase name="Realm payload multi CPU request" |
AlexeiFedorov | 2f30f10 | 2023-03-13 19:37:46 +0000 | [diff] [blame] | 56 | function="host_realm_version_multi_cpu" /> |
nabkah01 | 002e569 | 2022-10-10 12:36:46 +0100 | [diff] [blame] | 57 | <testcase name="Realm payload Delegate and Undelegate" |
AlexeiFedorov | 2f30f10 | 2023-03-13 19:37:46 +0000 | [diff] [blame] | 58 | function="host_realm_delegate_undelegate" /> |
nabkah01 | 002e569 | 2022-10-10 12:36:46 +0100 | [diff] [blame] | 59 | <testcase name="Multi CPU Realm payload Delegate and Undelegate" |
AlexeiFedorov | 2f30f10 | 2023-03-13 19:37:46 +0000 | [diff] [blame] | 60 | function="host_realm_delundel_multi_cpu" /> |
nabkah01 | 002e569 | 2022-10-10 12:36:46 +0100 | [diff] [blame] | 61 | <testcase name="Testing delegation fails" |
AlexeiFedorov | 2f30f10 | 2023-03-13 19:37:46 +0000 | [diff] [blame] | 62 | 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 Gupta | b1b3792 | 2024-01-13 21:49:04 +0000 | [diff] [blame] | 71 | <testcase name="PMUv3 multiple rec validations" |
| 72 | function="host_realm_pmuv3_mul_rec" /> |
nabkah01 | cd66846 | 2022-11-06 15:29:44 +0000 | [diff] [blame] | 73 | <testcase name="Test Secure interrupt can preempt Realm EL1" |
| 74 | function="host_realm_sec_interrupt_can_preempt_rl" /> |
Shruti Gupta | bb77219 | 2023-10-09 16:08:28 +0100 | [diff] [blame] | 75 | <testcase name="Realm request set_ripas" |
| 76 | function="host_realm_set_ripas" /> |
Shruti Gupta | fef8621 | 2023-10-17 12:15:38 +0100 | [diff] [blame] | 77 | <testcase name="Realm reject set_ripas" |
| 78 | function="host_realm_reject_set_ripas" /> |
Javier Almansa Sobrino | 7c78f7b | 2024-10-25 11:44:32 +0100 | [diff] [blame] | 79 | <testcase name="Realm FEAT_DoubleFault2" |
| 80 | function="host_test_feat_doublefault2" /> |
Arunachalam Ganapathy | f369717 | 2023-09-04 15:04:46 +0100 | [diff] [blame] | 81 | <!-- Test case related to SVE support and SIMD state --> |
Arunachalam Ganapathy | 0bbdc2d | 2023-04-05 15:30:18 +0100 | [diff] [blame] | 82 | <testcase name="Check RMI reports proper SVE VL" |
| 83 | function="host_check_rmi_reports_proper_sve_vl" /> |
| 84 | <testcase name="Create SVE Realm with invalid VL" |
| 85 | function="host_sve_realm_test_invalid_vl" /> |
| 86 | <testcase name="Create SVE Realm and test ID registers" |
| 87 | function="host_sve_realm_cmd_id_registers" /> |
| 88 | <testcase name="Create non SVE Realm and test ID registers" |
| 89 | function="host_non_sve_realm_cmd_id_registers" /> |
| 90 | <testcase name="Create SVE Realm and check rdvl result" |
| 91 | function="host_sve_realm_cmd_rdvl" /> |
| 92 | <testcase name="Create SVE Realm and probe all supported VLs" |
| 93 | function="host_sve_realm_cmd_probe_vl" /> |
| 94 | <testcase name="Check whether RMM preserves NS ZCR_EL2 register" |
| 95 | function="host_sve_realm_check_config_register" /> |
Arunachalam Ganapathy | c1136a8 | 2023-04-12 15:24:44 +0100 | [diff] [blame] | 96 | <testcase name="Intermittently switch to Realm while doing NS SVE ops" |
| 97 | function="host_sve_realm_check_vectors_operations" /> |
Arunachalam Ganapathy | 5270d01 | 2023-04-19 14:53:42 +0100 | [diff] [blame] | 98 | <testcase name="Check if RMM does not leak Realm SVE vector registers" |
| 99 | function="host_sve_realm_check_vectors_leaked" /> |
Arunachalam Ganapathy | 73949a2 | 2023-06-05 12:01:05 +0100 | [diff] [blame] | 100 | <testcase name="Check if Realm gets undefined abort if it access SVE" |
| 101 | function="host_non_sve_realm_check_undef_abort" /> |
Olivier Deprez | f1738b3 | 2023-10-11 14:09:46 +0200 | [diff] [blame] | 102 | <testcase name="Check various SIMD state preserved across NS/RL/S switch" |
| 103 | function="host_realm_swd_check_simd" /> |
Arunachalam Ganapathy | 1768e59 | 2023-05-23 13:28:38 +0100 | [diff] [blame] | 104 | <!-- Test Realm for SME --> |
| 105 | <testcase name="Create Realm and test SME ID registers" |
| 106 | function="host_realm_check_sme_id_registers" /> |
| 107 | <testcase name="Check if Realm gets undefined abort when it access SME" |
| 108 | function="host_realm_check_sme_undef_abort" /> |
| 109 | <testcase name="Check whether RMM preserves NS SME configurations" |
| 110 | function="host_realm_check_sme_configs" /> |
Arunachalam Ganapathy | 1b327c2 | 2023-06-06 15:39:47 +0100 | [diff] [blame] | 111 | <testcase name="Intermittently switch to Realm while NS doing SSVE ops" |
| 112 | function="host_sve_realm_check_streaming_vectors_operations" /> |
Arunachalam Ganapathy | f369717 | 2023-09-04 15:04:46 +0100 | [diff] [blame] | 113 | <!-- Test case related to PAuth --> |
Shruti Gupta | 9d0cfe8 | 2023-04-17 10:57:26 +0100 | [diff] [blame] | 114 | <testcase name="Check if PAuth keys are preserved in RL/SE/NS" |
| 115 | function="host_realm_enable_pauth" /> |
| 116 | <testcase name="Generate PAuth Fault by overwriting LR" |
| 117 | function="host_realm_pauth_fault" /> |
Shruti Gupta | 2a5abad | 2024-01-17 13:48:44 +0000 | [diff] [blame] | 118 | <testcase name="Check if DIT Bit is preserved in RL/NS" |
| 119 | function="host_realm_enable_dit" /> |
Javier Almansa Sobrino | 9eb1eaa | 2023-09-19 16:07:09 +0100 | [diff] [blame] | 120 | <!-- Test case related to FEAT_LPA2 --> |
| 121 | <testcase name="Test realm creation with no FEAT_LPA2 and -1 RTT starting level" |
| 122 | function="host_test_realm_no_lpa2_invalid_sl" /> |
| 123 | <testcase name="Test realm creation with no FEAT_LPA2 and S2SZ > 48 bits" |
| 124 | function="host_test_realm_no_lpa2_invalid_s2sz" /> |
| 125 | <testcase name="Test Realm creation with LPA2 disabled but FEAT_LPA2 present on platform" |
| 126 | function="host_test_non_lpa2_realm_on_lpa2plat" /> |
Shruti Gupta | ebce902 | 2024-09-23 14:36:47 +0100 | [diff] [blame] | 127 | <testcase name="Test Data bound with LPA2 disabled but FEAT_LPA2 present on platform" |
| 128 | function="host_test_data_bound_non_lpa2_realm_on_lpa2plat" /> |
Javier Almansa Sobrino | 9eb1eaa | 2023-09-19 16:07:09 +0100 | [diff] [blame] | 129 | <testcase name="Test Realm creation with LPA2 enabled but FEAT_LPA2 absent on platform" |
| 130 | function="host_test_lpa2_realm_on_non_lpa2plat" /> |
Juan Pablo Conde | 88ffad2 | 2024-10-11 21:22:29 -0500 | [diff] [blame] | 131 | <!-- Test cases related to Attestation --> |
| 132 | <testcase name="Test realm attestation" function="host_realm_test_attestation" /> |
| 133 | <testcase name="Test realm attestation fault" |
| 134 | function="host_realm_test_attestation_fault" /> |
Soby Mathew | 2c2810f | 2024-11-15 17:11:24 +0000 | [diff] [blame] | 135 | <!-- Test case related to PCIE-DOE --> |
| 136 | <testcase name="PCI DOE Discovery" |
| 137 | function="doe_discovery_test" /> |
| 138 | <testcase name="SPDM Get Version" |
| 139 | function="spdm_version_test" /> |
Soby Mathew | cc85438 | 2024-11-28 12:29:13 +0000 | [diff] [blame] | 140 | <!-- Invoke RMI calls related to PDEV management --> |
| 141 | <testcase name="Invoke RMI PDEV calls " |
| 142 | function="host_test_rmi_pdev_calls" /> |
Mark Dykes | 16b7169 | 2021-09-15 14:13:55 -0500 | [diff] [blame] | 143 | </testsuite> |
Mark Dykes | 16b7169 | 2021-09-15 14:13:55 -0500 | [diff] [blame] | 144 | </testsuites> |