summaryrefslogtreecommitdiff
path: root/drivers/iommu/riscv/iommu.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iommu/riscv/iommu.h')
-rw-r--r--drivers/iommu/riscv/iommu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/iommu/riscv/iommu.h b/drivers/iommu/riscv/iommu.h
index 700e33dc2446..f1696926582c 100644
--- a/drivers/iommu/riscv/iommu.h
+++ b/drivers/iommu/riscv/iommu.h
@@ -34,6 +34,11 @@ struct riscv_iommu_device {
/* available interrupt numbers, MSI or WSI */
unsigned int irqs[RISCV_IOMMU_INTR_COUNT];
unsigned int irqs_count;
+
+ /* device directory */
+ unsigned int ddt_mode;
+ dma_addr_t ddt_phys;
+ u64 *ddt_root;
};
int riscv_iommu_init(struct riscv_iommu_device *iommu);