Skip to content

ARCv2 port to Linux - (C) perf

Vineet Gupta linux-arch lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8ARC: perf: support RAW eventsarch/arc/include/asm/perf_event.h arch/arc/kernel/perf_event.c+57 -07 replies
2/8ARC: perf: cap the number of counters to hardware max of 32arch/arc/include/asm/perf_event.h arch/arc/kernel/perf_event.c+5 -40 replies
3/8ARCv2: perf: implement "event_set_period" for future use with interruptsarch/arc/kernel/perf_event.c+60 -72 replies
4/8ARCv2: perf: Support sampling events using overflow interruptsarch/arc/include/asm/perf_event.h arch/arc/kernel/perf_event.c+124 -78 replies
5/8ARCv2: perf: set usable max period as a half of real max periodarch/arc/kernel/perf_event.c+1 -10 replies
6/8ARCv2: perf: implement exclusion of event counting in user or kernel modearch/arc/include/asm/perf_event.h arch/arc/kernel/perf_event.c+17 -20 replies
7/8ARCv2: perf: SMP supportarch/arc/kernel/perf_event.c+55 -180 replies
8/8ARCv2: perf: Finally introduce HS perf unitDocumentation/devicetree/bindings/arc/archs-pct.txt arch/arc/include/asm/perf_event.h arch/arc/kernel/perf_event.c+23 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] ARCv2 port to Linux - (C) perf

Hi Peter,

This mini-series adds perf support for ARCv2 based cores, which brings in overflow interupts and SMP. Additionally now raw events are supported as well.

This is part of series which adds ARCv2 ISA support to linux.

Please see [1] for prep patches and [2] for actual port. I've CC'ed you for some of the patches related to barriers, atomic ops in [2].

Some more info at
- www.synopsys.com/dw/ipdir.php?ds=arc-hs38-processor
- http://news.synopsys.com/2014-10-14-New-DesignWare-ARC-HS38-Processor-Doubles-Performance-for-Embedded-Linux-Applications
- http://www.embedded.com/electronics-news/4435975/Synopsys-ARC-HS38-core-gives-2X-boost-to-Linux-based-apps

Please review !

Thx,
-Vineet

[1] https://lkml.org/lkml/2015/6/7/25
[2] http://www.spinics.net/lists/kernel/msg2009508.html

Alexey Brodkin (6):
ARC: perf: support RAW events
ARCv2: perf: implement "event_set_period" for future use with
interrupts
ARCv2: perf: Support sampling events using overflow interrupts
ARCv2: perf: set usable max period as a half of real max period
ARCv2: perf: implement exclusion of event counting in user or kernel
mode
ARCv2: perf: SMP support

Vineet Gupta (2):
ARC: perf: cap the number of counters to hardware max of 32
ARCv2: perf: Finally introduce HS perf unit

 .../devicetree/bindings/arc/archs-pct.txt          |  17 ++
 arch/arc/include/asm/perf_event.h                  |  24 +-
 arch/arc/kernel/perf_event.c                       | 310 +++++++++++++++++++--
 3 files changed, 326 insertions(+), 25 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arc/archs-pct.txt
Signature · 1 line
1.9.1