Linuxppc-embedded Digest, Vol 35, Issue 33

Scott Wood scottwood at
Tue Jul 17 02:09:09 EST 2007

Siva Prasad wrote:
> It returns kernel virtual address. If you use this buffer space for DMA,
> please use appropriate flags. You may use __pa(address) or
> virt_to_phys() to convert virtual to physical.

No, you may not -- physical and DMA addresses are not always identical. 
  Use the DMA mapping API.


More information about the Linuxppc-embedded mailing list