csky: Add pmu hardware sampling support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest6 patches 0 repliesNew
- v46 patches 5 repliesSuperseded
- v36 patches 1 replySuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 5 patches | 0 replies | Superseded | |
| v1 | 5 patches | 0 replies | Superseded |
Changes in v5 from the cover letter
- remove some function hook registration
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | csky: Init pmu as a devicearch/ | +48 | 0 replies | |
| 2/6 | csky: Add count-width property for csky pmuarch/ | +14 | 0 replies | |
| 3/6 | csky: Add pmu interrupt supportarch/ | +258 | 0 replies | |
| 4/6 | dt-bindings: csky: Add csky PMU bindingsDocumentation/ | +38 | 0 replies | |
| 5/6 | csky: Fixup some error count in 810 & 860.arch/ | +54 | 0 replies | |
| 6/6 | csky: Fix perf record in kernel/user spacearch/ | +14 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [PATCH V5 0/6] csky: Add pmu hardware sampling support
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 v4:
- remove some function hook registration
Changes since v3:
- change reg-io-width to count-width
- use macro sign_extend64
- update commit log
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 count-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 | 422 +++++++++++++++++++++++-- 2 files changed, 425 insertions(+), 35 deletions(-) create mode 100644 Documentation/devicetree/bindings/csky/pmu.txt
Signature · 1 line
2.7.4