From: Rob Herring <robh@kernel.org>
To: Robin Murphy <robin.murphy@arm.com>
Cc: will@kernel.org, catalin.marinas@arm.com, mark.rutland@arm.com,
suzuki.poulose@arm.com, thierry.reding@gmail.com,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 4/5] dt-bindings: perf: Convert Arm DSU to schema
Date: Wed, 8 Dec 2021 12:16:01 -0600 [thread overview]
Message-ID: <YbD2Yb7+F41pR0hx@robh.at.kernel.org> (raw)
In-Reply-To: <9530f441a62c72c5a22a7b555ea42bbcd3b145a1.1638900542.git.robin.murphy@arm.com>
On Tue, Dec 07, 2021 at 06:20:42PM +0000, Robin Murphy wrote:
> Convert the DSU binding to schema, as one does.
>
> Signed-off-by: Robin Murphy <robin.murphy@arm.com>
> ---
> .../devicetree/bindings/arm/arm-dsu-pmu.txt | 27 ------------
> .../devicetree/bindings/perf/arm,dsu-pmu.yaml | 41 +++++++++++++++++++
> 2 files changed, 41 insertions(+), 27 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/arm/arm-dsu-pmu.txt
> create mode 100644 Documentation/devicetree/bindings/perf/arm,dsu-pmu.yaml
>
> diff --git a/Documentation/devicetree/bindings/arm/arm-dsu-pmu.txt b/Documentation/devicetree/bindings/arm/arm-dsu-pmu.txt
> deleted file mode 100644
> index 6efabba530f1..000000000000
> --- a/Documentation/devicetree/bindings/arm/arm-dsu-pmu.txt
> +++ /dev/null
> @@ -1,27 +0,0 @@
> -* ARM DynamIQ Shared Unit (DSU) Performance Monitor Unit (PMU)
> -
> -ARM DyanmIQ Shared Unit (DSU) integrates one or more CPU cores
> -with a shared L3 memory system, control logic and external interfaces to
> -form a multicore cluster. The PMU enables to gather various statistics on
> -the operations of the DSU. The PMU provides independent 32bit counters that
> -can count any of the supported events, along with a 64bit cycle counter.
> -The PMU is accessed via CPU system registers and has no MMIO component.
> -
> -** DSU PMU required properties:
> -
> -- compatible : should be one of :
> -
> - "arm,dsu-pmu"
> -
> -- interrupts : Exactly 1 SPI must be listed.
> -
> -- cpus : List of phandles for the CPUs connected to this DSU instance.
> -
> -
> -** Example:
> -
> -dsu-pmu-0 {
> - compatible = "arm,dsu-pmu";
> - interrupts = <GIC_SPI 02 IRQ_TYPE_LEVEL_HIGH>;
> - cpus = <&cpu_0>, <&cpu_1>;
> -};
> diff --git a/Documentation/devicetree/bindings/perf/arm,dsu-pmu.yaml b/Documentation/devicetree/bindings/perf/arm,dsu-pmu.yaml
> new file mode 100644
> index 000000000000..b78b6b0fce66
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/perf/arm,dsu-pmu.yaml
> @@ -0,0 +1,41 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +# Copyright 2021 Arm Ltd.
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/perf/arm,dsu-pmu.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: ARM DynamIQ Shared Unit (DSU) Performance Monitor Unit (PMU)
> +
> +maintainers:
> + - Suzuki K Poulose <suzuki.poulose@arm.com>
> + - Robin Murphy <robin.murphy@arm.com>
> +
> +description:
> + ARM DyanmIQ Shared Unit (DSU) integrates one or more CPU cores with a shared
> + L3 memory system, control logic and external interfaces to form a multicore
> + cluster. The PMU enables gathering various statistics on the operation of the
> + DSU. The PMU provides independent 32-bit counters that can count any of the
> + supported events, along with a 64-bit cycle counter. The PMU is accessed via
> + CPU system registers and has no MMIO component.
> +
> +properties:
> + compatible:
> + const: "arm,dsu-pmu"
Don't need quotes.
> +
> + interrupts:
> + items:
> + description: nCLUSTERPMUIRQ interrupt
- description: nCLUSTERPMUIRQ interrupt
> +
> + cpus:
> + $ref: /schemas/types.yaml#/definitions/phandle-array
> + minitems: 1
> + maxitems: 8
> + description: List of phandles for the CPUs connected to this DSU instance.
> +
> +required:
> + - compatible
> + - interrupts
> + - cpus
> +
> +additionalProperties: false
> --
> 2.28.0.dirty
>
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Rob Herring <robh@kernel.org>
To: Robin Murphy <robin.murphy@arm.com>
Cc: will@kernel.org, catalin.marinas@arm.com, mark.rutland@arm.com,
suzuki.poulose@arm.com, thierry.reding@gmail.com,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 4/5] dt-bindings: perf: Convert Arm DSU to schema
Date: Wed, 8 Dec 2021 12:16:01 -0600 [thread overview]
Message-ID: <YbD2Yb7+F41pR0hx@robh.at.kernel.org> (raw)
In-Reply-To: <9530f441a62c72c5a22a7b555ea42bbcd3b145a1.1638900542.git.robin.murphy@arm.com>
On Tue, Dec 07, 2021 at 06:20:42PM +0000, Robin Murphy wrote:
> Convert the DSU binding to schema, as one does.
>
> Signed-off-by: Robin Murphy <robin.murphy@arm.com>
> ---
> .../devicetree/bindings/arm/arm-dsu-pmu.txt | 27 ------------
> .../devicetree/bindings/perf/arm,dsu-pmu.yaml | 41 +++++++++++++++++++
> 2 files changed, 41 insertions(+), 27 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/arm/arm-dsu-pmu.txt
> create mode 100644 Documentation/devicetree/bindings/perf/arm,dsu-pmu.yaml
>
> diff --git a/Documentation/devicetree/bindings/arm/arm-dsu-pmu.txt b/Documentation/devicetree/bindings/arm/arm-dsu-pmu.txt
> deleted file mode 100644
> index 6efabba530f1..000000000000
> --- a/Documentation/devicetree/bindings/arm/arm-dsu-pmu.txt
> +++ /dev/null
> @@ -1,27 +0,0 @@
> -* ARM DynamIQ Shared Unit (DSU) Performance Monitor Unit (PMU)
> -
> -ARM DyanmIQ Shared Unit (DSU) integrates one or more CPU cores
> -with a shared L3 memory system, control logic and external interfaces to
> -form a multicore cluster. The PMU enables to gather various statistics on
> -the operations of the DSU. The PMU provides independent 32bit counters that
> -can count any of the supported events, along with a 64bit cycle counter.
> -The PMU is accessed via CPU system registers and has no MMIO component.
> -
> -** DSU PMU required properties:
> -
> -- compatible : should be one of :
> -
> - "arm,dsu-pmu"
> -
> -- interrupts : Exactly 1 SPI must be listed.
> -
> -- cpus : List of phandles for the CPUs connected to this DSU instance.
> -
> -
> -** Example:
> -
> -dsu-pmu-0 {
> - compatible = "arm,dsu-pmu";
> - interrupts = <GIC_SPI 02 IRQ_TYPE_LEVEL_HIGH>;
> - cpus = <&cpu_0>, <&cpu_1>;
> -};
> diff --git a/Documentation/devicetree/bindings/perf/arm,dsu-pmu.yaml b/Documentation/devicetree/bindings/perf/arm,dsu-pmu.yaml
> new file mode 100644
> index 000000000000..b78b6b0fce66
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/perf/arm,dsu-pmu.yaml
> @@ -0,0 +1,41 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +# Copyright 2021 Arm Ltd.
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/perf/arm,dsu-pmu.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: ARM DynamIQ Shared Unit (DSU) Performance Monitor Unit (PMU)
> +
> +maintainers:
> + - Suzuki K Poulose <suzuki.poulose@arm.com>
> + - Robin Murphy <robin.murphy@arm.com>
> +
> +description:
> + ARM DyanmIQ Shared Unit (DSU) integrates one or more CPU cores with a shared
> + L3 memory system, control logic and external interfaces to form a multicore
> + cluster. The PMU enables gathering various statistics on the operation of the
> + DSU. The PMU provides independent 32-bit counters that can count any of the
> + supported events, along with a 64-bit cycle counter. The PMU is accessed via
> + CPU system registers and has no MMIO component.
> +
> +properties:
> + compatible:
> + const: "arm,dsu-pmu"
Don't need quotes.
> +
> + interrupts:
> + items:
> + description: nCLUSTERPMUIRQ interrupt
- description: nCLUSTERPMUIRQ interrupt
> +
> + cpus:
> + $ref: /schemas/types.yaml#/definitions/phandle-array
> + minitems: 1
> + maxitems: 8
> + description: List of phandles for the CPUs connected to this DSU instance.
> +
> +required:
> + - compatible
> + - interrupts
> + - cpus
> +
> +additionalProperties: false
> --
> 2.28.0.dirty
>
>
next prev parent reply other threads:[~2021-12-08 18:17 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-07 18:20 [PATCH 0/5] arm64: DT binding/PMU updates Robin Murphy
2021-12-07 18:20 ` Robin Murphy
2021-12-07 18:20 ` [PATCH 1/5] dt-bindings: arm: Catch up with Cortex/Neoverse CPUs again Robin Murphy
2021-12-07 18:20 ` Robin Murphy
2021-12-08 18:12 ` Rob Herring
2021-12-08 18:12 ` Rob Herring
2021-12-07 18:20 ` [PATCH 2/5] arm64: perf: Simplify registration boilerplate Robin Murphy
2021-12-07 18:20 ` Robin Murphy
2021-12-14 13:38 ` Mark Rutland
2021-12-14 13:38 ` Mark Rutland
2021-12-07 18:20 ` [PATCH 3/5] arm64: perf: Support new DT compatibles Robin Murphy
2021-12-07 18:20 ` Robin Murphy
2021-12-07 18:44 ` Mark Rutland
2021-12-07 18:44 ` Mark Rutland
2021-12-07 19:14 ` Robin Murphy
2021-12-07 19:14 ` Robin Murphy
2021-12-14 13:36 ` Mark Rutland
2021-12-14 13:36 ` Mark Rutland
2021-12-07 18:20 ` [PATCH 4/5] dt-bindings: perf: Convert Arm DSU to schema Robin Murphy
2021-12-07 18:20 ` Robin Murphy
2021-12-08 13:44 ` Rob Herring
2021-12-08 13:44 ` Rob Herring
2021-12-08 18:16 ` Rob Herring [this message]
2021-12-08 18:16 ` Rob Herring
2021-12-07 18:20 ` [PATCH 5/5] dt-bindings: perf: Add compatible for Arm DSU-110 Robin Murphy
2021-12-07 18:20 ` Robin Murphy
2021-12-08 18:21 ` Rob Herring
2021-12-08 18:21 ` Rob Herring
2021-12-08 21:01 ` Robin Murphy
2021-12-08 21:01 ` Robin Murphy
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=YbD2Yb7+F41pR0hx@robh.at.kernel.org \
--to=robh@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=robin.murphy@arm.com \
--cc=suzuki.poulose@arm.com \
--cc=thierry.reding@gmail.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.