[SRU][N:gke][PATCH 082/106] perf arm-spe: Add Cortex CPUs to common data source encoding list
Tim Whisonant
tim.whisonant at canonical.com
Mon Jul 21 16:22:05 UTC 2025
From: Leo Yan <leo.yan at arm.com>
BugLink: https://bugs.launchpad.net/bugs/2117098
Add Cortex-A720, Cortex-A725, Cortex-X1C, Cortex-X3 and Cortex-X925 into
the common data source encoding list. For everyone of these CPUs, it
technical reference manual defines the data source packet as the common
encoding format.
Signed-off-by: Leo Yan <leo.yan at arm.com>
Reviewed-by: James Clark <james.clark at linaro.org>
Link: https://lore.kernel.org/r/20241003185322.192357-8-leo.yan@arm.com
Signed-off-by: Namhyung Kim <namhyung at kernel.org>
(cherry picked from commit ea2ead4224fd3899f6dadd4c1fc526f32ec2246c)
Signed-off-by: Tim Whisonant <tim.whisonant at canonical.com>
---
tools/perf/util/arm-spe.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tools/perf/util/arm-spe.c b/tools/perf/util/arm-spe.c
index 6f1611f9263d8..c2cad38830f3c 100644
--- a/tools/perf/util/arm-spe.c
+++ b/tools/perf/util/arm-spe.c
@@ -428,6 +428,11 @@ 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_A725),
+ MIDR_ALL_VERSIONS(MIDR_CORTEX_X1C),
+ MIDR_ALL_VERSIONS(MIDR_CORTEX_X3),
+ MIDR_ALL_VERSIONS(MIDR_CORTEX_X925),
MIDR_ALL_VERSIONS(MIDR_NEOVERSE_N1),
MIDR_ALL_VERSIONS(MIDR_NEOVERSE_N2),
MIDR_ALL_VERSIONS(MIDR_NEOVERSE_V1),
--
2.43.0
More information about the kernel-team
mailing list