projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d9190f
)
perf: arm_spe: Print the version of SPE detected
author
Rob Herring
<robh@kernel.org>
Mon, 6 Feb 2023 20:47:46 +0000
(14:47 -0600)
committer
Will Deacon
<will@kernel.org>
Tue, 7 Feb 2023 11:52:21 +0000
(11:52 +0000)
There's up to 4 versions of SPE now. Let's add the version that's been
detected to the driver's informational print out.
Signed-off-by: Rob Herring <robh@kernel.org>
Link:
https://lore.kernel.org/r/20230206204746.1452942-1-robh@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm_spe_pmu.c
patch
|
blob
|
history
diff --git
a/drivers/perf/arm_spe_pmu.c
b/drivers/perf/arm_spe_pmu.c
index 573db4211acd264e5ffa1ba6456b40c4a5b2d359..b9ba4c4fe5a27d8ce80b0607f908f41f0c37b17f 100644
(file)
--- a/
drivers/perf/arm_spe_pmu.c
+++ b/
drivers/perf/arm_spe_pmu.c
@@
-1105,8
+1105,8
@@
static void __arm_spe_pmu_dev_probe(void *info)
}
dev_info(dev,
- "probed for CPUs %*pbl [max_record_sz %u, align %u, features 0x%llx]\n",
- cpumask_pr_args(&spe_pmu->supported_cpus),
+ "probed
SPEv1.%d
for CPUs %*pbl [max_record_sz %u, align %u, features 0x%llx]\n",
+
spe_pmu->pmsver - 1,
cpumask_pr_args(&spe_pmu->supported_cpus),
spe_pmu->max_record_sz, spe_pmu->align, spe_pmu->features);
spe_pmu->features |= SPE_PMU_FEAT_DEV_PROBED;