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>
This commit is contained in:

committed by
David S. Miller

parent
f0248c1524
commit
31f077dc7d
@@ -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 {
|
||||
|
Reference in New Issue
Block a user