[PATCH v3 0/9] iommu: refactor flush queues into iommu-dma

Robin Murphy posted 9 patches 4 years, 6 months ago
drivers/iommu/amd/io_pgtable.c | 120 ++++++---------
drivers/iommu/dma-iommu.c      | 266 +++++++++++++++++++++++++++------
drivers/iommu/intel/iommu.c    |  89 ++++-------
drivers/iommu/iova.c           | 200 -------------------------
include/linux/iommu.h          |   3 +-
include/linux/iova.h           |  69 +--------
6 files changed, 297 insertions(+), 450 deletions(-)
[PATCH v3 0/9] iommu: refactor flush queues into iommu-dma
Posted by Robin Murphy 4 years, 6 months ago
v1: https://lore.kernel.org/linux-iommu/cover.1637671820.git.robin.murphy@arm.com/
v2: https://lore.kernel.org/linux-iommu/cover.1639157090.git.robin.murphy@arm.com/

Hi all,

Just another quick update addressing the trivial nits and picking up the
review tags so far. The previous Tegra DRM fixes for the initial kbuild
issues have been picked up, so I've posted a final fix separately[1] for
the others subsequently reported on v2. I've confirmed that arm64
allmodconfig builds cleanly with that, and nothing else jumped out from
a manual audit of iova.h includers. At worst we could hold off applying
the last patch (or the last two, logically), or temporarily reinstate
the dma-iommu.h include, if we're worried about issues in linux-next
until the DRM tree has caught up.

Thanks
Robin.

[1] https://lore.kernel.org/linux-iommu/dc81eec74be9064e33247257b1fe439b0f6ec78d.1639664721.git.robin.murphy@arm.com/

Matthew Wilcox (Oracle) (2):
  iommu/amd: Use put_pages_list
  iommu/vt-d: Use put_pages_list

Robin Murphy (6):
  iommu/iova: Squash entry_dtor abstraction
  iommu/iova: Squash flush_cb abstraction
  iommu/amd: Simplify pagetable freeing
  iommu/iova: Consolidate flush queue code
  iommu/iova: Move flush queue code to iommu-dma
  iommu: Move flush queue data into iommu_dma_cookie

Xiongfeng Wang (1):
  iommu/iova: Fix race between FQ timeout and teardown

 drivers/iommu/amd/io_pgtable.c | 120 ++++++---------
 drivers/iommu/dma-iommu.c      | 266 +++++++++++++++++++++++++++------
 drivers/iommu/intel/iommu.c    |  89 ++++-------
 drivers/iommu/iova.c           | 200 -------------------------
 include/linux/iommu.h          |   3 +-
 include/linux/iova.h           |  69 +--------
 6 files changed, 297 insertions(+), 450 deletions(-)

-- 
2.28.0.dirty

Re: [PATCH v3 0/9] iommu: refactor flush queues into iommu-dma
Posted by Joerg Roedel 4 years, 6 months ago
On Fri, Dec 17, 2021 at 03:30:54PM +0000, Robin Murphy wrote:
> Matthew Wilcox (Oracle) (2):
>   iommu/amd: Use put_pages_list
>   iommu/vt-d: Use put_pages_list
> 
> Robin Murphy (6):
>   iommu/iova: Squash entry_dtor abstraction
>   iommu/iova: Squash flush_cb abstraction
>   iommu/amd: Simplify pagetable freeing
>   iommu/iova: Consolidate flush queue code
>   iommu/iova: Move flush queue code to iommu-dma
>   iommu: Move flush queue data into iommu_dma_cookie
> 
> Xiongfeng Wang (1):
>   iommu/iova: Fix race between FQ timeout and teardown

Applied, thanks Robin.