diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2018-12-10 09:59:03 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2018-12-11 10:45:59 +0100 |
commit | 7373a8cc381978cfafa4b0285cdd935682f1b2d2 (patch) | |
tree | a512068b7da371039d0e7911924bde64c1ec3b62 /include/linux/intel-iommu.h | |
parent | ca6e322d60498087a160fad1c4ea8765ff2d21e7 (diff) | |
download | linux-7373a8cc381978cfafa4b0285cdd935682f1b2d2.tar.gz linux-7373a8cc381978cfafa4b0285cdd935682f1b2d2.tar.bz2 linux-7373a8cc381978cfafa4b0285cdd935682f1b2d2.zip |
iommu/vt-d: Setup context and enable RID2PASID support
This patch enables the translation for requests without PASID in
the scalable mode by setting up the root and context entries.
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 'include/linux/intel-iommu.h')
-rw-r--r-- | include/linux/intel-iommu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/intel-iommu.h b/include/linux/intel-iommu.h index cb3ebda47fa7..5fdd33ed2cce 100644 --- a/include/linux/intel-iommu.h +++ b/include/linux/intel-iommu.h @@ -258,6 +258,7 @@ /* DMA_RTADDR_REG */ #define DMA_RTADDR_RTT (((u64)1) << 11) +#define DMA_RTADDR_SMT (((u64)1) << 10) /* CCMD_REG */ #define DMA_CCMD_ICC (((u64)1) << 63) |