1 /* 2 * Copyright (c) 2018-2022, ARM Limited and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef CORTEX_A77_H 8 #define CORTEX_A77_H 9 10 #include <lib/utils_def.h> 11 12 /* Cortex-A77 MIDR */ 13 #define CORTEX_A77_MIDR U(0x410FD0D0) 14 15 /* Cortex-A77 loop count for CVE-2022-23960 mitigation */ 16 #define CORTEX_A77_BHB_LOOP_COUNT U(24) 17 18 /******************************************************************************* 19 * CPU Extended Control register specific definitions. 20 ******************************************************************************/ 21 #define CORTEX_A77_CPUECTLR_EL1 S3_0_C15_C1_4 22 #define CORTEX_A77_CPUECTLR_EL1_BIT_8 (ULL(1) << 8) 23 24 /******************************************************************************* 25 * CPU Power Control register specific definitions. 26 ******************************************************************************/ 27 #define CORTEX_A77_CPUPWRCTLR_EL1 S3_0_C15_C2_7 28 #define CORTEX_A77_CPUPWRCTLR_EL1_CORE_PWRDN_BIT (U(1) << 0) 29 30 /******************************************************************************* 31 * CPU Auxiliary Control register specific definitions. 32 ******************************************************************************/ 33 #define CORTEX_A77_ACTLR2_EL1 S3_0_C15_C1_1 34 #define CORTEX_A77_ACTLR2_EL1_BIT_2 (ULL(1) << 2) 35 #define CORTEX_A77_ACTLR2_EL1_BIT_0 ULL(1) 36 37 #define CORTEX_A77_CPUPSELR_EL3 S3_6_C15_C8_0 38 #define CORTEX_A77_CPUPCR_EL3 S3_6_C15_C8_1 39 #define CORTEX_A77_CPUPOR_EL3 S3_6_C15_C8_2 40 #define CORTEX_A77_CPUPMR_EL3 S3_6_C15_C8_3 41 #define CORTEX_A77_CPUPOR2_EL3 S3_6_C15_C8_4 42 #define CORTEX_A77_CPUPMR2_EL3 S3_6_C15_C8_5 43 44 #endif /* CORTEX_A77_H */ 45