lkml.org 
[lkml]   [2019]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH V3 0/6] csky: Add pmu hardware sampling support
Date
This patch set add hardware sampling support for csky-pmu, and
also add some properties to pmu node definition. perf can record
on hardware event with this patch applied.

Changes since v2:
- update dt-binding(csky pmu use rising edge interrupt)
- use cpuhp_setup_state to enable irq(fix irq enable on smp)

Changes since v1:
- do not update hpcr when event type is invalid(fix option
--all-kernel/--all-user)


Guo Ren (1):
csky: Fixup some error count in 810 & 860.

Mao Han (5):
csky: Init pmu as a device
csky: Add reg-io-width property for csky pmu
csky: Add pmu interrupt support
dt-bindings: csky: Add csky PMU bindings
csky: Fix perf record in kernel/user space

Documentation/devicetree/bindings/csky/pmu.txt | 38 +++
arch/csky/kernel/perf_event.c | 427 +++++++++++++++++++++++--
2 files changed, 444 insertions(+), 21 deletions(-)
create mode 100644 Documentation/devicetree/bindings/csky/pmu.txt

--
2.7.4

\
 
 \ /
  Last update: 2019-06-03 08:47    [W:0.051 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site