]> git.baikalelectronics.ru Git - kernel.git/commit
iommu: Remove apply_resv_region
authorLu Baolu <baolu.lu@linux.intel.com>
Wed, 16 Feb 2022 02:52:45 +0000 (10:52 +0800)
committerJoerg Roedel <jroedel@suse.de>
Mon, 28 Feb 2022 12:25:48 +0000 (13:25 +0100)
commita1563bbcf187286a07a8557ce9bf8387abf4b4ee
tree620388991b0c8764cd68226f3dc32d21dff87a22
parente082b1a69e7df5a79c44101f86bf337130281291
iommu: Remove apply_resv_region

The apply_resv_region callback in iommu_ops was introduced to reserve an
IOVA range in the given DMA domain when the IOMMU driver manages the IOVA
by itself. As all drivers converted to use dma-iommu in the core, there's
no driver using this anymore. Remove it to avoid dead code.

Suggested-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20220216025249.3459465-6-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c
include/linux/iommu.h