[PATCH 1/3] powerpc/iommu: Remove dma_data union

2015-06-23 Thread Benjamin Herrenschmidt
To support hybrid DMA ops in a subsequent patch, we will need both a direct DMA offset and an iommu pointer. Those are currently exclusive (a union), so change them to be separate fields. While there, also type iommu_table_base properly and make exist only on CONFIG_PPC64 since it's not

[PATCH 1/3] powerpc/iommu: Remove dma_data union

2015-06-21 Thread Benjamin Herrenschmidt
To support hybrid DMA ops in a subsequent patch, we will need both a direct DMA offset and an iommu pointer. Those are currently exclusive (a union), so change them to be separate fields. While there, also type iommu_table_base properly and make exist only on CONFIG_PPC64 since it's not