diff options
author | Tushar Dave <tushar.n.dave@oracle.com> | 2016-10-28 10:12:42 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-18 11:16:59 -0800 |
commit | 31f077dc7dffd4a444932a9fe7fe84d9c7b90b73 (patch) | |
tree | efe2f9f8e8a1cb91dca0a34ac2cc83ed5cee7805 /arch/sparc/include/asm | |
parent | f0248c1524fae654e9746e6843b9657fb3917387 (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/asm')
-rw-r--r-- | arch/sparc/include/asm/iommu_64.h | 2 |
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 { |