]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Per PCI device pasid table interfaces
authorLu Baolu <baolu.lu@linux.intel.com>
Sat, 14 Jul 2018 07:46:59 +0000 (15:46 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 20 Jul 2018 12:44:24 +0000 (14:44 +0200)
commit766308250ad1a37367efa5098086c3328e01ffe5
tree059b05cf142c60158f0e70a78d59eed717d13561
parentbecc9e4b8c44c05272ed9693dd3a16c3fd77cecf
iommu/vt-d: Per PCI device pasid table interfaces

This patch adds the interfaces for per PCI device pasid
table management. Currently we allocate one pasid table
for all PCI devices under the scope of an IOMMU. It's
insecure in some cases where multiple devices under one
single IOMMU unit support PASID features. With per PCI
device pasid table, we can achieve finer protection and
isolation granularity.

Cc: Ashok Raj <ashok.raj@intel.com>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
Cc: Kevin Tian <kevin.tian@intel.com>
Cc: Liu Yi L <yi.l.liu@intel.com>
Suggested-by: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Liu Yi L <yi.l.liu@intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c
drivers/iommu/intel-pasid.c
drivers/iommu/intel-pasid.h
drivers/iommu/intel-svm.c
include/linux/intel-iommu.h