From: Vincenzo Frascino <vincenzo.frascino@arm.com>
To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>,
Linus Walleij <linus.walleij@linaro.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Liviu Dudau <liviu.dudau@arm.com>,
Sudeep Holla <sudeep.holla@arm.com>,
Lorenzo Pieralisi <lpieralisi@kernel.org>,
Russell King <linux@armlinux.org.uk>,
Will Deacon <will@kernel.org>,
Mark Rutland <mark.rutland@arm.com>
Subject: [PATCH v5 4/8] perf: arm_pmuv3: Add support for ARM Rainier PMU
Date: Thu, 13 Feb 2025 18:03:05 +0000 [thread overview]
Message-ID: <20250213180309.485528-5-vincenzo.frascino@arm.com> (raw)
In-Reply-To: <20250213180309.485528-1-vincenzo.frascino@arm.com>
Add support for the ARM Rainier CPU core PMU.
Note: Coherently, add dt bindings for the same PMU.
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
---
Documentation/devicetree/bindings/arm/pmu.yaml | 1 +
drivers/perf/arm_pmuv3.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/pmu.yaml b/Documentation/devicetree/bindings/arm/pmu.yaml
index a148ff54f2b8..295963a3cae7 100644
--- a/Documentation/devicetree/bindings/arm/pmu.yaml
+++ b/Documentation/devicetree/bindings/arm/pmu.yaml
@@ -67,6 +67,7 @@ properties:
- arm,neoverse-v2-pmu
- arm,neoverse-v3-pmu
- arm,neoverse-v3ae-pmu
+ - arm,rainier-pmu
- brcm,vulcan-pmu
- cavium,thunder-pmu
- nvidia,denver-pmu
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
next prev parent reply other threads:[~2025-02-13 18:03 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-13 18:03 [PATCH v5 0/8] arm64: dts: Add Arm Morello support Vincenzo Frascino
2025-02-13 18:03 ` [PATCH v5 1/8] dt-bindings: arm: Add Morello compatibility Vincenzo Frascino
2025-02-14 10:38 ` Linus Walleij
2025-02-18 15:11 ` Sudeep Holla
2025-02-13 18:03 ` [PATCH v5 2/8] dt-bindings: arm: Add Morello fvp compatibility Vincenzo Frascino
2025-02-14 8:12 ` Krzysztof Kozlowski
2025-02-18 18:07 ` Vincenzo Frascino
2025-02-19 7:13 ` Krzysztof Kozlowski
2025-02-19 11:30 ` Vincenzo Frascino
2025-02-19 19:53 ` Krzysztof Kozlowski
2025-02-13 18:03 ` [PATCH v5 3/8] dt-bindings: arm: Add Rainier compatibility Vincenzo Frascino
2025-02-14 8:12 ` Krzysztof Kozlowski
2025-02-13 18:03 ` Vincenzo Frascino [this message]
2025-02-14 8:13 ` [PATCH v5 4/8] perf: arm_pmuv3: Add support for ARM Rainier PMU Krzysztof Kozlowski
2025-02-13 18:03 ` [PATCH v5 5/8] arm64: dts: morello: Add support for common functionalities Vincenzo Frascino
2025-02-13 18:03 ` [PATCH v5 6/8] arm64: dts: morello: Add support for soc dts Vincenzo Frascino
2025-02-13 18:03 ` [PATCH v5 7/8] arm64: dts: morello: Add support for fvp dts Vincenzo Frascino
2025-02-13 18:03 ` [PATCH v5 8/8] MAINTAINERS: Add Vincenzo Frascino as Arm Morello Maintainer Vincenzo Frascino
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250213180309.485528-5-vincenzo.frascino@arm.com \
--to=vincenzo.frascino@arm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=liviu.dudau@arm.com \
--cc=lpieralisi@kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh@kernel.org \
--cc=sudeep.holla@arm.com \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.