]> git.ipfire.org Git - people/arne_f/kernel.git/commit
iommu/vt-d: Add definitions for PFSID
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Thu, 7 Jun 2018 16:56:59 +0000 (09:56 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Sep 2018 08:32:39 +0000 (10:32 +0200)
commite7feba89574d2a8d599da1cd04e0e8aa19c71048
tree18ab26de53109f185f3155bcd20267212e6ddcfe
parent3245925a8e9c4fb5f2ccb2b7c21d2cb35ce8725a
iommu/vt-d: Add definitions for PFSID

commit 0f725561e168485eff7277d683405c05b192f537 upstream.

When SRIOV VF device IOTLB is invalidated, we need to provide
the PF source ID such that IOMMU hardware can gauge the depth
of invalidation queue which is shared among VFs. This is needed
when device invalidation throttle (DIT) capability is supported.

This patch adds bit definitions for checking and tracking PFSID.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iommu/intel-iommu.c
include/linux/intel-iommu.h