diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2018-07-14 09:47:00 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2018-07-20 14:44:25 +0200 |
commit | a7fc93fed94b173e2f9815d50f4024161b0a39ae (patch) | |
tree | 212a2223687735a6042d01bb2dd104cd705aeeba /drivers/iommu/ipmmu-vmsa.c | |
parent | iommu/vt-d: Per PCI device pasid table interfaces (diff) | |
download | linux-a7fc93fed94b173e2f9815d50f4024161b0a39ae.tar.xz linux-a7fc93fed94b173e2f9815d50f4024161b0a39ae.zip |
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>
Diffstat (limited to 'drivers/iommu/ipmmu-vmsa.c')
0 files changed, 0 insertions, 0 deletions