pmu.txt 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. * Qcom Performance Monitor Units
  2. Qcom cores have several PMUs for counting CPU side, L2 and bus side events.
  3. For the L1CC PMU:
  4. In most cases the L1 cache controller PMU is a per cpu unit. The irq-is-percpu
  5. flag becomes a requirement if this is the case.
  6. Required Properties:
  7. - compatible : Should be "qcom,krait-pmu"
  8. - interrupts : 1 combined interrupt or 1 per core. See the devicetree/bindings/gic.txt for more details on this format.
  9. Optional:
  10. - qcom,irq-is-percpu: Define this if the IRQ of the PMU is a PPI. This will tell perf to use
  11. the per_cpu IRQ API for request and free.
  12. Example:
  13. arm-pmu {
  14. compatible = "qcom,krait-pmu";
  15. qcom,irq-is-percpu;
  16. interrupts = <1 7 0xf00>;
  17. };
  18. For the L2CC PMU:
  19. If the L2 cache controller PMU is available, its DT bindings should be defined as
  20. follows.
  21. Required Properties:
  22. - compatible: Should be "qcom,l2-pmu"
  23. - interrupts : 1 combined interrupt.
  24. Example:
  25. l2-pmu {
  26. compatible = "qcom,l2-pmu";
  27. interrupts = <0 1 0>;
  28. };