Linux-RISC-V Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: cp0613@linux.alibaba.com
To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
	pjw@kernel.org, palmer@dabbelt.com, aou@eecs.berkeley.edu,
	peterz@infradead.org, mingo@redhat.com, acme@kernel.org,
	namhyung@kernel.org, mark.rutland@arm.com,
	alexander.shishkin@linux.intel.com, jolsa@kernel.org,
	irogers@google.com, adrian.hunter@intel.com,
	james.clark@linaro.org, guoren@kernel.org
Cc: devicetree@vger.kernel.org, linux-perf-users@vger.kernel.org,
	linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org,
	Chen Pei <cp0613@linux.alibaba.com>
Subject: [PATCH v2 0/4] perf vendor events riscv: Add XuanTie C930 JSON files
Date: Fri, 21 Nov 2025 14:34:35 +0800	[thread overview]
Message-ID: <20251121063439.2545-1-cp0613@linux.alibaba.com> (raw)

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


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

             reply	other threads:[~2025-11-21  6:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-21  6:34 cp0613 [this message]
2025-11-21  6:34 ` [PATCH v2 1/4] dt-bindings: vendor-prefixes: Add prefix for XuanTie cp0613
2025-11-21  8:22   ` Guo Ren
2025-11-21  9:01   ` Krzysztof Kozlowski
2025-11-21 12:30     ` Conor Dooley
2025-11-21 13:01       ` Guo Ren
2025-11-21 17:22         ` Krzysztof Kozlowski
2025-11-21  6:34 ` [PATCH v2 2/4] dt-bindings: riscv: Add XuanTie C930 CPU compatible cp0613
2025-11-21  8:23   ` Guo Ren
2025-11-21  9:01   ` Krzysztof Kozlowski
2025-11-21  6:34 ` [PATCH v2 3/4] perf vendor events riscv: Add XuanTie C930 JSON file cp0613
2025-11-21  6:34 ` [PATCH v2 4/4] perf vendor events riscv: Add XuanTie C930 metrics cp0613
2025-11-21  9:02   ` Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251121063439.2545-1-cp0613@linux.alibaba.com \
    --to=cp0613@linux.alibaba.com \
    --cc=acme@kernel.org \
    --cc=adrian.hunter@intel.com \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=aou@eecs.berkeley.edu \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=guoren@kernel.org \
    --cc=irogers@google.com \
    --cc=james.clark@linaro.org \
    --cc=jolsa@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=mark.rutland@arm.com \
    --cc=mingo@redhat.com \
    --cc=namhyung@kernel.org \
    --cc=palmer@dabbelt.com \
    --cc=peterz@infradead.org \
    --cc=pjw@kernel.org \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox