public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mahesh <maheshk@cdac.in>
To: David Miller <davem@davemloft.net>
Cc: linux-kernel@vger.kernel.org, kernelnewbies@nl.linux.org
Subject: Re: [HOWTO] accessing the DMA mapped data
Date: Thu, 10 May 2007 16:49:03 +0530	[thread overview]
Message-ID: <4642FFA7.4040303@cdac.in> (raw)
In-Reply-To: <20070510.014751.74749340.davem@davemloft.net>

Hi Miller,

Thanks for replying.
> You can eithe keep track of this yourself, or (depending upon
> your usage) you might be able to use DMA pools, see
> dma_pool_create() and friends.
>   
I think you have not understood my question properly. My problem is, the 
layer above the driver will do
dma_map_single on a kmalloc'ed buffer and passes the result  (bus 
address) to the device driver. Now
the driver has to modify the contents of the the original buffer.
Is it possible to do that ??

-regards,
Mahesh


  reply	other threads:[~2007-05-10 11:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-10  7:58 [HOWTO] accessing the DMA mapped data Mahesh
2007-05-10  8:47 ` David Miller
2007-05-10 11:19   ` Mahesh [this message]
2007-05-10 11:32     ` David Miller
2007-05-10 11:41       ` Mahesh
2007-05-10 11:47         ` David Miller
2007-05-11 15:42           ` Muli Ben-Yehuda
2007-05-10 18:27         ` Roland Dreier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4642FFA7.4040303@cdac.in \
    --to=maheshk@cdac.in \
    --cc=davem@davemloft.net \
    --cc=kernelnewbies@nl.linux.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox