public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: convert dma-mapping to asm-generic API
Date: Tue, 21 Dec 2010 12:53:17 +0100	[thread overview]
Message-ID: <201012211253.17914.arnd@arndb.de> (raw)
In-Reply-To: <20101221105946.GP28157@n2100.arm.linux.org.uk>

On Tuesday 21 December 2010 11:59:46 Russell King - ARM Linux wrote:
> From what I understand on OMAP, they need to control the device address,
> physical address and (sometimes) CPU virtual address that an IOMMU
> mapping is created for.  If they did add support for their IOMMUs to
> the DMA API, the DMA API will be buried beneath their IOMMU layer.
> 
> The OMAP devices with IOMMUs are hardly generic drivers in any case -
> they tend to be there for their on-board DSP stuff.

What you describe is certainly true for the DSP interfaces, since they
share data structures in memory between the ARM and DSP cores.

My understanding of OMAP (probably more limited than yours) is that they
have lots of those IOMMUs all over the place though, so it would just
be a matter of time before someone needs them for something else.

The obvious use case for an IOMMU is to extend the addressable memory
a device gets, which will come up when someone combines a Cortex-A15
core with more than 4GB of RAM and devices that only have a 32 bit
address bus.

	Arnd

      reply	other threads:[~2010-12-21 11:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-21 10:20 [PATCH 1/2] ARM: convert dma-mapping to asm-generic API Jamie Iles
2010-12-21 10:20 ` [PATCH 2/2] ARM: use cached memory in dma_alloc_coherent() if possible Jamie Iles
2010-12-21 10:30   ` Russell King - ARM Linux
2010-12-21 10:34     ` Jamie Iles
2010-12-21 11:11     ` Catalin Marinas
2010-12-21 11:22       ` Jamie Iles
2010-12-21 10:36 ` [PATCH 1/2] ARM: convert dma-mapping to asm-generic API Russell King - ARM Linux
2010-12-21 11:01   ` Jamie Iles
2010-12-21 16:04     ` Jamie Iles
2010-12-22  2:57     ` FUJITA Tomonori
2010-12-21 10:54 ` Arnd Bergmann
2010-12-21 10:59   ` Russell King - ARM Linux
2010-12-21 11:53     ` Arnd Bergmann [this message]

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=201012211253.17914.arnd@arndb.de \
    --to=arnd@arndb.de \
    --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