Skip to content

Commit e8a709d

Browse files
robherringwilldeacon
authored andcommitted
perf: arm_spe: Print the version of SPE detected
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 8d9190f commit e8a709d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/perf/arm_spe_pmu.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,8 +1105,8 @@ static void __arm_spe_pmu_dev_probe(void *info)
11051105
}
11061106

11071107
dev_info(dev,
1108-
"probed for CPUs %*pbl [max_record_sz %u, align %u, features 0x%llx]\n",
1109-
cpumask_pr_args(&spe_pmu->supported_cpus),
1108+
"probed SPEv1.%d for CPUs %*pbl [max_record_sz %u, align %u, features 0x%llx]\n",
1109+
spe_pmu->pmsver - 1, cpumask_pr_args(&spe_pmu->supported_cpus),
11101110
spe_pmu->max_record_sz, spe_pmu->align, spe_pmu->features);
11111111

11121112
spe_pmu->features |= SPE_PMU_FEAT_DEV_PROBED;

0 commit comments

Comments
 (0)