* [PATCH] perf: arm_spe: Print the version of SPE detected
@ 2023-02-06 20:47 ` Rob Herring
0 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2023-02-06 20:47 UTC (permalink / raw)
To: Will Deacon, Mark Rutland; +Cc: linux-arm-kernel, linux-kernel
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>
---
drivers/perf/arm_spe_pmu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/perf/arm_spe_pmu.c b/drivers/perf/arm_spe_pmu.c
index 573db4211acd..b9ba4c4fe5a2 100644
--- 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;
--
2.39.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] perf: arm_spe: Print the version of SPE detected
@ 2023-02-06 20:47 ` Rob Herring
0 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2023-02-06 20:47 UTC (permalink / raw)
To: Will Deacon, Mark Rutland; +Cc: linux-arm-kernel, linux-kernel
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>
---
drivers/perf/arm_spe_pmu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/perf/arm_spe_pmu.c b/drivers/perf/arm_spe_pmu.c
index 573db4211acd..b9ba4c4fe5a2 100644
--- 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;
--
2.39.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] perf: arm_spe: Print the version of SPE detected
2023-02-06 20:47 ` Rob Herring
@ 2023-02-07 12:39 ` Will Deacon
-1 siblings, 0 replies; 4+ messages in thread
From: Will Deacon @ 2023-02-07 12:39 UTC (permalink / raw)
To: Rob Herring, Mark Rutland
Cc: catalin.marinas, kernel-team, Will Deacon, linux-kernel,
linux-arm-kernel
On Mon, 6 Feb 2023 14:47:46 -0600, Rob Herring wrote:
> 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.
>
>
Applied to will (for-next/perf), thanks!
[1/1] perf: arm_spe: Print the version of SPE detected
https://git.kernel.org/will/c/e8a709dc2a91
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] perf: arm_spe: Print the version of SPE detected
@ 2023-02-07 12:39 ` Will Deacon
0 siblings, 0 replies; 4+ messages in thread
From: Will Deacon @ 2023-02-07 12:39 UTC (permalink / raw)
To: Rob Herring, Mark Rutland
Cc: catalin.marinas, kernel-team, Will Deacon, linux-kernel,
linux-arm-kernel
On Mon, 6 Feb 2023 14:47:46 -0600, Rob Herring wrote:
> 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.
>
>
Applied to will (for-next/perf), thanks!
[1/1] perf: arm_spe: Print the version of SPE detected
https://git.kernel.org/will/c/e8a709dc2a91
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-02-07 12:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-06 20:47 [PATCH] perf: arm_spe: Print the version of SPE detected Rob Herring
2023-02-06 20:47 ` Rob Herring
2023-02-07 12:39 ` Will Deacon
2023-02-07 12:39 ` Will Deacon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.