* DMA buffer synchronisation with ioremap()
@ 2006-07-31 13:10 Phil Nitschke
2006-08-01 19:51 ` Lee Revell
0 siblings, 1 reply; 2+ messages in thread
From: Phil Nitschke @ 2006-07-31 13:10 UTC (permalink / raw)
To: linuxppc-embedded
(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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: DMA buffer synchronisation with ioremap()
2006-07-31 13:10 DMA buffer synchronisation with ioremap() Phil Nitschke
@ 2006-08-01 19:51 ` Lee Revell
0 siblings, 0 replies; 2+ messages in thread
From: Lee Revell @ 2006-08-01 19:51 UTC (permalink / raw)
To: Phil.Nitschke; +Cc: linuxppc-embedded
On Mon, 2006-07-31 at 22:40 +0930, Phil Nitschke wrote:
> (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?
Maybe it's a better question for the linux-kernel list?
Lee
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-01 19:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-31 13:10 DMA buffer synchronisation with ioremap() Phil Nitschke
2006-08-01 19:51 ` Lee Revell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).