summaryrefslogtreecommitdiff
path: root/arch/sparc/include/asm/iommu_64.h
diff options
context:
space:
mode:
authorTushar Dave <tushar.n.dave@oracle.com>2016-10-28 20:12:42 +0300
committerDavid S. Miller <davem@davemloft.net>2016-11-18 22:16:59 +0300
commit31f077dc7dffd4a444932a9fe7fe84d9c7b90b73 (patch)
treeefe2f9f8e8a1cb91dca0a34ac2cc83ed5cee7805 /arch/sparc/include/asm/iommu_64.h
parentf0248c1524fae654e9746e6843b9657fb3917387 (diff)
downloadlinux-31f077dc7dffd4a444932a9fe7fe84d9c7b90b73.tar.xz
sparc64: Initialize iommu_map_table and iommu_pool
Like legacy IOMMU, use common iommu_map_table and iommu_pool for ATU. This change initializes iommu_map_table and iommu_pool for ATU. Signed-off-by: Tushar Dave <tushar.n.dave@oracle.com> Reviewed-by: chris hyser <chris.hyser@oracle.com> Reviewed-by: Sowmini Varadhan <sowmini.varadhan@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/iommu_64.h')
-rw-r--r--arch/sparc/include/asm/iommu_64.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/iommu_64.h b/arch/sparc/include/asm/iommu_64.h
index 93daa5965b3d..f24f356f2503 100644
--- a/arch/sparc/include/asm/iommu_64.h
+++ b/arch/sparc/include/asm/iommu_64.h
@@ -45,8 +45,10 @@ struct atu_ranges {
struct atu {
struct atu_ranges *ranges;
struct atu_iotsb *iotsb;
+ struct iommu_map_table tbl;
u64 base;
u64 size;
+ u64 dma_addr_mask;
};
struct iommu {