linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>
To: linux-sh@vger.kernel.org
Subject: [PATCH 0/2] dmaengine: rcar-dmac: add iommu support for slave transfers
Date: Mon, 11 Jan 2016 02:17:45 +0000	[thread overview]
Message-ID: <1452478667-30966-1-git-send-email-niklas.soderlund+renesas@ragnatech.se> (raw)

Hi,

In this series I add iommu support to rcar-damc. It is tested on on the
lager board. It is tested by enabling CONFIG_IPMMU_VMSA and enable the
ipmmu_ds node in r8a7790.dtsi. Once booted try using dma with a device
behind the iommu, I used the mmc at /dev/mmcblk1.

* Changes since RFC
- Switch to use the dma-mapping api instead of using the iommu_map()
  directly. Turns out the dma-mapper is much smarter then me...
- Dropped the patch to expose domain->ops->pgsize_bitmap from within the
  iommu api.
- Dropped the patch showing how I tested the RFC.


Niklas Söderlund (2):
  dmaengine: rcar-dmac: add iommu support for slave transfers
  ARM: dts: r8a7790: add iommus to dmac0 and dmac1

 arch/arm/boot/dts/r8a7790.dtsi | 30 ++++++++++++++++++++
 drivers/dma/sh/rcar-dmac.c     | 64 +++++++++++++++++++++++++++++++++++++++---
 2 files changed, 90 insertions(+), 4 deletions(-)

--
2.7.0


                 reply	other threads:[~2016-01-11  2:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1452478667-30966-1-git-send-email-niklas.soderlund+renesas@ragnatech.se \
    --to=niklas.soderlund+renesas@ragnatech.se \
    --cc=linux-sh@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;
as well as URLs for NNTP newsgroup(s).