]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
riscv: dts: tenstorrent: Add PMU node to blackhole for Linux perf support
authorMichael Neuling <mikey@neuling.org>
Fri, 10 Apr 2026 02:49:59 +0000 (21:49 -0500)
committerDrew Fustini <fustini@kernel.org>
Sat, 23 May 2026 23:53:12 +0000 (16:53 -0700)
commit0e400da642d2b9830b0d41b431dbf12cd7921b52
treee8cc3b90c8d729cf2438e3e206e49601e4a8a8be
parent254f49634ee16a731174d2ae34bc50bd5f45e731
riscv: dts: tenstorrent: Add PMU node to blackhole for Linux perf support

Add a riscv,pmu device tree node with SBI PMU event mappings for the
SiFive X280 hardware performance counters. This enables OpenSBI to
expose the SBI PMU extension, allowing Linux perf to use the 4
programmable counters (mhpmcounter3-6) across 3 event classes:
instruction commit, microarchitectural, and memory system events.

Event encodings are derived from the SiFive Tenstorrent X280 MC Manual
(21G3.04.00) Table 13, section 3.10.5.

Assisted-by: Claude:claude-opus-4-6[1m]
Signed-off-by: Michael Neuling <mikey@neuling.org>
Reviewed-by: Drew Fustini <fustini@kernel.org>
Signed-off-by: Drew Fustini <fustini@kernel.org>
arch/riscv/boot/dts/tenstorrent/blackhole.dtsi