1 /* 2 * Copyright (c) 2019-2025, Arm Limited. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef NEOVERSE_V1_H 8 #define NEOVERSE_V1_H 9 10 #define NEOVERSE_V1_MIDR U(0x410FD400) 11 12 /* Neoverse V1 loop count for CVE-2022-23960 mitigation */ 13 #define NEOVERSE_V1_BHB_LOOP_COUNT U(32) 14 15 /******************************************************************************* 16 * CPU Extended Control register specific definitions. 17 ******************************************************************************/ 18 #define NEOVERSE_V1_CPUECTLR_EL1 S3_0_C15_C1_4 19 #define NEOVERSE_V1_CPUPSELR_EL3 S3_6_C15_C8_0 20 #define NEOVERSE_V1_CPUPOR_EL3 S3_6_C15_C8_2 21 #define NEOVERSE_V1_CPUPMR_EL3 S3_6_C15_C8_3 22 #define NEOVERSE_V1_CPUPCR_EL3 S3_6_C15_C8_1 23 #define NEOVERSE_V1_CPUECTLR_EL1_BIT_8 (ULL(1) << 8) 24 #define NEOVERSE_V1_CPUECTLR_EL1_BIT_53 (ULL(1) << 53) 25 26 /******************************************************************************* 27 * CPU Power Control register specific definitions 28 ******************************************************************************/ 29 #define NEOVERSE_V1_CPUPWRCTLR_EL1 S3_0_C15_C2_7 30 #define NEOVERSE_V1_CPUPWRCTLR_EL1_CORE_PWRDN_BIT U(1) 31 32 /******************************************************************************* 33 * CPU Auxiliary Control register specific definitions. 34 ******************************************************************************/ 35 #define NEOVERSE_V1_ACTLR2_EL1 S3_0_C15_C1_1 36 #define NEOVERSE_V1_ACTLR2_EL1_BIT_0 ULL(1) 37 #define NEOVERSE_V1_ACTLR2_EL1_BIT_2 (ULL(1) << 2) 38 #define NEOVERSE_V1_ACTLR2_EL1_BIT_28 (ULL(1) << 28) 39 #define NEOVERSE_V1_ACTLR2_EL1_BIT_40 (ULL(1) << 40) 40 41 #define NEOVERSE_V1_ACTLR3_EL1 S3_0_C15_C1_2 42 #define NEOVERSE_V1_ACTLR3_EL1_BIT_47 (ULL(1) << 47) 43 44 #define NEOVERSE_V1_ACTLR5_EL1 S3_0_C15_C9_0 45 #define NEOVERSE_V1_ACTLR5_EL1_BIT_55 (ULL(1) << 55) 46 #define NEOVERSE_V1_ACTLR5_EL1_BIT_56 (ULL(1) << 56) 47 #define NEOVERSE_V1_ACTLR5_EL1_BIT_61 (ULL(1) << 61) 48 49 #endif /* NEOVERSE_V1_H */ 50