[Intel-gfx] [core-for-CI][PATCH v2 0/2] iommu: Remove iova cpu hotplugging flushing

Janusz Krzysztofik janusz.krzysztofik at linux.intel.com
Wed Sep 28 08:58:24 UTC 2022


Manual revert of commit f598a497bc7d ("iova: Add CPU hotplug handler to
flush rcaches").  It is trying to instantiate a cpuhp notifier from inside
a cpuhp callback.  That code replaced intel_iommu implementation of
flushing per-IOVA domain CPU rcaches which used a single instance of cpuhp
held for the module lifetime.

v2: Restore formerly reverted commit ac9a5d522bb8 "iommu/dma: Fix race
    condition during iova_domain initialization" after we have this more
    effective fix applied.  The former occurred not sufficient and is no
    longer needed once we have the latter in place.

Note: I'm no longer CCing IOMMU nor mainstream, they have been already
      warned.


Chris Wilson (1):
  iommu: Remove iova cpu hotplugging flushing

Janusz Krzysztofik (1):
  Restore "iommu/dma: Fix race condition during iova_domain
    initialization"

 drivers/iommu/dma-iommu.c  | 17 +++++++++++++----
 drivers/iommu/iova.c       | 28 ----------------------------
 include/linux/cpuhotplug.h |  1 -
 include/linux/iova.h       |  1 -
 4 files changed, 13 insertions(+), 34 deletions(-)

-- 
2.25.1



More information about the Intel-gfx mailing list