mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-18 18:44:22 +00:00

The workarounds for errata 1257314, 1262606, 1262888 and 1275112 are added to the Cortex-A76 cpu specific file. The workarounds are disabled by default and have to be explicitly enabled by the platform integrator. Change-Id: I70474927374cb67725f829d159ddde9ac4edc343 Signed-off-by: Soby Mathew <soby.mathew@arm.com>
45 lines
1.4 KiB
C
45 lines
1.4 KiB
C
/*
|
|
* Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef CORTEX_A76_H
|
|
#define CORTEX_A76_H
|
|
|
|
#include <lib/utils_def.h>
|
|
|
|
/* Cortex-A76 MIDR for revision 0 */
|
|
#define CORTEX_A76_MIDR U(0x410fd0b0)
|
|
|
|
/*******************************************************************************
|
|
* CPU Extended Control register specific definitions.
|
|
******************************************************************************/
|
|
#define CORTEX_A76_CPUPWRCTLR_EL1 S3_0_C15_C2_7
|
|
#define CORTEX_A76_CPUECTLR_EL1 S3_0_C15_C1_4
|
|
|
|
#define CORTEX_A76_CPUECTLR_EL1_WS_THR_L2 (ULL(3) << 24)
|
|
#define CORTEX_A76_CPUECTLR_EL1_BIT_51 (ULL(1) << 51)
|
|
|
|
/*******************************************************************************
|
|
* CPU Auxiliary Control register specific definitions.
|
|
******************************************************************************/
|
|
#define CORTEX_A76_CPUACTLR_EL1 S3_0_C15_C1_0
|
|
|
|
#define CORTEX_A76_CPUACTLR_EL1_DISABLE_STATIC_PREDICTION (ULL(1) << 6)
|
|
|
|
#define CORTEX_A76_CPUACTLR_EL1_BIT_13 (ULL(1) << 13)
|
|
|
|
#define CORTEX_A76_CPUACTLR2_EL1 S3_0_C15_C1_1
|
|
|
|
#define CORTEX_A76_CPUACTLR2_EL1_DISABLE_LOAD_PASS_STORE (ULL(1) << 16)
|
|
|
|
#define CORTEX_A76_CPUACTLR3_EL1 S3_0_C15_C1_2
|
|
|
|
#define CORTEX_A76_CPUACTLR3_EL1_BIT_10 (ULL(1) << 10)
|
|
|
|
|
|
/* Definitions of register field mask in CORTEX_A76_CPUPWRCTLR_EL1 */
|
|
#define CORTEX_A76_CORE_PWRDN_EN_MASK U(0x1)
|
|
|
|
#endif /* CORTEX_A76_H */
|