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

After commit be51b1d6bbff ("iommu/sva: Refactoring
iommu_sva_bind/unbind_device()"), the iommu driver doesn't need to
return an iommu_sva pointer anymore. This removes the sva field
from intel_svm_dev and cleanups the code accordingly.

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-5-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/iommu.h
drivers/iommu/intel/svm.c