blob: 117826d07bd5e82bf3f39da38f30525019ce68ba [file] [log] [blame]
Jayanth Dodderi Chidanand37de9162021-12-07 17:20:10 +00001/*
Rohit Mathew960a77e2023-12-15 12:40:41 +00002 * Copyright (c) 2022-2024, Arm Limited. All rights reserved.
Jayanth Dodderi Chidanand37de9162021-12-07 17:20:10 +00003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef NEOVERSE_POSEIDON_H
8#define NEOVERSE_POSEIDON_H
9
10
Rohit Mathew960a77e2023-12-15 12:40:41 +000011#define NEOVERSE_POSEIDON_VNAE_MIDR U(0x410FD830)
Rohit Mathew22d22772023-12-15 12:50:58 +000012#define NEOVERSE_POSEIDON_V_MIDR U(0x410FD840)
Jayanth Dodderi Chidanand37de9162021-12-07 17:20:10 +000013
Bipin Ravi32464ba2022-05-06 16:02:30 -050014/* Neoverse Poseidon loop count for CVE-2022-23960 mitigation */
15#define NEOVERSE_POSEIDON_BHB_LOOP_COUNT U(132)
16
Jayanth Dodderi Chidanand37de9162021-12-07 17:20:10 +000017/*******************************************************************************
18 * CPU Extended Control register specific definitions.
19 ******************************************************************************/
20#define NEOVERSE_POSEIDON_CPUECTLR_EL1 S3_0_C15_C1_4
21
22/*******************************************************************************
23 * CPU Power Control register specific definitions
24 ******************************************************************************/
25#define NEOVERSE_POSEIDON_CPUPWRCTLR_EL1 S3_0_C15_C2_7
26#define NEOVERSE_POSEIDON_CPUPWRCTLR_EL1_CORE_PWRDN_BIT U(1)
27
28#endif /* NEOVERSE_POSEIDON_H */