[PATCH v6 06/10] perf: arm_pmuv3: Add support for ARM Rainier PMU

Vincenzo Frascino posted 10 patches 9 months, 4 weeks ago
Only 9 patches received!
There is a newer version of this series
[PATCH v6 06/10] perf: arm_pmuv3: Add support for ARM Rainier PMU
Posted by Vincenzo Frascino 9 months, 4 weeks ago
Add support for the ARM Rainier CPU core PMU.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
---
 drivers/perf/arm_pmuv3.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/perf/arm_pmuv3.c b/drivers/perf/arm_pmuv3.c
index 0e360feb3432..3785522a08e7 100644
--- a/drivers/perf/arm_pmuv3.c
+++ b/drivers/perf/arm_pmuv3.c
@@ -1369,6 +1369,7 @@ PMUV3_INIT_SIMPLE(armv8_neoverse_v1)
 PMUV3_INIT_SIMPLE(armv8_neoverse_v2)
 PMUV3_INIT_SIMPLE(armv8_neoverse_v3)
 PMUV3_INIT_SIMPLE(armv8_neoverse_v3ae)
+PMUV3_INIT_SIMPLE(armv8_rainier)
 
 PMUV3_INIT_SIMPLE(armv8_nvidia_carmel)
 PMUV3_INIT_SIMPLE(armv8_nvidia_denver)
@@ -1416,6 +1417,7 @@ static const struct of_device_id armv8_pmu_of_device_ids[] = {
 	{.compatible = "arm,neoverse-v2-pmu",	.data = armv8_neoverse_v2_pmu_init},
 	{.compatible = "arm,neoverse-v3-pmu",	.data = armv8_neoverse_v3_pmu_init},
 	{.compatible = "arm,neoverse-v3ae-pmu",	.data = armv8_neoverse_v3ae_pmu_init},
+	{.compatible = "arm,rainier-pmu",	.data = armv8_rainier_pmu_init},
 	{.compatible = "cavium,thunder-pmu",	.data = armv8_cavium_thunder_pmu_init},
 	{.compatible = "brcm,vulcan-pmu",	.data = armv8_brcm_vulcan_pmu_init},
 	{.compatible = "nvidia,carmel-pmu",	.data = armv8_nvidia_carmel_pmu_init},
-- 
2.43.0
Re: [PATCH v6 06/10] perf: arm_pmuv3: Add support for ARM Rainier PMU
Posted by Sudeep Holla 9 months, 3 weeks ago
On Thu, Feb 20, 2025 at 06:04:24PM +0000, Vincenzo Frascino wrote:
> Add support for the ARM Rainier CPU core PMU.
>

I can't take this through Arm SoC unless there is a strong dependency
and/or urgency. I can take 05/10. The other option is you can take
05 and 06/10 via Will's perf changes as usual as I they seem quite
independent to me.

I can take the rest of the patches through Arm SoC tree for next merge
window.

-- 
Regards,
Sudeep
Re: [PATCH v6 06/10] perf: arm_pmuv3: Add support for ARM Rainier PMU
Posted by Sudeep Holla 9 months, 3 weeks ago
On Wed, Feb 26, 2025 at 10:29:35AM +0000, Sudeep Holla wrote:
> On Thu, Feb 20, 2025 at 06:04:24PM +0000, Vincenzo Frascino wrote:
> > Add support for the ARM Rainier CPU core PMU.
> >
>
> I can't take this through Arm SoC unless there is a strong dependency
> and/or urgency. I can take 05/10. The other option is you can take
> 05 and 06/10 via Will's perf changes as usual as I they seem quite
> independent to me.
>
> I can take the rest of the patches through Arm SoC tree for next merge
> window.
>

Sorry, even I manage to reply on v6 instead of v7. Please ignore the
previous email. I will reply on v7 with updated information.

--
Regards,
Sudeep
Re: [PATCH v6 06/10] perf: arm_pmuv3: Add support for ARM Rainier PMU
Posted by Vincenzo Frascino 9 months, 3 weeks ago
Hello Will,

On 26/02/2025 10:29, Sudeep Holla wrote:
> On Thu, Feb 20, 2025 at 06:04:24PM +0000, Vincenzo Frascino wrote:
>> Add support for the ARM Rainier CPU core PMU.
>>
> 
> I can't take this through Arm SoC unless there is a strong dependency
> and/or urgency. I can take 05/10. The other option is you can take
> 05 and 06/10 via Will's perf changes as usual as I they seem quite
> independent to me.
> 
> I can take the rest of the patches through Arm SoC tree for next merge
> window.
> 

Based on Sudeep comment, are you happy to take patch 05/10 and 06/10 as is?

-- 
Regards,
Vincenzo
Re: [PATCH v6 06/10] perf: arm_pmuv3: Add support for ARM Rainier PMU
Posted by Linus Walleij 9 months, 3 weeks ago
On Thu, Feb 20, 2025 at 7:04 PM Vincenzo Frascino
<vincenzo.frascino@arm.com> wrote:

> Add support for the ARM Rainier CPU core PMU.
>
> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij