Skip to content

iommu/iova: Add CPU hotplug handler to flush rcaches to core code

John Garry linux-iommu lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 5 repliesIn review
  2. v13 patches 7 repliesApplied

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4iova: Add CPU hotplug handler to flush rcachesdrivers/iommu/iova.c include/linux/cpuhotplug.h include/linux/iova.h+31 -10 replies
2/4iommu/vt-d: Remove IOVA domain rcache flushing for CPU offliningdrivers/iommu/intel/iommu.c include/linux/cpuhotplug.h+0 -320 replies
3/4iommu: Delete iommu_dma_free_cpu_cached_iovas()drivers/iommu/dma-iommu.c drivers/iommu/iova.c include/linux/dma-iommu.h +1 more+2 -231 reply
4/4iommu: Stop exporting free_iova_fast()drivers/iommu/iova.c+0 -11 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchRobin MurphyLu Baolu
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] iommu/iova: Add CPU hotplug handler to flush rcaches to core code

The Intel IOMMU driver supports flushing the per-CPU rcaches when a CPU is offlined.

Let's move it to core code, so everyone can take advantage.

Also throw in a patch to stop exporting free_iova_fast().

Differences to v1:
- Add RB tags (thanks!)
- Add patch to stop exporting free_iova_fast()
- Drop patch to correct comment
- Add patch to delete iommu_dma_free_cpu_cached_iovas() and associated changes

John Garry (4):
iova: Add CPU hotplug handler to flush rcaches iommu/vt-d: Remove IOVA domain rcache flushing for CPU offlining
iommu: Delete iommu_dma_free_cpu_cached_iovas()
iommu: Stop exporting free_iova_fast()

 drivers/iommu/dma-iommu.c   |  9 ---------
 drivers/iommu/intel/iommu.c | 31 -------------------------------
 drivers/iommu/iova.c        | 34 +++++++++++++++++++++++++++++++---
 include/linux/cpuhotplug.h  |  2 +-
 include/linux/dma-iommu.h   |  8 --------
 include/linux/iova.h        |  6 +-----
 6 files changed, 33 insertions(+), 57 deletions(-)
Signature · 6 lines
2.26.2

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