]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:45:57 +0000 (19:45 -0600)
commit389a37380c020beca4b816dfdd1a594828d794e4
treeaca806a226c368ac97001dab319143958c4e228d
parent1f7befd7bcb97100c649f6213b508266969ca466
iommu/vt-d: Add definitions for PFSID

BugLink: https://bugs.launchpad.net/bugs/1835972
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/iommu/intel-iommu.c
include/linux/intel-iommu.h