From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by ozlabs.org (Postfix) with ESMTP id BB771DDF2B for ; Wed, 17 Sep 2008 07:37:44 +1000 (EST) Received: by gxk14 with SMTP id 14so26427876gxk.9 for ; Tue, 16 Sep 2008 14:37:43 -0700 (PDT) Message-ID: <4a21eaea0809161437y2d3ba52et3803831828a62e4d@mail.gmail.com> Date: Tue, 16 Sep 2008 15:37:43 -0600 From: "bhanu jampala" To: linuxppc-embedded@ozlabs.org Subject: dma_to_virt() on PPC? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_95433_4516433.1221601063150" List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , ------=_Part_95433_4516433.1221601063150 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi All, How do I convert a DMA buffer to virtual address on Linux PPC? I know there is some thing like dma_to_virt(), but I don't think if there is one for PPC. In this scenario where I have submitted some dma buffer form a chunk of memory to Device. Now at the end of successful receive, how do I convert it back to Virtual address? Any pointers? Regards, Mukund Jampala ------=_Part_95433_4516433.1221601063150 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi All,

How do I convert a DMA buffer to virtual address on Linux PPC?

I know there is some thing like dma_to_virt(), but I don't think if there is one for PPC.
In this scenario where I have submitted some dma buffer form a chunk of memory to Device.
Now at the end of successful receive, how do I convert it back to Virtual address?
Any pointers?

Regards,
Mukund Jampala



------=_Part_95433_4516433.1221601063150--