diff options
author | Jacob Pan <jacob.jun.pan@linux.intel.com> | 2018-06-07 18:57:00 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2018-07-06 13:26:10 +0200 |
commit | 1c48db44924298ad0cb5a6386b88017539be8822 (patch) | |
tree | 30ddae718fb18732f7cbd18db1a3956e0e54dafa /include | |
parent | iommu/vt-d: Add definitions for PFSID (diff) | |
download | linux-1c48db44924298ad0cb5a6386b88017539be8822.tar.xz linux-1c48db44924298ad0cb5a6386b88017539be8822.zip |
iommu/vt-d: Fix dev iotlb pfsid use
PFSID should be used in the invalidation descriptor for flushing
device IOTLBs on SRIOV VFs.
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Cc: stable@vger.kernel.org
Cc: "Ashok Raj" <ashok.raj@intel.com>
Cc: "Lu Baolu" <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/intel-iommu.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/intel-iommu.h b/include/linux/intel-iommu.h index 3b1c37155572..6692b40ca814 100644 --- a/include/linux/intel-iommu.h +++ b/include/linux/intel-iommu.h @@ -455,9 +455,8 @@ extern void qi_flush_context(struct intel_iommu *iommu, u16 did, u16 sid, u8 fm, u64 type); extern void qi_flush_iotlb(struct intel_iommu *iommu, u16 did, u64 addr, unsigned int size_order, u64 type); -extern void qi_flush_dev_iotlb(struct intel_iommu *iommu, u16 sid, u16 qdep, - u64 addr, unsigned mask); - +extern void qi_flush_dev_iotlb(struct intel_iommu *iommu, u16 sid, u16 pfsid, + u16 qdep, u64 addr, unsigned mask); extern int qi_submit_sync(struct qi_desc *desc, struct intel_iommu *iommu); extern int dmar_ir_support(void); |