Skip to content

iommu: refactor flush queues into iommu-dma

Robin Murphy linux-iommu linux-mm lkml 3 versions – Applied

Status from this message: Applied, thanks Robin.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest9 patches 2 repliesApplied
  2. v211 patches 16 repliesApplied
  3. v19 patches 8 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/9iommu/iova: Fix race between FQ timeout and teardowndrivers/iommu/iova.c+1 -20 replies
2/9iommu/iova: Squash entry_dtor abstractiondrivers/iommu/dma-iommu.c drivers/iommu/iova.c include/linux/iova.h+20 -510 replies
3/9iommu/iova: Squash flush_cb abstractiondrivers/iommu/dma-iommu.c drivers/iommu/iova.c include/linux/iova.h+9 -260 replies
4/9iommu/amd: Simplify pagetable freeingdrivers/iommu/amd/io_pgtable.c+34 -480 replies
5/9iommu/amd: Use put_pages_listdrivers/iommu/amd/io_pgtable.c+18 -320 replies
6/9iommu/vt-d: Use put_pages_listdrivers/iommu/dma-iommu.c drivers/iommu/intel/iommu.c drivers/iommu/iova.c +2 more+45 -791 reply
7/9iommu/iova: Consolidate flush queue codedrivers/iommu/iova.c+58 -730 replies
8/9iommu/iova: Move flush queue code to iommu-dmadrivers/iommu/dma-iommu.c drivers/iommu/iova.c+176 -1760 replies
9/9iommu: Move flush queue data into iommu_dma_cookiedrivers/iommu/dma-iommu.c drivers/iommu/iova.c include/linux/iova.h+95 -1220 replies

Reviews trailers per patch

6 of 9 patches have a Reviewed-by or Acked-by.

PatchJohn GarryChristoph HellwigLu Baolu
1/9R-b
2/9R-b R-b
3/9R-b R-b
4/9
5/9
6/9R-b
7/9R-b
8/9R-b
9/9

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

Read the v3 thread

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

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

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(-)
Signature · 6 lines
2.28.0.dirty

_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu