]> git.baikalelectronics.ru Git - kernel.git/commit
rapidio: add inbound memory mapping interface
authorAlexandre Bounine <alexandre.bounine@idt.com>
Fri, 5 Oct 2012 00:15:57 +0000 (17:15 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Oct 2012 18:05:21 +0000 (03:05 +0900)
commit598307fcb4cd9dc050f0d8861e3939c7cda4f51d
tree8ddfa8af4b15b463fb9f7f14f3e49b7f7d62248a
parent5bf77150bc87181a598277406aad1e6af6340539
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rapidio/rio.c
include/linux/rio.h
include/linux/rio_drv.h