iommu/vt-d: Return ID associated with an auxiliary domain
authorLu Baolu <baolu.lu@linux.intel.com>
Mon, 25 Mar 2019 01:30:33 +0000 (09:30 +0800)
committerJoerg Roedel <jroedel@suse.de>
Thu, 11 Apr 2019 15:15:48 +0000 (17:15 +0200)
commit0e8000f8f616df653d0d7fcc43fafae7e5b07c0b
tree9807f077bbfe7eb0ee9fdc2e7a71e1b1c007f650
parent67b8e02b5e76159a4f94f85bee370af1d9f442f9
iommu/vt-d: Return ID associated with an auxiliary domain

This adds support to return the default pasid associated with
an auxiliary domain. The PCI device which is bound with this
domain should use this value as the pasid for all DMA requests
of the subset of device which is isolated and protected with
this domain.

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