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 v1: - do not enable/disable irq at start/stop(may lose irq) - do not update hpcr when event type is invalid CC: Guo Ren <[email protected]> CC: [email protected] Guo Ren (1): csky: Fixup some error count in 810 & 860. Mao Han (4): 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 Documentation/devicetree/bindings/csky/pmu.txt | 38 +++ arch/csky/kernel/perf_event.c | 407 +++++++++++++++++++++++-- 2 files changed, 424 insertions(+), 21 deletions(-) create mode 100644 Documentation/devicetree/bindings/csky/pmu.txt -- 2.7.4

