Commit e8a709dc authored by Rob Herring's avatar Rob Herring Committed by Will Deacon

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: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230206204746.1452942-1-robh@kernel.orgSigned-off-by: default avatarWill Deacon <will@kernel.org>
parent 8d9190f0
...@@ -1105,8 +1105,8 @@ static void __arm_spe_pmu_dev_probe(void *info) ...@@ -1105,8 +1105,8 @@ static void __arm_spe_pmu_dev_probe(void *info)
} }
dev_info(dev, dev_info(dev,
"probed for CPUs %*pbl [max_record_sz %u, align %u, features 0x%llx]\n", "probed SPEv1.%d for CPUs %*pbl [max_record_sz %u, align %u, features 0x%llx]\n",
cpumask_pr_args(&spe_pmu->supported_cpus), spe_pmu->pmsver - 1, cpumask_pr_args(&spe_pmu->supported_cpus),
spe_pmu->max_record_sz, spe_pmu->align, spe_pmu->features); spe_pmu->max_record_sz, spe_pmu->align, spe_pmu->features);
spe_pmu->features |= SPE_PMU_FEAT_DEV_PROBED; spe_pmu->features |= SPE_PMU_FEAT_DEV_PROBED;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment