xref: /rk3399_ARM-atf/include/lib/cpus/aarch64/cortex_a715.h (revision 33c665ae955fe5f5ae255f56ef6cdf073a9f601f)
1 /*
2  * Copyright (c) 2021-2024, Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef CORTEX_A715_H
8 #define CORTEX_A715_H
9 
10 #define CORTEX_A715_MIDR					U(0x410FD4D0)
11 
12 /* Cortex-A715 loop count for CVE-2022-23960 mitigation */
13 #define CORTEX_A715_BHB_LOOP_COUNT				U(38)
14 
15 /*******************************************************************************
16  * CPU Auxiliary Control register 2 specific definitions.
17  ******************************************************************************/
18 #define CORTEX_A715_CPUACTLR2_EL1				S3_0_C15_C1_1
19 
20 /*******************************************************************************
21  * CPU Extended Control register specific definitions
22  ******************************************************************************/
23 #define CORTEX_A715_CPUECTLR_EL1				S3_0_C15_C1_4
24 
25 #define CORTEX_A715_CPUPSELR_EL3				S3_6_C15_C8_0
26 #define CORTEX_A715_CPUPCR_EL3					S3_6_C15_C8_1
27 #define CORTEX_A715_CPUPOR_EL3					S3_6_C15_C8_2
28 #define CORTEX_A715_CPUPMR_EL3					S3_6_C15_C8_3
29 
30 /*******************************************************************************
31  * CPU Power Control register specific definitions
32  ******************************************************************************/
33 #define CORTEX_A715_CPUPWRCTLR_EL1				S3_0_C15_C2_7
34 #define CORTEX_A715_CPUPWRCTLR_EL1_CORE_PWRDN_BIT		U(1)
35 
36 #endif /* CORTEX_A715_H */
37