]> git.baikalelectronics.ru Git - 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)
committerJoerg Roedel <jroedel@suse.de>
Fri, 6 Jul 2018 11:26:10 +0000 (13:26 +0200)
commitd2bf5fc335f9b92e82206d1eac3605ffb433519c
tree57881b4ce4a1eeb9abef25183f1753a39797c2d6
parent749c65c1b38017c420ee0efe4cf766101be057ac
iommu/vt-d: Add definitions for PFSID

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>
drivers/iommu/intel-iommu.c
include/linux/intel-iommu.h