mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 10:04:26 +00:00

Cortex-X925 erratum 3701747 that applies to r0p0, r0p1 and is still Open. The workaround is for EL3 software that performs context save/restore on a change of Security state to use a value of SCR_EL3.NS when accessing ICH_VMCR_EL2 that reflects the Security state that owns the data being saved or restored. SDEN documentation: https://developer.arm.com/documentation/109180/latest/ Change-Id: I080296666f89276b3260686c2bdb8de63fc174c1 Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
33 lines
1.2 KiB
C
33 lines
1.2 KiB
C
/*
|
|
* Copyright (c) 2023-2025, Arm Limited. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef CORTEX_X925_H
|
|
#define CORTEX_X925_H
|
|
|
|
#define CORTEX_X925_MIDR U(0x410FD850)
|
|
|
|
/*******************************************************************************
|
|
* CPU Extended Control register specific definitions
|
|
******************************************************************************/
|
|
#define CORTEX_X925_CPUECTLR_EL1 S3_0_C15_C1_4
|
|
#define CORTEX_X925_CPUECTLR_EL1_EXTLLC_BIT U(0)
|
|
|
|
/*******************************************************************************
|
|
* CPU Power Control register specific definitions
|
|
******************************************************************************/
|
|
#define CORTEX_X925_CPUPWRCTLR_EL1 S3_0_C15_C2_7
|
|
#define CORTEX_X925_CPUPWRCTLR_EL1_CORE_PWRDN_BIT U(1)
|
|
|
|
/*******************************************************************************
|
|
* CPU Auxiliary control register 6 specific definitions
|
|
******************************************************************************/
|
|
#define CORTEX_X925_CPUACTLR6_EL1 S3_0_C15_C8_1
|
|
|
|
#ifndef __ASSEMBLER__
|
|
long check_erratum_cortex_x925_3701747(long cpu_rev);
|
|
#endif /* __ASSEMBLER__ */
|
|
|
|
#endif /* CORTEX_X925_H */
|