sparc64: Initialize iommu_map_table and iommu_pool
authorTushar Dave <tushar.n.dave@oracle.com>
Fri, 28 Oct 2016 17:12:42 +0000 (10:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Nov 2016 19:16:59 +0000 (11:16 -0800)
commit31f077dc7dffd4a444932a9fe7fe84d9c7b90b73
treeefe2f9f8e8a1cb91dca0a34ac2cc83ed5cee7805
parentf0248c1524fae654e9746e6843b9657fb3917387
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>
arch/sparc/include/asm/iommu_64.h
arch/sparc/kernel/pci_sun4v.c