linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC] arm: DMA-API contiguous cacheable memory
Date: Tue, 19 May 2015 23:09:36 +0100	[thread overview]
Message-ID: <20150519220936.GL2067@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <CAE=W-e1qynowbccHpYntWwwZPZOMHAVXH=Yj3ukyr_X8WKwQJQ@mail.gmail.com>

On Wed, May 20, 2015 at 12:05:54AM +0200, Lorenzo Nava wrote:
> Maybe my interpretation of dma_alloc_coherent() is not correct, and
> the coherency can be managed using the dma_sync_single_for_* functions
> and it doesn't require hardware mechanism.

dma_sync_single_for_* are only for use with the streaming DMA API,
where you must have already mapped the buffer using one of the
dma_map_* functions.  Anything other than that is abusing the API.

-- 
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.

  reply	other threads:[~2015-05-19 22:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-18 20:56 [RFC] arm: DMA-API contiguous cacheable memory Lorenzo Nava
2015-05-19 16:34 ` Catalin Marinas
2015-05-19 22:05   ` Lorenzo Nava
2015-05-19 22:09     ` Russell King - ARM Linux [this message]
2015-05-19 22:14     ` Arnd Bergmann
2015-05-19 22:27       ` Lorenzo Nava
2015-05-19 22:34       ` Russell King - ARM Linux
2015-05-20 12:57         ` Lorenzo Nava
2015-05-20 16:20           ` Russell King - ARM Linux
2015-05-20 21:49             ` Lorenzo Nava
2015-05-19 22:09   ` Lorenzo Nava

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=20150519220936.GL2067@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).