[PATCH] iommu: Remove functions that support private domain

Joerg Roedel joro at 8bytes.org
Fri May 15 10:01:26 UTC 2020


On Wed, May 13, 2020 at 03:47:21PM -0700, Sai Praneeth Prakhya wrote:
> After moving iommu_group setup to iommu core code [1][2] and removing
> private domain support in vt-d [3], there are no users for functions such
> as iommu_request_dm_for_dev(), iommu_request_dma_domain_for_dev() and
> request_default_domain_for_dev(). So, remove these functions.
> 
> [1] commit dce8d6964ebd ("iommu/amd: Convert to probe/release_device()
>     call-backs")
> [2] commit e5d1841f18b2 ("iommu/vt-d: Convert to probe/release_device()
>     call-backs")
> [3] commit 327d5b2fee91 ("iommu/vt-d: Allow 32bit devices to uses DMA
>     domain")
> 
> Cc: Joerg Roedel <joro at 8bytes.org>
> Cc: Lu Baolu <baolu.lu at linux.intel.com>
> Signed-off-by: Sai Praneeth Prakhya <sai.praneeth.prakhya at intel.com>
> ---
>  drivers/iommu/iommu.c | 65 -------------------------------------------
>  include/linux/iommu.h | 12 --------
>  2 files changed, 77 deletions(-)

Applied that patch to the x86/vt-d branch.



More information about the iommu mailing list