aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/intel-iommu.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/intel-iommu.h')
-rw-r--r--drivers/pci/intel-iommu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pci/intel-iommu.h b/drivers/pci/intel-iommu.h
index a81a74e2bd9e..2142c01e0143 100644
--- a/drivers/pci/intel-iommu.h
+++ b/drivers/pci/intel-iommu.h
@@ -123,6 +123,7 @@ static inline void dmar_writeq(void __iomem *addr, u64 val)
123#define ecap_qis(e) ((e) & 0x2) 123#define ecap_qis(e) ((e) & 0x2)
124#define ecap_eim_support(e) ((e >> 4) & 0x1) 124#define ecap_eim_support(e) ((e >> 4) & 0x1)
125#define ecap_ir_support(e) ((e >> 3) & 0x1) 125#define ecap_ir_support(e) ((e >> 3) & 0x1)
126#define ecap_max_handle_mask(e) ((e >> 20) & 0xf)
126 127
127 128
128/* IOTLB_REG */ 129/* IOTLB_REG */
@@ -255,6 +256,8 @@ struct q_inval {
255#define INTR_REMAP_PAGE_ORDER 8 256#define INTR_REMAP_PAGE_ORDER 8
256#define INTR_REMAP_TABLE_REG_SIZE 0xf 257#define INTR_REMAP_TABLE_REG_SIZE 0xf
257 258
259#define INTR_REMAP_TABLE_ENTRIES 65536
260
258struct ir_table { 261struct ir_table {
259 struct irte *base; 262 struct irte *base;
260}; 263};
@@ -300,4 +303,5 @@ extern void free_iommu(struct intel_iommu *iommu);
300extern int dmar_enable_qi(struct intel_iommu *iommu); 303extern int dmar_enable_qi(struct intel_iommu *iommu);
301extern void qi_global_iec(struct intel_iommu *iommu); 304extern void qi_global_iec(struct intel_iommu *iommu);
302 305
306extern void qi_submit_sync(struct qi_desc *desc, struct intel_iommu *iommu);
303#endif 307#endif