diff options
Diffstat (limited to 'kernel/include/linux/dma_remapping.h')
-rw-r--r-- | kernel/include/linux/dma_remapping.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/include/linux/dma_remapping.h b/kernel/include/linux/dma_remapping.h index 7ac17f572..187c10299 100644 --- a/kernel/include/linux/dma_remapping.h +++ b/kernel/include/linux/dma_remapping.h @@ -20,6 +20,14 @@ #define CONTEXT_TT_MULTI_LEVEL 0 #define CONTEXT_TT_DEV_IOTLB 1 #define CONTEXT_TT_PASS_THROUGH 2 +/* Extended context entry types */ +#define CONTEXT_TT_PT_PASID 4 +#define CONTEXT_TT_PT_PASID_DEV_IOTLB 5 +#define CONTEXT_TT_MASK (7ULL << 2) + +#define CONTEXT_DINVE (1ULL << 8) +#define CONTEXT_PRS (1ULL << 9) +#define CONTEXT_PASIDE (1ULL << 11) struct intel_iommu; struct dmar_domain; |