Skip to content

Add support for the ARMv8.2 Statistical Profiling Extension

Will Deacon linux-arm-kernel lkml 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest7 patches 1 replyIn review
  2. v57 patches 10 repliesSuperseded
  3. v45 patches 19 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v35 patches7 repliesSuperseded
v2 posting 2/26 patches5 repliesSuperseded
v2 RFC posting 1/210 patches13 repliesSuperseded
v1 RFC10 patches11 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7genirq: export irq_get_percpu_devid_partition to moduleskernel/irq/irqdesc.c+1 -00 replies
2/7perf/core: Export AUX buffer helpers to moduleskernel/events/ring_buffer.c+4 -00 replies
3/7perf/core: Add PERF_AUX_FLAG_COLLISION to report colliding samplesinclude/uapi/linux/perf_event.h+1 -00 replies
4/7arm64: sysreg: Move SPE registers and PSB into common header filesarch/arm64/include/asm/barrier.h arch/arm64/include/asm/sysreg.h arch/arm64/kvm/hyp/debug-sr.c+102 -170 replies
5/7arm64: head: Init PMSCR_EL2.{PA,PCT} when entered at EL2 without VHEarch/arm64/kernel/head.S+12 -50 replies
6/7dt-bindings: Document devicetree binding for ARM SPEDocumentation/devicetree/bindings/arm/spe-pmu.txt+20 -00 replies
7/7drivers/perf: Add support for ARMv8.2 Statistical Profiling Extensiondrivers/perf/Kconfig drivers/perf/Makefile drivers/perf/arm_spe_pmu.c+1255 -01 reply

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by.

PatchMarc ZyngierThomas GleixnerPeter ZijlstraMark Rutland
1/7A-b A-b
2/7
3/7A-b
4/7A-b A-b
5/7A-b
6/7A-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v6 thread

Cover letter [PATCH v6 0/7] Add support for the ARMv8.2 Statistical Profiling Extension

Hi all,

This is the 8th 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
     v3: http://lists.infradead.org/pipermail/linux-arm-kernel/2017-May/507132.html
     v4: http://lists.infradead.org/pipermail/linux-arm-kernel/2017-June/510799.html
     v5: http://lists.infradead.org/pipermail/linux-arm-kernel/2017-September/533478.html

The only change since v5 is the addition of Acked-by tags, so I'd like to queue this soon.

The architecture documentation is available here:

https://developer.arm.com/products/architecture/a-profile/docs/ddi0586/latest/arm-architecture-reference-manual-supplement-statistical-profiling-extension-for-armv8-a

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

https://community.arm.com/processors/b/blog/posts/statistical-profiling-extension-for-armv8-a

Cheers,

Will

--->8

Will Deacon (7):
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
arm64: sysreg: Move SPE registers and PSB into common header files
arm64: head: Init PMSCR_EL2.{PA,PCT} when entered at EL2 without VHE
dt-bindings: Document devicetree binding for ARM SPE drivers/perf: Add support for ARMv8.2 Statistical Profiling Extension

 Documentation/devicetree/bindings/arm/spe-pmu.txt |   20 +
 arch/arm64/include/asm/barrier.h                  |    2 +
 arch/arm64/include/asm/sysreg.h                   |   93 ++
 arch/arm64/kernel/head.S                          |   17 +-
 arch/arm64/kvm/hyp/debug-sr.c                     |   24 +-
 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 +
 11 files changed, 1395 insertions(+), 22 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/spe-pmu.txt
 create mode 100644 drivers/perf/arm_spe_pmu.c
Signature · 1 line
2.1.4