]> git.karo-electronics.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>
Fri, 5 Oct 2012 04:01:41 +0000 (14:01 +1000)
commit23db1912ea29c98519b04f10dd3856f1f391cf42
treedc2f124ab3184157a959bd129efadab2580befd5
parent0f482a0baa74d6a14abeae019d987fea1c18d38c
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