]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
perf vendor events riscv: add T-HEAD C920V2 JSON support
authorInochi Amaoto <inochiama@gmail.com>
Tue, 14 Oct 2025 01:48:29 +0000 (09:48 +0800)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 26 Nov 2025 17:59:29 +0000 (09:59 -0800)
T-HEAD C920 has a V2 iteration, which supports Sscompmf. The V2
iteration supports the same perf events as V1.

Reuse T-HEAD c900-legacy JSON file for T-HEAD C920V2.

Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Acked-by: Paul Walmsley <pjw@kernel.org>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/pmu-events/arch/riscv/mapfile.csv

index 0a7e7dcc81be496ae23e7c78ec723b51e03b99ea..d5eea7f9aa9a41ac941208763945235223c83a71 100644 (file)
@@ -20,5 +20,6 @@
 0x489-0x8000000000000008-0x[[:xdigit:]]+,v1,sifive/p550,core
 0x489-0x8000000000000[1-6]08-0x[9b][[:xdigit:]]+,v1,sifive/p650,core
 0x5b7-0x0-0x0,v1,thead/c900-legacy,core
+0x5b7-0x80000000090c0d00-0x2047000,v1,thead/c900-legacy,core
 0x67e-0x80000000db0000[89]0-0x[[:xdigit:]]+,v1,starfive/dubhe-80,core
 0x31e-0x8000000000008a45-0x[[:xdigit:]]+,v1,andes/ax45,core