iommu/vt-d: Clear pasid table entry when memory unbound

In intel_svm_unbind_mm(), pasid table entry must be cleared during
svm free. Otherwise, hardware may be set up with a wild pointer.

Suggested-by: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
This commit is contained in:
Lu Baolu 2017-11-03 10:51:34 -06:00 • committed by Alex Williamson
commit 4fa064b26c