iommu/vt-d: Remove IOVA handling code from the non-dma_ops path
authorTom Murphy <murphyt7@tcd.ie>
Sat, 16 May 2020 06:21:01 +0000 (14:21 +0800)
committerJoerg Roedel <jroedel@suse.de>
Mon, 18 May 2020 13:37:26 +0000 (15:37 +0200)
commite70b081c6f376471d7a9fee69e12e8f05ac2925d
tree6a22f0dc7b973ae3a9a131606cf2e84768604c16
parent7482fd59259a7f23e191c14b8a126a0f6981b3e4
iommu/vt-d: Remove IOVA handling code from the non-dma_ops path

There's no need for the non-dma_ops path to keep track of IOVAs. The
whole point of the non-dma_ops path is that it allows the IOVAs to be
handled separately. The IOVA handling code removed in this patch is
pointless.

Signed-off-by: Tom Murphy <murphyt7@tcd.ie>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20200516062101.29541-19-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c