iommu/vt-d: Remove intel_svm_dev
authorLu Baolu <baolu.lu@linux.intel.com>
Wed, 24 Apr 2024 07:16:42 +0000 (15:16 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 26 Apr 2024 09:57:47 +0000 (11:57 +0200)
commitdeda9a7bf38fb9846ff3fb83179ca07437b1511c
tree91660dec9e3ee8ee8487dcf47121e4a26814fbb4
parent4f609dbff51b3c98d5fc841758a20be74ab3f132
iommu/vt-d: Remove intel_svm_dev

The intel_svm_dev data structure used in the sva implementation for the
Intel IOMMU driver stores information about a device attached to an SVA
domain. It is a duplicate of dev_pasid_info that serves the same purpose.

Replace intel_svm_dev with dev_pasid_info and clean up the use of
intel_svm_dev.

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