[PATCH v3] iommu/rockchip: Drop global rk_ops in favor of per-device ops
Will Deacon
will at kernel.org
Sun Jul 26 08:00:55 PDT 2026
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
More information about the Linux-rockchip
mailing list