[PATCH v3 0/5] Add support for the ARMv8.2 Statistical Profiling Extension

Will Deacon will.deacon at arm.com
Thu May 18 10:24:28 PDT 2017

Hi all,

This is the fifth posting of the patches previously posted here:

  rfcv1: http://lists.infradead.org/pipermail/linux-arm-kernel/2017-January/476450.html
  rfcv2: http://lists.infradead.org/pipermail/linux-arm-kernel/2017-January/479387.html
     v1: http://lists.infradead.org/pipermail/linux-arm-kernel/2017-January/483684.html
     v2: http://lists.infradead.org/pipermail/linux-arm-kernel/2017-April/499938.html

Changes since v2 include:

  * Rebased onto v4.12-rc1, which includes some rework to AUX flag
  * Removed VHE-dependent exclude_hv support in light of recent change
    to CPU PMU code [1]

The architecture documentation is available here:


and there's a high-level overview on this official ARM blog:


All comments welcome,


[1] http://lkml.kernel.org/r/1493742574-25955-1-git-send-email-ganapatrao.kulkarni@cavium.com


Will Deacon (5):
  genirq: export irq_get_percpu_devid_partition to modules
  perf/core: Export AUX buffer helpers to modules
  perf/core: Add PERF_AUX_FLAG_COLLISION to report colliding samples
  drivers/perf: Add support for ARMv8.2 Statistical Profiling Extension
  dt-bindings: Document devicetree binding for ARM SPE

 Documentation/devicetree/bindings/arm/spe-pmu.txt |   20 +
 drivers/perf/Kconfig                              |    8 +
 drivers/perf/Makefile                             |    1 +
 drivers/perf/arm_spe_pmu.c                        | 1246 +++++++++++++++++++++
 include/uapi/linux/perf_event.h                   |    1 +
 kernel/events/ring_buffer.c                       |    4 +
 kernel/irq/irqdesc.c                              |    1 +
 7 files changed, 1281 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/arm/spe-pmu.txt
 create mode 100644 drivers/perf/arm_spe_pmu.c


More information about the linux-arm-kernel mailing list