On 2023/11/4 0:44, Jason Gunthorpe wrote:
This is not being used to pass ops, it is just a way to tell if an
iommu driver was probed. These days this can be detected directly via
device_iommu_mapped(). Call device_iommu_mapped() in the two places that
need to check it and remove the iommu parameter everywhere.

Signed-off-by: Jason Gunthorpe<j...@nvidia.com>
---
  arch/arc/mm/dma.c               |  2 +-
  arch/arm/mm/dma-mapping-nommu.c |  2 +-
  arch/arm/mm/dma-mapping.c       | 10 +++++-----
  arch/arm64/mm/dma-mapping.c     |  4 ++--
  arch/mips/mm/dma-noncoherent.c  |  2 +-
  arch/riscv/mm/dma-noncoherent.c |  2 +-
  drivers/acpi/scan.c             |  3 +--
  drivers/hv/hv_common.c          |  2 +-
  drivers/of/device.c             |  2 +-
  include/linux/dma-map-ops.h     |  4 ++--
  10 files changed, 16 insertions(+), 17 deletions(-)

Reviewed-by: Lu Baolu <baolu...@linux.intel.com>

Best regards,
baolu

Reply via email to