Browse Source
* changes: chore: rename hayes to a520 chore: rename hunter to a720 chore: rename hunter_elp to cortex-x4pull/1999/head
Madhukar Pappireddy
1 year ago
committed by
TrustedFirmware Code Review
11 changed files with 142 additions and 143 deletions
@ -1,23 +1,23 @@ |
|||
/*
|
|||
* Copyright (c) 2021, Arm Limited. All rights reserved. |
|||
* Copyright (c) 2021-2023, Arm Limited. All rights reserved. |
|||
* |
|||
* SPDX-License-Identifier: BSD-3-Clause |
|||
*/ |
|||
|
|||
#ifndef CORTEX_HAYES_H |
|||
#define CORTEX_HAYES_H |
|||
#ifndef CORTEX_A520_H |
|||
#define CORTEX_A520_H |
|||
|
|||
#define CORTEX_HAYES_MIDR U(0x410FD800) |
|||
#define CORTEX_A520_MIDR U(0x410FD800) |
|||
|
|||
/*******************************************************************************
|
|||
* CPU Extended Control register specific definitions |
|||
******************************************************************************/ |
|||
#define CORTEX_HAYES_CPUECTLR_EL1 S3_0_C15_C1_4 |
|||
#define CORTEX_A520_CPUECTLR_EL1 S3_0_C15_C1_4 |
|||
|
|||
/*******************************************************************************
|
|||
* CPU Power Control register specific definitions |
|||
******************************************************************************/ |
|||
#define CORTEX_HAYES_CPUPWRCTLR_EL1 S3_0_C15_C2_7 |
|||
#define CORTEX_HAYES_CPUPWRCTLR_EL1_CORE_PWRDN_BIT U(1) |
|||
#define CORTEX_A520_CPUPWRCTLR_EL1 S3_0_C15_C2_7 |
|||
#define CORTEX_A520_CPUPWRCTLR_EL1_CORE_PWRDN_BIT U(1) |
|||
|
|||
#endif /* CORTEX_HAYES_H */ |
|||
#endif /* CORTEX_A520_H */ |
@ -1,26 +1,26 @@ |
|||
/*
|
|||
* Copyright (c) 2021-2022, Arm Limited. All rights reserved. |
|||
* Copyright (c) 2021-2023, Arm Limited. All rights reserved. |
|||
* |
|||
* SPDX-License-Identifier: BSD-3-Clause |
|||
*/ |
|||
|
|||
#ifndef CORTEX_HUNTER_H |
|||
#define CORTEX_HUNTER_H |
|||
#ifndef CORTEX_A720_H |
|||
#define CORTEX_A720_H |
|||
|
|||
#define CORTEX_HUNTER_MIDR U(0x410FD810) |
|||
#define CORTEX_A720_MIDR U(0x410FD810) |
|||
|
|||
/* Cortex Hunter loop count for CVE-2022-23960 mitigation */ |
|||
#define CORTEX_HUNTER_BHB_LOOP_COUNT U(132) |
|||
/* Cortex A720 loop count for CVE-2022-23960 mitigation */ |
|||
#define CORTEX_A720_BHB_LOOP_COUNT U(132) |
|||
|
|||
/*******************************************************************************
|
|||
* CPU Extended Control register specific definitions |
|||
******************************************************************************/ |
|||
#define CORTEX_HUNTER_CPUECTLR_EL1 S3_0_C15_C1_4 |
|||
#define CORTEX_A720_CPUECTLR_EL1 S3_0_C15_C1_4 |
|||
|
|||
/*******************************************************************************
|
|||
* CPU Power Control register specific definitions |
|||
******************************************************************************/ |
|||
#define CORTEX_HUNTER_CPUPWRCTLR_EL1 S3_0_C15_C2_7 |
|||
#define CORTEX_HUNTER_CPUPWRCTLR_EL1_CORE_PWRDN_BIT U(1) |
|||
#define CORTEX_A720_CPUPWRCTLR_EL1 S3_0_C15_C2_7 |
|||
#define CORTEX_A720_CPUPWRCTLR_EL1_CORE_PWRDN_BIT U(1) |
|||
|
|||
#endif /* CORTEX_HUNTER_H */ |
|||
#endif /* CORTEX_A720_H */ |
@ -1,26 +0,0 @@ |
|||
/*
|
|||
* Copyright (c) 2022, Arm Limited. All rights reserved. |
|||
* |
|||
* SPDX-License-Identifier: BSD-3-Clause |
|||
*/ |
|||
|
|||
#ifndef CORTEX_HUNTER_ELP_ARM_H |
|||
#define CORTEX_HUNTER_ELP_ARM_H |
|||
|
|||
#define CORTEX_HUNTER_ELP_ARM_MIDR U(0x410FD821) |
|||
|
|||
/* Cortex Hunter ELP loop count for CVE-2022-23960 mitigation */ |
|||
#define CORTEX_HUNTER_ELP_ARM_BHB_LOOP_COUNT U(132) |
|||
|
|||
/*******************************************************************************
|
|||
* CPU Extended Control register specific definitions |
|||
******************************************************************************/ |
|||
#define CORTEX_HUNTER_ELP_ARM_CPUECTLR_EL1 S3_0_C15_C1_4 |
|||
|
|||
/*******************************************************************************
|
|||
* CPU Power Control register specific definitions |
|||
******************************************************************************/ |
|||
#define CORTEX_HUNTER_ELP_ARM_CPUPWRCTLR_EL1 S3_0_C15_C2_7 |
|||
#define CORTEX_HUNTER_ELP_ARM_CPUPWRCTLR_EL1_CORE_PWRDN_BIT U(1) |
|||
|
|||
#endif /* CORTEX_HUNTER_ELP_ARM_H */ |
@ -0,0 +1,26 @@ |
|||
/*
|
|||
* Copyright (c) 2022-2023, Arm Limited. All rights reserved. |
|||
* |
|||
* SPDX-License-Identifier: BSD-3-Clause |
|||
*/ |
|||
|
|||
#ifndef CORTEX_X4_H |
|||
#define CORTEX_X4_H |
|||
|
|||
#define CORTEX_X4_MIDR U(0x410FD821) |
|||
|
|||
/* Cortex X4 loop count for CVE-2022-23960 mitigation */ |
|||
#define CORTEX_X4_BHB_LOOP_COUNT U(132) |
|||
|
|||
/*******************************************************************************
|
|||
* CPU Extended Control register specific definitions |
|||
******************************************************************************/ |
|||
#define CORTEX_X4_CPUECTLR_EL1 S3_0_C15_C1_4 |
|||
|
|||
/*******************************************************************************
|
|||
* CPU Power Control register specific definitions |
|||
******************************************************************************/ |
|||
#define CORTEX_X4_CPUPWRCTLR_EL1 S3_0_C15_C2_7 |
|||
#define CORTEX_X4_CPUPWRCTLR_EL1_CORE_PWRDN_BIT U(1) |
|||
|
|||
#endif /* CORTEX_X4_H */ |
Loading…
Reference in new issue