diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2015-10-13 19:18:10 +0300 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2015-10-15 17:35:28 +0300 |
commit | 0204a49609824163092c32a8aeb073f7e9acc76d (patch) | |
tree | acf951173aa656c2781694deb985e3a7f14b21ce /include/linux/intel-iommu.h | |
parent | a222a7f0bb6c94c31cc9c755110593656f19de89 (diff) | |
download | linux-0204a49609824163092c32a8aeb073f7e9acc76d.tar.xz |
iommu/vt-d: Add callback to device driver on page faults
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/intel-iommu.h')
-rw-r--r-- | include/linux/intel-iommu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/intel-iommu.h b/include/linux/intel-iommu.h index e5b80d31eb1b..57be14fce640 100644 --- a/include/linux/intel-iommu.h +++ b/include/linux/intel-iommu.h @@ -472,10 +472,13 @@ extern int intel_svm_free_pasid_tables(struct intel_iommu *iommu); extern int intel_svm_enable_prq(struct intel_iommu *iommu); extern int intel_svm_finish_prq(struct intel_iommu *iommu); +struct svm_dev_ops; + struct intel_svm_dev { struct list_head list; struct rcu_head rcu; struct device *dev; + struct svm_dev_ops *ops; int users; u16 did; u16 dev_iotlb:1; |