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 correct a code comment.

Based on v5.12-rc1. Tested on arm64 only.

John Garry (3):
  iova: Add CPU hotplug handler to flush rcaches
  iommu/vt-d: Remove IOVA domain rcache flushing for CPU offlining
  iova: Correct comment for free_cpu_cached_iovas()

 drivers/iommu/intel/iommu.c | 31 -------------------------------
 drivers/iommu/iova.c        | 32 ++++++++++++++++++++++++++++++--
 include/linux/cpuhotplug.h  |  2 +-
 include/linux/iova.h        |  1 +
 4 files changed, 32 insertions(+), 34 deletions(-)

-- 
2.26.2

Reply via email to