OSDN Git Service

iommu: Remove functions that support private domain
authorSai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
Wed, 13 May 2020 22:47:21 +0000 (15:47 -0700)
committerJoerg Roedel <jroedel@suse.de>
Fri, 15 May 2020 10:00:36 +0000 (12:00 +0200)
commit69cf449166987d9a041020be6422ee7bf94a7228
tree6e8adb7a3566b40af8d17eb29679435a5093400f
parent8627892af6cb80f80acab066e26851d7b5fb3ca6
iommu: Remove functions that support private domain

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")

Signed-off-by: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20200513224721.20504-1-sai.praneeth.prakhya@intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c
include/linux/iommu.h