iommu/vt-d: Flush PASID-based iotlb for iova over first level
authorLu Baolu <baolu.lu@linux.intel.com>
Thu, 2 Jan 2020 00:18:18 +0000 (08:18 +0800)
committerJoerg Roedel <jroedel@suse.de>
Tue, 7 Jan 2020 13:05:58 +0000 (14:05 +0100)
commit33cd6e642d6a76c1d338ce25cba5fd79a5029011
tree89ae6c4a6b8c97a1d3e6a83882d4cb04cf992804
parentddf09b6d43ece8e4d5591e4957e89c4fe7714792
iommu/vt-d: Flush PASID-based iotlb for iova over first level

When software has changed first-level tables, it should invalidate
the affected IOTLB and the paging-structure-caches using the PASID-
based-IOTLB Invalidate Descriptor defined in spec 6.5.2.4.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/dmar.c
drivers/iommu/intel-iommu.c
include/linux/intel-iommu.h