When a PASID is stopped or terminated, there can be pending PRQs (requests that haven't received responses) in remapping hardware. VT-d driver must drain the pending page requests so that the pasid could be reused. The register level interface for page request draining is defined in 7.11 of the VT-d spec. This series adds the support for page requests draining.
This functionality was mainly developed and tested by Jacob Pan <jacob.jun....@linux.intel.com> Liu Yi L <yi.l....@intel.com>. Thanks a lot. Please help to review. Best regards, baolu Jacob Pan (1): iommu/vt-d: Add page request draining support Lu Baolu (4): iommu/vt-d: Add get_domain_info() helper iommu/vt-d: Refactor parameters for qi_submit_sync() iommu/vt-d: Multiple descriptors per qi_submit_sync() iommu/vt-d: Refactor prq_event_thread() drivers/iommu/dmar.c | 50 ++++--- drivers/iommu/intel-iommu.c | 38 +++-- drivers/iommu/intel-pasid.c | 16 +-- drivers/iommu/intel-svm.c | 207 ++++++++++++++++++++++++---- drivers/iommu/intel_irq_remapping.c | 2 +- include/linux/intel-iommu.h | 9 +- 6 files changed, 258 insertions(+), 64 deletions(-) -- 2.17.1 _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu