Re: [RFC PATCH v2 0/8] accel/rocket: RK3576 NPU (RKNN) enablement

Will Deacon <[email protected]> Sun, 26 Jul 2026 16:00:53 +0100
Newsgroups dev.linux.lists.iommu,org.infradead.lists.linux-arm-kernel,org.infradead.lists.linux-rockchip,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pm
Message-ID <[email protected]>
On Sat, 18 Jul 2026 15:11:38 +1200, Jiaxing Hu wrote:
> This adds RK3576 NPU support to accel/rocket.  RFC: the NPU brings up and
> runs, but full inference is not correct yet, and I would rather get
> feedback now than sit on it.
> 
> Tested on a Radxa ROCK 4D.  The NPU probes, powers on, brings up its
> IOMMUs, and runs jobs to completion (rocket + Mesa Teflon).  Getting there
> took a few fixes outside the driver too: a power-domain settle delay and
> reset cycling (else a cold power-on throws an async SError), the full
> clock set on the MMU nodes, clearing a stale firmware page fault, and both
> NPU power domains on the core.
> 
> [...]

Applied driver changes to iommu (rockchip), thanks!

[4/8] iommu/rockchip: take all DT clocks
      https://git.kernel.org/iommu/c/841363ebb508
[5/8] iommu/rockchip: clear stale page faults before enabling stall
      https://git.kernel.org/iommu/c/b10d5920cafa

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev