perf vendor events riscv: Add SiFive Bullet version 0x0d events
authorEric Lin <eric.lin@sifive.com>
Thu, 13 Feb 2025 01:21:38 +0000 (17:21 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Mon, 10 Mar 2025 21:15:38 +0000 (14:15 -0700)
commit8866a33815507485f8129b395511b8b2a0f6411d
tree7fc8c0c4825113fa80874c94b2eca4c10dc846b5
parentacaefd60493e265f1aefbc1b79d92367df6f676a
perf vendor events riscv: Add SiFive Bullet version 0x0d events

SiFive Bullet microarchitecture cores with mimpid values starting with
0x0d or greater add new PMU events to count TLB miss stall cycles.

All other PMU events are unchanged from earlier Bullet cores.

Signed-off-by: Eric Lin <eric.lin@sifive.com>
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Tested-by: Ian Rogers <irogers@google.com>
Tested-by: Atish Patra <atishp@rivosinc.com>
Link: https://lore.kernel.org/r/20250213220341.3215660-6-samuel.holland@sifive.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/pmu-events/arch/riscv/mapfile.csv
tools/perf/pmu-events/arch/riscv/sifive/bullet-0d/cycle-and-instruction-count.json [new symlink]
tools/perf/pmu-events/arch/riscv/sifive/bullet-0d/firmware.json [new symlink]
tools/perf/pmu-events/arch/riscv/sifive/bullet-0d/instruction.json [new symlink]
tools/perf/pmu-events/arch/riscv/sifive/bullet-0d/memory.json [new symlink]
tools/perf/pmu-events/arch/riscv/sifive/bullet-0d/microarch.json [new file with mode: 0644]
tools/perf/pmu-events/arch/riscv/sifive/bullet-0d/watchpoint.json [new symlink]