Skip to content

drm: Use iommu_paging_domain_alloc()

Lu Baolu dri-devel linux-arm-kernel linux-iommu linux-media linux-rockchip linux-tegra lkml nouveau 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 11 repliesIn review
  2. v13 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- Patch 3/3: use dev->dev.parent as the input for iommu_paging_domain_alloc(), suggested by Thierry Reding.
https://lore.kernel.org/linux-iommu/qyvyd2ftebjlgmzyayfvxsqa64c4wgx7keix3a6eexdspbvawy@a5ffnm5h5tgp/

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/nouveau/tegra: Use iommu_paging_domain_alloc()drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c+2 -210 replies
2/3drm/rockchip: Use iommu_paging_domain_alloc()drivers/gpu/drm/rockchip/rockchip_drm_drv.c+7 -30 replies
3/3drm/tegra: Use iommu_paging_domain_alloc()drivers/gpu/drm/tegra/drm.c+3 -21 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJason GunthorpeAndy YanLyude PaulThierry Reding
1/3R-b A-b
2/3R-b A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/3] drm: Use iommu_paging_domain_alloc()

Commit <17de3f5fdd35> ("iommu: Retire bus ops") removes iommu ops from the bus structure. The iommu subsystem no longer relies on bus for operations. So iommu_domain_alloc() interface is no longer relevant.

A new helper named iommu_paging_domain_alloc() was introduced in the iommu subsystem as a replacement of iommu_domain_alloc(). This helper relies on the device for IOMMU API use instead of the bus.

The replacement work started from this series:

https://lore.kernel.org/linux-iommu/[email protected]/

Several patches have already been merged into the mainline kernel, but we've decided to route all remaining ones through the subsystem tree.

Change log:
v2:
- Patch 3/3: use dev->dev.parent as the input for iommu_paging_domain_alloc(), suggested by Thierry Reding.
https://lore.kernel.org/linux-iommu/qyvyd2ftebjlgmzyayfvxsqa64c4wgx7keix3a6eexdspbvawy@a5ffnm5h5tgp/

v1:
- https://lore.kernel.org/linux-iommu/[email protected]/

Lu Baolu (3):
drm/nouveau/tegra: Use iommu_paging_domain_alloc() drm/rockchip: Use iommu_paging_domain_alloc() drm/tegra: Use iommu_paging_domain_alloc()

 drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c |  4 ++--
 drivers/gpu/drm/rockchip/rockchip_drm_drv.c        | 10 +++++++---
 drivers/gpu/drm/tegra/drm.c                        |  5 +++--
 3 files changed, 12 insertions(+), 7 deletions(-)
Signature · 1 line
2.34.1