diff options
author | Lu Baolu | 2018-12-10 02:59:00 +0100 |
---|---|---|
committer | Joerg Roedel | 2018-12-11 10:45:58 +0100 |
commit | 6f7db75e1c469057fe7588ed959328ead771ccc7 (patch) | |
tree | b52cb801724f388b5881423963c1f7055ecb174d /drivers/iommu/intel-iommu.c | |
parent | iommu/vt-d: Reserve a domain id for FL and PT modes (diff) | |
download | kernel-qcow2-linux-6f7db75e1c469057fe7588ed959328ead771ccc7.tar.gz kernel-qcow2-linux-6f7db75e1c469057fe7588ed959328ead771ccc7.tar.xz kernel-qcow2-linux-6f7db75e1c469057fe7588ed959328ead771ccc7.zip |
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>
Diffstat (limited to 'drivers/iommu/intel-iommu.c')
-rw-r--r-- | drivers/iommu/intel-iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c index 9818aaf2d0f7..f2976a3f1d67 100644 --- a/drivers/iommu/intel-iommu.c +++ b/drivers/iommu/intel-iommu.c @@ -1210,7 +1210,7 @@ static void iommu_set_root_entry(struct intel_iommu *iommu) raw_spin_unlock_irqrestore(&iommu->register_lock, flag); } -static void iommu_flush_write_buffer(struct intel_iommu *iommu) +void iommu_flush_write_buffer(struct intel_iommu *iommu) { u32 val; unsigned long flag; |