Skip to content

iommu/amd: Convert the AMD iommu driver to the dma-iommu api

Tom Murphy linux-arm-kernel linux-arm-msm linux-iommu linux-mediatek linux-rockchip linux-s390 linux-samsung-soc linux-tegra lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 8 repliesIn review
  2. v24 patches 8 repliesSuperseded
  3. v19 patches 14 repliesSuperseded

Changes in v3 from the cover letter

-rename dma_limit to dma_mask
-exit handle_deferred_device early if (!is_kdump_kernel()) -remove pointless calls to handle_deferred_device v2:
-Rebase on top of this series:
http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/dma-iommu-ops.3
-Add a gfp_t parameter to the iommu_ops::map function. -Made use of the reserve region code inside the dma-iommu api

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4iommu: Add gfp parameter to iommu_ops::mapdrivers/iommu/amd_iommu.c drivers/iommu/arm-smmu-v3.c drivers/iommu/arm-smmu.c +15 more+78 -344 replies
2/4iommu/dma-iommu: Handle deferred devicesdrivers/iommu/dma-iommu.c+27 -12 replies
3/4iommu/dma-iommu: Use the dev->coherent_dma_maskdrivers/iommu/dma-iommu.c+9 -70 replies
4/4iommu/amd: Convert AMD iommu driver to the dma-iommu apidrivers/iommu/Kconfig drivers/iommu/amd_iommu.c+70 -6110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/4] iommu/amd: Convert the AMD iommu driver to the dma-iommu api

Convert the AMD iommu driver to the dma-iommu api. Remove the iova handling and reserve region code from the AMD iommu driver.

Change-log:
v3:
-rename dma_limit to dma_mask
-exit handle_deferred_device early if (!is_kdump_kernel()) -remove pointless calls to handle_deferred_device v2:
-Rebase on top of this series:
http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/dma-iommu-ops.3
-Add a gfp_t parameter to the iommu_ops::map function. -Made use of the reserve region code inside the dma-iommu api

Tom Murphy (4):
iommu: Add gfp parameter to iommu_ops::map iommu/dma-iommu: Handle deferred devices iommu/dma-iommu: Use the dev->coherent_dma_mask iommu/amd: Convert the AMD iommu driver to the dma-iommu api

 drivers/iommu/Kconfig          |   1 +
 drivers/iommu/amd_iommu.c      | 694 ++++-----------------------------
 drivers/iommu/arm-smmu-v3.c    |   2 +-
 drivers/iommu/arm-smmu.c       |   2 +-
 drivers/iommu/dma-iommu.c      |  50 ++-
 drivers/iommu/exynos-iommu.c   |   2 +-
 drivers/iommu/intel-iommu.c    |   2 +-
 drivers/iommu/iommu.c          |  43 +-
 drivers/iommu/ipmmu-vmsa.c     |   2 +-
 drivers/iommu/msm_iommu.c      |   2 +-
 drivers/iommu/mtk_iommu.c      |   2 +-
 drivers/iommu/mtk_iommu_v1.c   |   2 +-
 drivers/iommu/omap-iommu.c     |   2 +-
 drivers/iommu/qcom_iommu.c     |   2 +-
 drivers/iommu/rockchip-iommu.c |   2 +-
 drivers/iommu/s390-iommu.c     |   2 +-
 drivers/iommu/tegra-gart.c     |   2 +-
 drivers/iommu/tegra-smmu.c     |   2 +-
 include/linux/iommu.h          |  21 +-
 19 files changed, 184 insertions(+), 653 deletions(-)
Signature · 1 line
2.17.1