Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: arm: spe-pmu: convert to DT schema

Convert the Arm Statisical Profiling Extension (SPE) binding to DT
schema.
Not much to see here, basically just the announcement that SPE is
integrated on the system level and where the IRQ is routed to.

Move it into the more suitable perf/ directory on the way.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220506140533.3566431-3-andre.przywara@arm.com

authored by

Andre Przywara and committed by
Rob Herring
b25bccb6 e4783856

+40 -20
-20
Documentation/devicetree/bindings/arm/spe-pmu.txt
··· 1 - * ARMv8.2 Statistical Profiling Extension (SPE) Performance Monitor Units (PMU) 2 - 3 - ARMv8.2 introduces the optional Statistical Profiling Extension for collecting 4 - performance sample data using an in-memory trace buffer. 5 - 6 - ** SPE Required properties: 7 - 8 - - compatible : should be one of: 9 - "arm,statistical-profiling-extension-v1" 10 - 11 - - interrupts : Exactly 1 PPI must be listed. For heterogeneous systems where 12 - SPE is only supported on a subset of the CPUs, please consult 13 - the arm,gic-v3 binding for details on describing a PPI partition. 14 - 15 - ** Example: 16 - 17 - spe-pmu { 18 - compatible = "arm,statistical-profiling-extension-v1"; 19 - interrupts = <GIC_PPI 05 IRQ_TYPE_LEVEL_HIGH &part1>; 20 - };
+40
Documentation/devicetree/bindings/perf/spe-pmu.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/perf/spe-pmu.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: ARMv8.2 Statistical Profiling Extension (SPE) Performance Monitor Units (PMU) 8 + 9 + maintainers: 10 + - Will Deacon <will@kernel.org> 11 + 12 + description: 13 + ARMv8.2 introduces the optional Statistical Profiling Extension for collecting 14 + performance sample data using an in-memory trace buffer. 15 + 16 + properties: 17 + compatible: 18 + const: arm,statistical-profiling-extension-v1 19 + 20 + interrupts: 21 + maxItems: 1 22 + description: | 23 + The PPI to signal SPE events. For heterogeneous systems where SPE is only 24 + supported on a subset of the CPUs, please consult the arm,gic-v3 binding 25 + for details on describing a PPI partition. 26 + 27 + additionalProperties: false 28 + 29 + required: 30 + - compatible 31 + - interrupts 32 + 33 + examples: 34 + - | 35 + #include <dt-bindings/interrupt-controller/arm-gic.h> 36 + 37 + spe-pmu { 38 + compatible = "arm,statistical-profiling-extension-v1"; 39 + interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>; 40 + };