linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] dmaengine: rcar-dmac: add iommu support for slave transfers
@ 2016-01-11  2:17 Niklas Söderlund
  0 siblings, 0 replies; only message in thread
From: Niklas Söderlund @ 2016-01-11  2:17 UTC (permalink / raw)
  To: linux-sh

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-01-11  2:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-11  2:17 [PATCH 0/2] dmaengine: rcar-dmac: add iommu support for slave transfers Niklas Söderlund

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).