blob: 4988f521ccaf7fa0f61f0ff0b4a012b7e149f416 [file] [log] [blame]
AlexeiFedorov2f30f102023-03-13 19:37:46 +00001/*
AlexeiFedorovc398c8f2025-01-16 14:35:48 +00002 * Copyright (c) 2023-2025, Arm Limited. All rights reserved.
AlexeiFedorov2f30f102023-03-13 19:37:46 +00003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
8#ifndef REALM_TESTS_H
9#define REALM_TESTS_H
10
11bool test_pmuv3_cycle_works_realm(void);
Shruti Guptab1b37922024-01-13 21:49:04 +000012bool test_pmuv3_counter(void);
AlexeiFedorov2f30f102023-03-13 19:37:46 +000013bool test_pmuv3_event_works_realm(void);
14bool test_pmuv3_rmm_preserves(void);
AlexeiFedorovc398c8f2025-01-16 14:35:48 +000015bool test_pmuv3_overflow_interrupt(bool cycle_cnt);
Shruti Gupta9d0cfe82023-04-17 10:57:26 +010016bool test_realm_pauth_set_cmd(void);
17bool test_realm_pauth_check_cmd(void);
18bool test_realm_pauth_fault(void);
Arunachalam Ganapathy0bbdc2d2023-04-05 15:30:18 +010019bool test_realm_sve_rdvl(void);
20bool test_realm_sve_read_id_registers(void);
21bool test_realm_sve_probe_vl(void);
Arunachalam Ganapathyc1136a82023-04-12 15:24:44 +010022bool test_realm_sve_ops(void);
Arunachalam Ganapathy5270d012023-04-19 14:53:42 +010023bool test_realm_sve_fill_regs(void);
Arunachalam Ganapathyf3697172023-09-04 15:04:46 +010024bool test_realm_sve_cmp_regs(void);
Arunachalam Ganapathy73949a22023-06-05 12:01:05 +010025bool test_realm_sve_undef_abort(void);
Shruti Gupta24597d12023-10-02 10:40:19 +010026bool test_realm_multiple_rec_psci_denied_cmd(void);
Shruti Guptaaffbae82023-08-22 12:51:11 +010027bool test_realm_multiple_rec_multiple_cpu_cmd(void);
Shruti Guptabd729192025-01-24 17:02:15 +000028bool test_realm_multiple_plane_multiple_rec_multiple_cpu_cmd(void);
Arunachalam Ganapathy1768e592023-05-23 13:28:38 +010029bool test_realm_sme_read_id_registers(void);
30bool test_realm_sme_undef_abort(void);
Javier Almansa Sobrino7c78f7b2024-10-25 11:44:32 +010031bool test_realm_sctlr2_ease(void);
Juan Pablo Conde88ffad22024-10-11 21:22:29 -050032bool test_realm_attestation(void);
33bool test_realm_attestation_fault(void);
Javier Almansa Sobrino82cd82e2025-01-17 17:37:42 +000034bool test_realm_mpam_undef_abort(void);
Sona Mathewc8f5a2e2025-02-04 15:22:01 -060035bool test_realm_write_brbcr_el1_reg(void);
AlexeiFedorov2f30f102023-03-13 19:37:46 +000036
37#endif /* REALM_TESTS_H */
38