Skip to content

Commit 9960889

Browse files
morimotonamhyung
authored andcommitted
tools: arm64: Add Cortex-A720AE definitions
Add cputype definitions for Cortex-A720AE. These will be used for errata detection in subsequent patches. These values can be found in the Cortex-A720AE TRM: https://developer.arm.com/documentation/102828/0001/ ... in Table A-187 Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Leo Yan <leo.yan@arm.com> Acked-by: Will Deacon <will@kernel.org> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
1 parent f2195c5 commit 9960889

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

tools/arch/arm64/include/asm/cputype.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
#define ARM_CPU_PART_NEOVERSE_V3 0xD84
9797
#define ARM_CPU_PART_CORTEX_X925 0xD85
9898
#define ARM_CPU_PART_CORTEX_A725 0xD87
99+
#define ARM_CPU_PART_CORTEX_A720AE 0xD89
99100
#define ARM_CPU_PART_NEOVERSE_N3 0xD8E
100101

101102
#define APM_CPU_PART_XGENE 0x000
@@ -185,6 +186,7 @@
185186
#define MIDR_NEOVERSE_V3 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_V3)
186187
#define MIDR_CORTEX_X925 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X925)
187188
#define MIDR_CORTEX_A725 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A725)
189+
#define MIDR_CORTEX_A720AE MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A720AE)
188190
#define MIDR_NEOVERSE_N3 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_N3)
189191
#define MIDR_THUNDERX MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX)
190192
#define MIDR_THUNDERX_81XX MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX_81XX)

tools/perf/util/arm-spe.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,7 @@ static int arm_spe__synth_instruction_sample(struct arm_spe_queue *speq,
571571

572572
static const struct midr_range common_ds_encoding_cpus[] = {
573573
MIDR_ALL_VERSIONS(MIDR_CORTEX_A720),
574+
MIDR_ALL_VERSIONS(MIDR_CORTEX_A720AE),
574575
MIDR_ALL_VERSIONS(MIDR_CORTEX_A725),
575576
MIDR_ALL_VERSIONS(MIDR_CORTEX_X1C),
576577
MIDR_ALL_VERSIONS(MIDR_CORTEX_X3),

0 commit comments

Comments
 (0)