summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/intel-iommu.c
diff options
context:
space:
mode:
authorLu Baolu2018-12-10 02:59:06 +0100
committerJoerg Roedel2018-12-11 10:46:00 +0100
commit6d68b88e0993d67e9ebb1240f84240b712fbc8a4 (patch)
tree13d097b92011dcfec435bcc3cdfb961f6105adbd /drivers/iommu/intel-iommu.c
parentiommu/vt-d: Shared virtual address in scalable mode (diff)
downloadkernel-qcow2-linux-6d68b88e0993d67e9ebb1240f84240b712fbc8a4.tar.gz
kernel-qcow2-linux-6d68b88e0993d67e9ebb1240f84240b712fbc8a4.tar.xz
kernel-qcow2-linux-6d68b88e0993d67e9ebb1240f84240b712fbc8a4.zip
iommu/vt-d: Remove deferred invalidation
Deferred invalidation is an ECS specific feature. It will not be supported when IOMMU works in scalable mode. As we deprecated the ECS support, remove deferred invalidation and cleanup the code. Cc: Ashok Raj <ashok.raj@intel.com> Cc: Jacob Pan <jacob.jun.pan@linux.intel.com> Cc: Kevin Tian <kevin.tian@intel.com> Cc: Liu Yi L <yi.l.liu@intel.com> Cc: Sanjay Kumar <sanjay.k.kumar@intel.com> Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Reviewed-by: Ashok Raj <ashok.raj@intel.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/intel-iommu.c')
-rw-r--r--drivers/iommu/intel-iommu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c
index cec88df671a6..9043e1e9b2be 100644
--- a/drivers/iommu/intel-iommu.c
+++ b/drivers/iommu/intel-iommu.c
@@ -1700,7 +1700,6 @@ static void free_dmar_iommu(struct intel_iommu *iommu)
if (pasid_supported(iommu)) {
if (ecap_prs(iommu->ecap))
intel_svm_finish_prq(iommu);
- intel_svm_exit(iommu);
}
#endif
}