iommu/vt-d: Remove users from intel_svm_dev
authorLu Baolu <baolu.lu@linux.intel.com>
Tue, 31 Jan 2023 07:37:31 +0000 (15:37 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 3 Feb 2023 10:06:02 +0000 (11:06 +0100)
commit49cab9d2b846bf69ef1164156ea2f4c7dec02f9f
tree7e3c8fb3c5ecab048062571ccc3fd562df62bfda
parent557abbd60c1676cbde5326a17dd517ec48f80bb6
iommu/vt-d: Remove users from intel_svm_dev

It was used as a reference counter of an existing bond between device
and user application memory address. Commit be51b1d6bbff ("iommu/sva:
Refactoring iommu_sva_bind/unbind_device()") has added this in iommu
core. Remove it to avoid duplicate code.

Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20230109014955.147068-4-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/iommu.h
drivers/iommu/intel/svm.c