[PATCH v2 0/4] perf vendor events riscv: Add XuanTie C930 JSON files

cp0613@linux.alibaba.com posted 4 patches 1 week, 3 days ago
.../devicetree/bindings/riscv/cpus.yaml       |   1 +
.../devicetree/bindings/vendor-prefixes.yaml  |   2 +
tools/perf/pmu-events/arch/riscv/mapfile.csv  |   1 +
.../arch/riscv/xuantie/c930/basic.json        | 117 ++++
.../arch/riscv/xuantie/c930/ieu.json          |  97 ++++
.../arch/riscv/xuantie/c930/ifu.json          |  62 ++
.../arch/riscv/xuantie/c930/l2c.json          |  87 +++
.../arch/riscv/xuantie/c930/lsu.json          | 182 ++++++
.../arch/riscv/xuantie/c930/metrics.json      | 538 ++++++++++++++++++
.../arch/riscv/xuantie/c930/vfpu.json         | 177 ++++++
10 files changed, 1264 insertions(+)
create mode 100644 tools/perf/pmu-events/arch/riscv/xuantie/c930/basic.json
create mode 100644 tools/perf/pmu-events/arch/riscv/xuantie/c930/ieu.json
create mode 100644 tools/perf/pmu-events/arch/riscv/xuantie/c930/ifu.json
create mode 100644 tools/perf/pmu-events/arch/riscv/xuantie/c930/l2c.json
create mode 100644 tools/perf/pmu-events/arch/riscv/xuantie/c930/lsu.json
create mode 100644 tools/perf/pmu-events/arch/riscv/xuantie/c930/metrics.json
create mode 100644 tools/perf/pmu-events/arch/riscv/xuantie/c930/vfpu.json
[PATCH v2 0/4] perf vendor events riscv: Add XuanTie C930 JSON files
Posted by cp0613@linux.alibaba.com 1 week, 3 days ago
From: Chen Pei <cp0613@linux.alibaba.com>

XuanTie[1] is the RISC-V processor brand of C-SKY Microsystems Co., Ltd.
This patch series first adds vendor XuanTie, then adds XuanTie C930 CPU
compatible, and finally adds pmu json files for XuanTie C930, including
topdown and some other metric groups.

Note:
According to the "Standard Manufacturer's IDENTIFICATION CODE"[2], the
manufacturer of Code '0x5b7' has changed to C-SKY Microsystems Co., Ltd.

[1] https://www.xrvm.com/
[2] https://www.jedec.org/standards-documents/docs/jep-106ab

Chen Pei (4):
  dt-bindings: vendor-prefixes: Add prefix for XuanTie
  dt-bindings: riscv: Add XuanTie C930 CPU compatible
  perf vendor events riscv: Add XuanTie C930 JSON file
  perf vendor events riscv: Add XuanTie C930 metrics

 .../devicetree/bindings/riscv/cpus.yaml       |   1 +
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 tools/perf/pmu-events/arch/riscv/mapfile.csv  |   1 +
 .../arch/riscv/xuantie/c930/basic.json        | 117 ++++
 .../arch/riscv/xuantie/c930/ieu.json          |  97 ++++
 .../arch/riscv/xuantie/c930/ifu.json          |  62 ++
 .../arch/riscv/xuantie/c930/l2c.json          |  87 +++
 .../arch/riscv/xuantie/c930/lsu.json          | 182 ++++++
 .../arch/riscv/xuantie/c930/metrics.json      | 538 ++++++++++++++++++
 .../arch/riscv/xuantie/c930/vfpu.json         | 177 ++++++
 10 files changed, 1264 insertions(+)
 create mode 100644 tools/perf/pmu-events/arch/riscv/xuantie/c930/basic.json
 create mode 100644 tools/perf/pmu-events/arch/riscv/xuantie/c930/ieu.json
 create mode 100644 tools/perf/pmu-events/arch/riscv/xuantie/c930/ifu.json
 create mode 100644 tools/perf/pmu-events/arch/riscv/xuantie/c930/l2c.json
 create mode 100644 tools/perf/pmu-events/arch/riscv/xuantie/c930/lsu.json
 create mode 100644 tools/perf/pmu-events/arch/riscv/xuantie/c930/metrics.json
 create mode 100644 tools/perf/pmu-events/arch/riscv/xuantie/c930/vfpu.json

-- 
2.50.1