diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2019-03-01 06:23:13 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2019-03-01 12:23:36 +0300 |
commit | 48739afaac2a5a71a132cd43fd6bd5722680a9b1 (patch) | |
tree | c4215556cfd019d94ea97549b34f4512b951c4b2 /drivers/iommu/Kconfig | |
parent | c56cba5daf45d2d091ef1cfe2f1d6a930446687b (diff) | |
download | linux-48739afaac2a5a71a132cd43fd6bd5722680a9b1.tar.xz |
iommu/vt-d: Get domain ID before clear pasid entry
After tearing down a pasid entry, the domain id is used to
invalidate the translation caches. Retrieve the domain id
from the pasid entry value before clearing the pasid entry.
Otherwise, we will always use domain id 0.
Cc: Ashok Raj <ashok.raj@intel.com>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Liu Yi L <yi.l.liu@intel.com>
Fixes: 6f7db75e1c469 ("iommu/vt-d: Add second level page table interface")
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/Kconfig')
0 files changed, 0 insertions, 0 deletions