Re: [PATCH] riscv: dts: tenstorrent: Add PMU node to blackhole for Linux perf support

From: Drew Fustini

Date: Fri Apr 10 2026 - 21:39:12 EST


On Thu, Apr 09, 2026 at 09:49:59PM -0500, Anirudh Srinivasan wrote:
> From: Michael Neuling <mikey@xxxxxxxxxxx>
>
> 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@xxxxxxxxxxx>
> Signed-off-by: Anirudh Srinivasan <asrinivasan@xxxxxxxxxxxxxxxxxxx>
> ---
> Added a dependency of [1] to b4 so that checkpatch doesn't complain
> about the Assisted-by tag
>
> [1] https://lore.kernel.org/all/20260311152039.254244-1-sashal@xxxxxxxxxx/
> ---
> arch/riscv/boot/dts/tenstorrent/blackhole.dtsi | 48 ++++++++++++++++++++++++++
> 1 file changed, 48 insertions(+)

Reviewed-by: Drew Fustini <fustini@xxxxxxxxxx>

If there are no objections, then I will apply it to
tenstorrent-dt-for-next.

Thanks,
Drew