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

Implements the loop workaround for Cortex-A76AE, Cortex-A78AE and Cortex-A78C. Signed-off-by: Bipin Ravi <bipin.ravi@arm.com> Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com> Change-Id: I5c838f5b9d595ed3c461a7452bd465bd54acc548
28 lines
836 B
C
28 lines
836 B
C
/*
|
|
* Copyright (c) 2019-2022, Arm Limited. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef CORTEX_A76AE_H
|
|
#define CORTEX_A76AE_H
|
|
|
|
#include <lib/utils_def.h>
|
|
|
|
/* Cortex-A76AE MIDR for revision 0 */
|
|
#define CORTEX_A76AE_MIDR U(0x410FD0E0)
|
|
|
|
/* Cortex-A76 loop count for CVE-2022-23960 mitigation */
|
|
#define CORTEX_A76AE_BHB_LOOP_COUNT U(24)
|
|
|
|
/*******************************************************************************
|
|
* CPU Extended Control register specific definitions.
|
|
******************************************************************************/
|
|
#define CORTEX_A76AE_CPUPWRCTLR_EL1 S3_0_C15_C2_7
|
|
|
|
/* Definitions of register field mask in CORTEX_A76AE_CPUPWRCTLR_EL1 */
|
|
#define CORTEX_A76AE_CORE_PWRDN_EN_MASK U(0x1)
|
|
|
|
#define CORTEX_A76AE_CPUECTLR_EL1 S3_0_C15_C1_4
|
|
|
|
#endif /* CORTEX_A76AE_H */
|