virt_to_phys() in drivers w/dma - MPC8xxx
Scott Wood
scottwood at freescale.com
Tue Aug 26 01:33:30 EST 2008
Russell McGuire wrote:
> So shouldn't we be using like dma_alloc_coherent, and then tracking the dma
> address separately as a variable, and use it when necessary instead of
> calling virt_to_phys()?
Yes. On 8xxx (but not 8xx, and not with 36-bit memory), there'll be no
practical difference, but the DMA mapping API *should* be used.
-Scott
More information about the Linuxppc-embedded
mailing list