linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Covert DMA address to Virtual address on Linux PPC
@ 2008-09-17 19:13 bhanu jampala
  0 siblings, 0 replies; only message in thread
From: bhanu jampala @ 2008-09-17 19:13 UTC (permalink / raw)
  To: linuxppc-embedded; +Cc: rmcguire, M. Warner Losh

[-- Attachment #1: Type: text/plain, Size: 602 bytes --]

Hi All,

How do I convert a DMA buffer address to its respective virtual address in
Linux PPC world?

I am not finding appropriate functions to do that?
How are people doing it on PPC platforms?

What I trying to do:
This is for MCC i.e. Buffer Desc and buffer are in main memory (DMA memory)
I have submitted some DMA buffer from a chunk of memory to Device.
Now at the end of successful receive, where I know the DMA address by
reading from the buffer Descriptors.
Now from this DMA address, how do I find out the Virtual address so that I
can perform a read on that buffer?

Regards,
Mukund Jampala

[-- Attachment #2: Type: text/html, Size: 671 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-17 19:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-17 19:13 Covert DMA address to Virtual address on Linux PPC bhanu jampala

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).