Files
android_kernel_xiaomi_sm8450/arch/powerpc/kernel
Becky Bruce 15e09c0eca powerpc: Add sync_*_for_* to dma_ops
We need to swap these out once we start using swiotlb, so add
them to dma_ops.  Create CONFIG_PPC_NEED_DMA_SYNC_OPS Kconfig
option; this is currently enabled automatically if we're
CONFIG_NOT_COHERENT_CACHE.  In the future, this will also
be enabled for builds that need swiotlb.  If PPC_NEED_DMA_SYNC_OPS
is not defined, the dma_sync_*_for_* ops compile to nothing.
Otherwise, they access the dma_ops pointers for the sync ops.

This patch also changes dma_sync_single_range_* to actually
sync the range - previously it was using a generous
dma_sync_single.  dma_sync_single_* is now implemented
as a dma_sync_single_range with an offset of 0.

Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-12-03 20:46:36 +11:00
..
2007-05-11 05:38:25 -04:00
2008-06-30 22:31:00 +10:00
2008-12-03 20:46:36 +11:00
2008-03-07 08:42:28 -06:00
2008-10-15 10:13:29 +11:00
2008-05-23 22:43:11 +02:00
2008-11-05 22:08:28 +11:00
2008-12-03 20:11:06 +11:00
2008-10-22 22:55:20 -07:00
2007-10-11 14:36:47 +10:00
2008-08-04 13:18:17 +10:00