* [PATCH v2 1/2] dt-bindings: arm: pmu: Add Cortex A520, A715, A720, X3, and X4
@ 2023-07-06 20:55 Rob Herring
2023-07-06 20:55 ` [PATCH v2 2/2] perf: pmuv3: Add Cortex A520, A715, A720, X3 and X4 PMUs Rob Herring
2023-07-27 12:22 ` [PATCH v2 1/2] dt-bindings: arm: pmu: Add Cortex A520, A715, A720, X3, and X4 Will Deacon
0 siblings, 2 replies; 3+ messages in thread
From: Rob Herring @ 2023-07-06 20:55 UTC (permalink / raw)
To: Will Deacon, Mark Rutland, Krzysztof Kozlowski, Conor Dooley
Cc: Conor Dooley, linux-arm-kernel, devicetree, linux-kernel
Add compatible strings for the Arm Cortex-A520, Cortex-A715,
Cortex-A720, Cortex-X3, and Cortex-X4 CPU PMUs.
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Rob Herring <robh@kernel.org>
---
v2:
- Also add Cortex-X3 and Cortex-X4
---
Documentation/devicetree/bindings/arm/pmu.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/pmu.yaml b/Documentation/devicetree/bindings/arm/pmu.yaml
index e14358bf0b9c..99b5e9530707 100644
--- a/Documentation/devicetree/bindings/arm/pmu.yaml
+++ b/Documentation/devicetree/bindings/arm/pmu.yaml
@@ -49,9 +49,14 @@ properties:
- arm,cortex-a77-pmu
- arm,cortex-a78-pmu
- arm,cortex-a510-pmu
+ - arm,cortex-a520-pmu
- arm,cortex-a710-pmu
+ - arm,cortex-a715-pmu
+ - arm,cortex-a720-pmu
- arm,cortex-x1-pmu
- arm,cortex-x2-pmu
+ - arm,cortex-x3-pmu
+ - arm,cortex-x4-pmu
- arm,neoverse-e1-pmu
- arm,neoverse-n1-pmu
- arm,neoverse-n2-pmu
--
2.40.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] 3+ messages in thread
* [PATCH v2 2/2] perf: pmuv3: Add Cortex A520, A715, A720, X3 and X4 PMUs
2023-07-06 20:55 [PATCH v2 1/2] dt-bindings: arm: pmu: Add Cortex A520, A715, A720, X3, and X4 Rob Herring
@ 2023-07-06 20:55 ` Rob Herring
2023-07-27 12:22 ` [PATCH v2 1/2] dt-bindings: arm: pmu: Add Cortex A520, A715, A720, X3, and X4 Will Deacon
1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2023-07-06 20:55 UTC (permalink / raw)
To: Will Deacon, Mark Rutland, Krzysztof Kozlowski, Conor Dooley
Cc: Conor Dooley, linux-arm-kernel, devicetree, linux-kernel
Add support for the Arm Cortex-A520, Cortex-A715, Cortex-A720,
Cortex-X3, and Cortex-X4 CPU PMUs. They are straight-forward additions
with just new compatible strings.
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
---
v2:
- Also add Cortex-X3 and Cortex-X4
---
drivers/perf/arm_pmuv3.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/drivers/perf/arm_pmuv3.c b/drivers/perf/arm_pmuv3.c
index 08b3a1bf0ef6..d2dffb4e9d07 100644
--- a/drivers/perf/arm_pmuv3.c
+++ b/drivers/perf/arm_pmuv3.c
@@ -1266,9 +1266,14 @@ PMUV3_INIT_SIMPLE(armv8_cortex_a76)
PMUV3_INIT_SIMPLE(armv8_cortex_a77)
PMUV3_INIT_SIMPLE(armv8_cortex_a78)
PMUV3_INIT_SIMPLE(armv9_cortex_a510)
+PMUV3_INIT_SIMPLE(armv9_cortex_a520)
PMUV3_INIT_SIMPLE(armv9_cortex_a710)
+PMUV3_INIT_SIMPLE(armv9_cortex_a715)
+PMUV3_INIT_SIMPLE(armv9_cortex_a720)
PMUV3_INIT_SIMPLE(armv8_cortex_x1)
PMUV3_INIT_SIMPLE(armv9_cortex_x2)
+PMUV3_INIT_SIMPLE(armv9_cortex_x3)
+PMUV3_INIT_SIMPLE(armv9_cortex_x4)
PMUV3_INIT_SIMPLE(armv8_neoverse_e1)
PMUV3_INIT_SIMPLE(armv8_neoverse_n1)
PMUV3_INIT_SIMPLE(armv9_neoverse_n2)
@@ -1334,9 +1339,14 @@ static const struct of_device_id armv8_pmu_of_device_ids[] = {
{.compatible = "arm,cortex-a77-pmu", .data = armv8_cortex_a77_pmu_init},
{.compatible = "arm,cortex-a78-pmu", .data = armv8_cortex_a78_pmu_init},
{.compatible = "arm,cortex-a510-pmu", .data = armv9_cortex_a510_pmu_init},
+ {.compatible = "arm,cortex-a520-pmu", .data = armv9_cortex_a520_pmu_init},
{.compatible = "arm,cortex-a710-pmu", .data = armv9_cortex_a710_pmu_init},
+ {.compatible = "arm,cortex-a715-pmu", .data = armv9_cortex_a715_pmu_init},
+ {.compatible = "arm,cortex-a720-pmu", .data = armv9_cortex_a720_pmu_init},
{.compatible = "arm,cortex-x1-pmu", .data = armv8_cortex_x1_pmu_init},
{.compatible = "arm,cortex-x2-pmu", .data = armv9_cortex_x2_pmu_init},
+ {.compatible = "arm,cortex-x3-pmu", .data = armv9_cortex_x3_pmu_init},
+ {.compatible = "arm,cortex-x4-pmu", .data = armv9_cortex_x4_pmu_init},
{.compatible = "arm,neoverse-e1-pmu", .data = armv8_neoverse_e1_pmu_init},
{.compatible = "arm,neoverse-n1-pmu", .data = armv8_neoverse_n1_pmu_init},
{.compatible = "arm,neoverse-n2-pmu", .data = armv9_neoverse_n2_pmu_init},
--
2.40.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] 3+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: arm: pmu: Add Cortex A520, A715, A720, X3, and X4
2023-07-06 20:55 [PATCH v2 1/2] dt-bindings: arm: pmu: Add Cortex A520, A715, A720, X3, and X4 Rob Herring
2023-07-06 20:55 ` [PATCH v2 2/2] perf: pmuv3: Add Cortex A520, A715, A720, X3 and X4 PMUs Rob Herring
@ 2023-07-27 12:22 ` Will Deacon
1 sibling, 0 replies; 3+ messages in thread
From: Will Deacon @ 2023-07-27 12:22 UTC (permalink / raw)
To: Conor Dooley, Rob Herring, Mark Rutland, Krzysztof Kozlowski
Cc: catalin.marinas, kernel-team, Will Deacon, linux-arm-kernel,
devicetree, linux-kernel, Conor Dooley
On Thu, 6 Jul 2023 14:55:03 -0600, Rob Herring wrote:
> Add compatible strings for the Arm Cortex-A520, Cortex-A715,
> Cortex-A720, Cortex-X3, and Cortex-X4 CPU PMUs.
>
>
Applied to will (for-next/perf), thanks!
[1/2] dt-bindings: arm: pmu: Add Cortex A520, A715, A720, X3, and X4
https://git.kernel.org/will/c/039768b55853
[2/2] perf: pmuv3: Add Cortex A520, A715, A720, X3 and X4 PMUs
https://git.kernel.org/will/c/989567fc0f3d
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] 3+ messages in thread
end of thread, other threads:[~2023-07-27 12:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-06 20:55 [PATCH v2 1/2] dt-bindings: arm: pmu: Add Cortex A520, A715, A720, X3, and X4 Rob Herring
2023-07-06 20:55 ` [PATCH v2 2/2] perf: pmuv3: Add Cortex A520, A715, A720, X3 and X4 PMUs Rob Herring
2023-07-27 12:22 ` [PATCH v2 1/2] dt-bindings: arm: pmu: Add Cortex A520, A715, A720, X3, and X4 Will Deacon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).