Benjamin Herrenschmidt wrote: > On Fri, 2008-07-04 at 21:05 +0200, [EMAIL PROTECTED] wrote: >> plain text document attachment >> (0007-powerpc-dma-implement-new-dma_-map-_attrs-interfa.patch) >> 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. > > Geoff, I think the PS3 bits in this patch are ok but I'd like > you to double-check and send your ack if you think they are.
I tested on PS3 with ps3_defconfig, and it works OK. Acked-by: Geoff Levand <[EMAIL PROTECTED]> >> Signed-off-by: Mark Nelson <[EMAIL PROTECTED]> >> Signed-off-by: Arnd Bergmann <[EMAIL PROTECTED]> >> --- >> arch/powerpc/Kconfig | 1 + >> arch/powerpc/kernel/dma_64.c | 34 ++++++--- >> arch/powerpc/kernel/ibmebus.c | 12 ++- >> arch/powerpc/kernel/iommu.c | 11 ++- >> arch/powerpc/platforms/iseries/iommu.c | 4 +- >> arch/powerpc/platforms/ps3/system-bus.c | 17 +++-- >> include/asm-powerpc/dma-mapping.h | 116 >> +++++++++++++++++++++++-------- >> include/asm-powerpc/iommu.h | 12 ++- >> 8 files changed, 144 insertions(+), 63 deletions(-) _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev