blob: 39e2adf89beb7a6eb61a0edc0649768dfa82ce03 [file] [log] [blame]
Bipin Ravi4da1b0b2021-03-16 15:20:58 -05001/*
Bipin Ravieb4d12b2022-03-12 01:58:02 -06002 * Copyright (c) 2021-2022, Arm Limited. All rights reserved.
Bipin Ravi4da1b0b2021-03-16 15:20:58 -05003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef CORTEX_A78C_H
8#define CORTEX_A78C_H
9
10
11#define CORTEX_A78C_MIDR U(0x410FD4B1)
12
Bipin Ravieb4d12b2022-03-12 01:58:02 -060013/* Cortex-A76 loop count for CVE-2022-23960 mitigation */
14#define CORTEX_A78C_BHB_LOOP_COUNT U(32)
15
Bipin Ravi4da1b0b2021-03-16 15:20:58 -050016/*******************************************************************************
17 * CPU Extended Control register specific definitions.
18 ******************************************************************************/
19#define CORTEX_A78C_CPUECTLR_EL1 S3_0_C15_C1_4
laurenw-arm4dc18872022-07-12 10:43:52 -050020#define CORTEX_A78C_CPUECTLR_EL1_BIT6 (ULL(1) << 6)
21#define CORTEX_A78C_CPUECTLR_EL1_BIT7 (ULL(1) << 7)
Bipin Ravi4da1b0b2021-03-16 15:20:58 -050022
23/*******************************************************************************
24 * CPU Power Control register specific definitions
25 ******************************************************************************/
26#define CORTEX_A78C_CPUPWRCTLR_EL1 S3_0_C15_C2_7
27#define CORTEX_A78C_CPUPWRCTLR_EL1_CORE_PWRDN_EN_BIT U(1)
28
29#endif /* CORTEX_A78C_H */