spe-pmu.yaml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. title: ARMv8.2 Statistical Profiling Extension (SPE) Performance Monitor Units (PMU)
  7. maintainers:
  8. - Will Deacon <will@kernel.org>
  9. description:
  10. ARMv8.2 introduces the optional Statistical Profiling Extension for collecting
  11. performance sample data using an in-memory trace buffer.
  12. properties:
  13. compatible:
  14. const: arm,statistical-profiling-extension-v1
  15. interrupts:
  16. maxItems: 1
  17. description: |
  18. The PPI to signal SPE events. For heterogeneous systems where SPE is only
  19. supported on a subset of the CPUs, please consult the arm,gic-v3 binding
  20. for details on describing a PPI partition.
  21. additionalProperties: false
  22. required:
  23. - compatible
  24. - interrupts
  25. examples:
  26. - |
  27. #include <dt-bindings/interrupt-controller/arm-gic.h>
  28. spe-pmu {
  29. compatible = "arm,statistical-profiling-extension-v1";
  30. interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>;
  31. };