* [resend][PATCH] tools: arm64: Add Cortex-A720AE definitions
@ 2025-10-21 23:21 Kuninori Morimoto
2025-10-22 8:12 ` Leo Yan
2025-10-24 18:57 ` Namhyung Kim
0 siblings, 2 replies; 3+ messages in thread
From: Kuninori Morimoto @ 2025-10-21 23:21 UTC (permalink / raw)
To: Adrian Hunter, Alexander Shishkin, Arnaldo Carvalho de Melo,
Ian Rogers, Ingo Molnar, James Clark, Jiri Olsa, John Garry,
Leo Yan, Mark Rutland, Mike Leach, Namhyung Kim, Peter Zijlstra,
Will Deacon, linux-arm-kernel, linux-perf-users
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>
Acked-by: Will Deacon <will@kernel.org>
---
tools/arch/arm64/include/asm/cputype.h | 2 ++
tools/perf/util/arm-spe.c | 1 +
2 files changed, 3 insertions(+)
diff --git a/tools/arch/arm64/include/asm/cputype.h b/tools/arch/arm64/include/asm/cputype.h
index 139d5e87dc959..0192dc7ec9ca9 100644
--- a/tools/arch/arm64/include/asm/cputype.h
+++ b/tools/arch/arm64/include/asm/cputype.h
@@ -96,6 +96,7 @@
#define ARM_CPU_PART_NEOVERSE_V3 0xD84
#define ARM_CPU_PART_CORTEX_X925 0xD85
#define ARM_CPU_PART_CORTEX_A725 0xD87
+#define ARM_CPU_PART_CORTEX_A720AE 0xD89
#define ARM_CPU_PART_NEOVERSE_N3 0xD8E
#define APM_CPU_PART_XGENE 0x000
@@ -185,6 +186,7 @@
#define MIDR_NEOVERSE_V3 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_V3)
#define MIDR_CORTEX_X925 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X925)
#define MIDR_CORTEX_A725 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A725)
+#define MIDR_CORTEX_A720AE MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A720AE)
#define MIDR_NEOVERSE_N3 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_N3)
#define MIDR_THUNDERX MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX)
#define MIDR_THUNDERX_81XX MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX_81XX)
diff --git a/tools/perf/util/arm-spe.c b/tools/perf/util/arm-spe.c
index 71be979f50771..9561951a00554 100644
--- a/tools/perf/util/arm-spe.c
+++ b/tools/perf/util/arm-spe.c
@@ -571,6 +571,7 @@ static int arm_spe__synth_instruction_sample(struct arm_spe_queue *speq,
static const struct midr_range common_ds_encoding_cpus[] = {
MIDR_ALL_VERSIONS(MIDR_CORTEX_A720),
+ MIDR_ALL_VERSIONS(MIDR_CORTEX_A720AE),
MIDR_ALL_VERSIONS(MIDR_CORTEX_A725),
MIDR_ALL_VERSIONS(MIDR_CORTEX_X1C),
MIDR_ALL_VERSIONS(MIDR_CORTEX_X3),
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [resend][PATCH] tools: arm64: Add Cortex-A720AE definitions
2025-10-21 23:21 [resend][PATCH] tools: arm64: Add Cortex-A720AE definitions Kuninori Morimoto
@ 2025-10-22 8:12 ` Leo Yan
2025-10-24 18:57 ` Namhyung Kim
1 sibling, 0 replies; 3+ messages in thread
From: Leo Yan @ 2025-10-22 8:12 UTC (permalink / raw)
To: Kuninori Morimoto
Cc: Adrian Hunter, Alexander Shishkin, Arnaldo Carvalho de Melo,
Ian Rogers, Ingo Molnar, James Clark, Jiri Olsa, John Garry,
Leo Yan, Mark Rutland, Mike Leach, Namhyung Kim, Peter Zijlstra,
Will Deacon, linux-arm-kernel, linux-perf-users
On Tue, Oct 21, 2025 at 11:21:48PM +0000, Kuninori Morimoto wrote:
> 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>
> Acked-by: Will Deacon <will@kernel.org>
Reviewed-by: Leo Yan <leo.yan@arm.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [resend][PATCH] tools: arm64: Add Cortex-A720AE definitions
2025-10-21 23:21 [resend][PATCH] tools: arm64: Add Cortex-A720AE definitions Kuninori Morimoto
2025-10-22 8:12 ` Leo Yan
@ 2025-10-24 18:57 ` Namhyung Kim
1 sibling, 0 replies; 3+ messages in thread
From: Namhyung Kim @ 2025-10-24 18:57 UTC (permalink / raw)
To: Adrian Hunter, Alexander Shishkin, Arnaldo Carvalho de Melo,
Ian Rogers, Ingo Molnar, James Clark, Jiri Olsa, John Garry,
Leo Yan, Mark Rutland, Mike Leach, Peter Zijlstra, Will Deacon,
linux-arm-kernel, linux-perf-users, Kuninori Morimoto
On Tue, 21 Oct 2025 23:21:48 +0000, Kuninori Morimoto wrote:
> 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/
>
> [...]
Applied to perf-tools-next, thanks!
Best regards,
Namhyung
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-10-24 18:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-21 23:21 [resend][PATCH] tools: arm64: Add Cortex-A720AE definitions Kuninori Morimoto
2025-10-22 8:12 ` Leo Yan
2025-10-24 18:57 ` Namhyung Kim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).