]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rapidio: add inbound memory mapping interface
authorAlexandre Bounine <alexandre.bounine@idt.com>
Fri, 28 Sep 2012 00:22:20 +0000 (10:22 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 3 Oct 2012 06:51:02 +0000 (16:51 +1000)
commit74c1166700e4a02b2010a81c1212d2aad41647ab
tree725e758e5531fa25c26341fdfc5086dfc28b9f08
parenta4ae7ff00d5849de807d228903f7c7cd86d6010c
rapidio: add inbound memory mapping interface

Add common inbound memory mapping/unmapping interface. This allows to make
local memory space accessible from the RapidIO side using hardware mapping
capabilities of RapidIO bridging devices. The new interface is intended to
enable data transfers between RapidIO devices in combination with DMA engine
support.

This patch is based on patch submitted by Li Yang <leoli@freescale.com>
(https://lists.ozlabs.org/pipermail/linuxppc-dev/2009-April/071210.html)

Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Li Yang <leoli@freescale.com>
Cc: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rapidio/rio.c
include/linux/rio.h
include/linux/rio_drv.h