All of lore.kernel.org
 help / color / mirror / Atom feed
From: Deepak Saxena <dsaxena@plexity.net>
To: linux-kernel@vger.kernel.org
Subject: dma_is_consistent() is nonsensical...
Date: Thu, 17 Nov 2005 10:47:45 -0800	[thread overview]
Message-ID: <20051117184745.GA23776@plexity.net> (raw)


Working on adding support for cache-coherent operation to ARM and 
wondering exactly what this API is supposed to do. From the name it
is obviously supposed to tell the caller (only one in the kernel...
drivers/scsi/53c700.c) whether the provided dma_handle is cache-coherent
or not.  In the case of multiple DMA domains where certain devices
are on snooping interfaces and others are not we really want to know what
device the DMA address is on so can we add a struct device* ptr to this 
function? Or can we just kill it since nobody is actually using it? 
Calling dma_alloc_coherent should always return coherent/consistent 
(why the different naming conventions too?) so I don't really see a real 
use case. 

~Deepak

-- 
Deepak Saxena - dsaxena@plexity.net - http://www.plexity.net

"To question your government is not unpatriotic - to not question your
 government is unpatriotic." -  Senator Chuck Hagel (R-NE) - Nov 15, 2005

             reply	other threads:[~2005-11-17 18:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-17 18:47 Deepak Saxena [this message]
2005-11-17 19:52 ` dma_is_consistent() is nonsensical Krzysztof Halasa

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=20051117184745.GA23776@plexity.net \
    --to=dsaxena@plexity.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.