aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorTushar Dave <tushar.n.dave@oracle.com>2016-10-28 13:12:42 -0400
committerDavid S. Miller <davem@davemloft.net>2016-11-18 14:16:59 -0500
commit31f077dc7dffd4a444932a9fe7fe84d9c7b90b73 (patch)
treeefe2f9f8e8a1cb91dca0a34ac2cc83ed5cee7805 /arch/sparc/include
parentf0248c1524fae654e9746e6843b9657fb3917387 (diff)
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')
-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 {
45struct atu { 45struct atu {
46 struct atu_ranges *ranges; 46 struct atu_ranges *ranges;
47 struct atu_iotsb *iotsb; 47 struct atu_iotsb *iotsb;
48 struct iommu_map_table tbl;
48 u64 base; 49 u64 base;
49 u64 size; 50 u64 size;
51 u64 dma_addr_mask;
50}; 52};
51 53
52struct iommu { 54struct iommu {