OSDN Git Service

iommu/vt-d: Add second level page table interface
authorLu Baolu <baolu.lu@linux.intel.com>
Mon, 10 Dec 2018 01:59:00 +0000 (09:59 +0800)
committerJoerg Roedel <jroedel@suse.de>
Tue, 11 Dec 2018 09:45:58 +0000 (10:45 +0100)
commit6f7db75e1c469057fe7588ed959328ead771ccc7
treeb52cb801724f388b5881423963c1f7055ecb174d
parent3b33d4ab3217337f648f7ff3e57e755e6444c748
iommu/vt-d: Add second level page table interface

This adds the interfaces to setup or tear down the structures
for second level page table translations. This includes types
of second level only translation and pass through.

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>
Reviewed-by: Ashok Raj <ashok.raj@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
include/linux/intel-iommu.h