Re: [PATCH 0/9] iommu/amd: Convert the AMD iommu driver to the dma-iommu api

2019-04-15 Thread Christoph Hellwig
Hi Tom,

can you rebase this on top of this series:

https://lists.linuxfoundation.org/pipermail/iommu/2019-March/034357.html

or the version addressing Robin's comments here:

http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/dma-iommu-ops.3

so that we can avoid introducing more dma_map_ops boilerplate code?
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu


[PATCH 0/9] iommu/amd: Convert the AMD iommu driver to the dma-iommu api

2019-04-11 Thread Tom Murphy via iommu
Convert the AMD iommu driver to the dma-iommu api and remove the iova
handling code from the AMD iommu driver.

Tom Murphy (9):
  iommu/dma-iommu: Add iommu_map_atomic
  iommu/dma-iommu: Add function to flush any cached not present IOTLB
entries
  iommu/dma-iommu: Add iommu_dma_copy_reserved_iova,
iommu_dma_apply_resv_region to the dma-iommu api
  iommu/dma-iommu: Add iommu_dma_map_page_coherent
  iommu/amd: Implement .flush_np_cache
  iommu/amd: Implement map_atomic
  iommu/amd: Use the dma-iommu api
  iommu/amd: Clean up unused functions
  iommu/amd: Add allocated domain to global list earlier

 drivers/iommu/Kconfig  |   1 +
 drivers/iommu/amd_iommu.c  | 468 -
 drivers/iommu/arm-smmu-v3.c|   1 +
 drivers/iommu/arm-smmu.c   |   1 +
 drivers/iommu/dma-iommu.c  |  68 -
 drivers/iommu/exynos-iommu.c   |   1 +
 drivers/iommu/iommu.c  |  46 +++-
 drivers/iommu/ipmmu-vmsa.c |   1 +
 drivers/iommu/mtk_iommu.c  |   1 +
 drivers/iommu/qcom_iommu.c |   1 +
 drivers/iommu/rockchip-iommu.c |   1 +
 include/linux/dma-iommu.h  |  10 +
 include/linux/iommu.h  |  25 ++
 13 files changed, 253 insertions(+), 372 deletions(-)

-- 
2.17.1

___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu