powerpc/dma: implement new dma_*map*_attrs() interfaces
Update powerpc to use the new dma_*map*_attrs() interfaces. In doing so update struct dma_mapping_ops to accept a struct dma_attrs and propagate these changes through to all users of the code (generic IOMMU and the 64bit DMA code, and the iseries and ps3 platform code). The old dma_*map_*() interfaces are reimplemented as calls to the corresponding new interfaces. Signed-off-by:Mark Nelson <markn@au1.ibm.com> Signed-off-by:
Arnd Bergmann <arnd@arndb.de> Acked-by:
Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by:
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Showing
- arch/powerpc/Kconfig 1 addition, 0 deletionsarch/powerpc/Kconfig
- arch/powerpc/kernel/dma_64.c 22 additions, 12 deletionsarch/powerpc/kernel/dma_64.c
- arch/powerpc/kernel/ibmebus.c 8 additions, 4 deletionsarch/powerpc/kernel/ibmebus.c
- arch/powerpc/kernel/iommu.c 7 additions, 4 deletionsarch/powerpc/kernel/iommu.c
- arch/powerpc/platforms/iseries/iommu.c 2 additions, 2 deletionsarch/powerpc/platforms/iseries/iommu.c
- arch/powerpc/platforms/ps3/system-bus.c 10 additions, 7 deletionsarch/powerpc/platforms/ps3/system-bus.c
- include/asm-powerpc/dma-mapping.h 86 additions, 30 deletionsinclude/asm-powerpc/dma-mapping.h
- include/asm-powerpc/iommu.h 8 additions, 4 deletionsinclude/asm-powerpc/iommu.h
Loading
Please register or sign in to comment