iommu/vt-d: Fix dev iotlb pfsid use
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Thu, 7 Jun 2018 16:57:00 +0000 (09:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Sep 2018 17:56:00 +0000 (19:56 +0200)
commitc2ea292b13509ebb79a1a80c72d0b28d4e5a48db
tree081be7a7fcb4bc0cae72c863f90a3e281cab1cea
parenteb58c40465f35fa72a9b633040f367972ff2632c
iommu/vt-d: Fix dev iotlb pfsid use

commit 1c48db44924298ad0cb5a6386b88017539be8822 upstream.

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