DMA buffer synchronisation with ioremap()

Phil Nitschke Phil.Nitschke at avalon.com.au
Mon Jul 31 23:10:27 EST 2006


(I go no replies last week, so I'll try again, with less explanation...)

If I master a DMA from a PCI device into a main memory buffer allocated
with dma_alloc_noncoherent(), I need to synchronise the destination
buffer using dma_sync_single_range_for_xxx() before and after the DMA.

But if the buffer is a very large chunk of memory (reserved at boot
time) which has been ioremap()-ed into the virtual address space, do I
need to still synchronise that memory?

Thanks,

-- 
Phil




More information about the Linuxppc-embedded mailing list