projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
041c0e5
)
perf arm-spe: Add Cortex CPUs to common data source encoding list
author
Leo Yan
<leo.yan@arm.com>
Thu, 3 Oct 2024 18:53:22 +0000
(19:53 +0100)
committer
Namhyung Kim
<namhyung@kernel.org>
Mon, 14 Oct 2024 19:04:32 +0000
(12:04 -0700)
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@arm.com>
Reviewed-by: James Clark <james.clark@linaro.org>
Link:
https://lore.kernel.org/r/20241003185322.192357-8-leo.yan@arm.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/arm-spe.c
patch
|
blob
|
blame
|
history
diff --git
a/tools/perf/util/arm-spe.c
b/tools/perf/util/arm-spe.c
index 5c34a9ae38629f9fbe78fddc69e63dc50ac5840b..c424e5b9a11d9fcd61794bdeb4e32a19e5b6a48f 100644
(file)
--- 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),