]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Allocate and free pasid table
authorLu Baolu <baolu.lu@linux.intel.com>
Sat, 14 Jul 2018 07:47:00 +0000 (15:47 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 20 Jul 2018 12:44:25 +0000 (14:44 +0200)
commit7cce8bc2ad1e53fdb3204a15f11bee9554e59166
tree212a2223687735a6042d01bb2dd104cd705aeeba
parent766308250ad1a37367efa5098086c3328e01ffe5
iommu/vt-d: Allocate and free pasid table

This patch allocates a PASID table for a PCI device at the time
when the dmar dev_info is attached to dev->archdata.iommu, and
free it in the opposite case.

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>
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