Re: [Intel-gfx] [PATCH v4 0/7] Convert the intel iommu driver to the dma-iommu api

Tvrtko Ursulin
2020-09-28T09:44:50Z

On 27/09/2020 07:34, Lu Baolu wrote:
> Hi,
>
> The previous post of this series could be found here.
>
> https://lore.kernel.org/linux-iommu/20200912032200.11489-1-baolu.lu@linux.intel.com/
>
> This version introduce a new patch [4/7] to fix an issue reported here.
>
> https://lore.kernel.org/linux-iommu/51a1baec-48d1-c0ac-181b-1fba92aa428d@linux.intel.com/
>
> There aren't any other changes.
>
> Please help to test and review.
>
> Best regards,
> baolu
>
> Lu Baolu (3):
> iommu: Add quirk for Intel graphic devices in map_sg

Since I do have patches to fix i915 to handle this, do we want to
co-ordinate the two and avoid having to add this quirk and then later
remove it? Or you want to go the staged approach?

Regards,

Tvrtko

> iommu/vt-d: Update domain geometry in iommu_ops.at(de)tach_dev
> iommu/vt-d: Cleanup after converting to dma-iommu ops
>
> Tom Murphy (4):
> iommu: Handle freelists when using deferred flushing in iommu drivers
> iommu: Add iommu_dma_free_cpu_cached_iovas()
> iommu: Allow the dma-iommu api to use bounce buffers
> iommu/vt-d: Convert intel iommu driver to the iommu ops
>
> .../admin-guide/kernel-parameters.txt | 5 -
> drivers/iommu/dma-iommu.c | 228 ++++-
> drivers/iommu/intel/Kconfig | 1 +
> drivers/iommu/intel/iommu.c | 901 +++---------------
> include/linux/dma-iommu.h | 8 +
> include/linux/iommu.h | 1 +
> 6 files changed, 336 insertions(+), 808 deletions(-)