blob: 202ef5cb82dadfaf4642a9571820969d89d3500d [file] [log] [blame]
Jayanth Dodderi Chidanand37de9162021-12-07 17:20:10 +00001/*
Govindraj Rajaeee28e72023-08-01 15:52:40 -05002 * Copyright (c) 2022, 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
11#define NEOVERSE_POSEIDON_MIDR U(0x410FD830)
12
Bipin Ravi32464ba2022-05-06 16:02:30 -050013/* Neoverse Poseidon loop count for CVE-2022-23960 mitigation */
14#define NEOVERSE_POSEIDON_BHB_LOOP_COUNT U(132)
15
Jayanth Dodderi Chidanand37de9162021-12-07 17:20:10 +000016/*******************************************************************************
17 * CPU Extended Control register specific definitions.
18 ******************************************************************************/
19#define NEOVERSE_POSEIDON_CPUECTLR_EL1 S3_0_C15_C1_4
20
21/*******************************************************************************
22 * CPU Power Control register specific definitions
23 ******************************************************************************/
24#define NEOVERSE_POSEIDON_CPUPWRCTLR_EL1 S3_0_C15_C2_7
25#define NEOVERSE_POSEIDON_CPUPWRCTLR_EL1_CORE_PWRDN_BIT U(1)
26
27#endif /* NEOVERSE_POSEIDON_H */