Re: [PATCH v3] iommu/rockchip: Drop global rk_ops in favor of per-device ops

Will Deacon <[email protected]> Sun, 26 Jul 2026 16:00:55 +0100
Newsgroups dev.linux.lists.iommu,org.infradead.lists.linux-arm-kernel,org.infradead.lists.linux-rockchip,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Wed, 22 Jul 2026 15:35:10 +0800, Simon Xue wrote:
> The driver currently uses a global rk_ops pointer, forcing all IOMMU
> instances to share the same operations. This restricts the driver from
> supporting SoCs that might integrate different versions of IOMMU hardware.
> 
> Since the IOMMU framework passes the master device information to
> iommu_paging_domain_alloc(), the global variable is no longer needed.
> 
> [...]

Applied to iommu (rockchip), thanks!

[1/1] iommu/rockchip: Drop global rk_ops in favor of per-device ops
      https://git.kernel.org/iommu/c/414cb6f3ac62

Cheers,
-- 
Will

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