[PATCH 0/2] rapidio: add inbound memory mapping API

From: Alexandre Bounine
Date: Tue Sep 18 2012 - 09:38:25 EST


Add RapidIO subsystem interface to support mapping of RapidIO memory space into
system's local memory.

RapidIO specification defines memory mapped read (NREAD) and write (NWRITE,
NWRITE_R and SWRITE) requests that allow to access memory space on remote target
device. Existing RapidIO controllers/bridges provide hardware mechanism
to map addresses on RapidIO side into system's local memory. Patches provided in
this package define common interface that has to be supported by RIO master port
devices and hardware dependent implementation for IDT Tsi721 PCIe-to-SRIO bridge.

These patches are based on the work submitted by Li Yang <leoli@xxxxxxxxxxxxx>
(https://lists.ozlabs.org/pipermail/linuxppc-dev/2009-April/071210.html) but
implement only the inbound mapping portion of it.

Combined with RapidIO DMA engine interface support these patches allow to perform
memory mapped data transfers between devices connected to a RapidIO network.

Cc: Matt Porter <mporter@xxxxxxxxxxxxxxxxxxx>
Cc: Li Yang <leoli@xxxxxxxxxxxxx>
Cc: Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx>
---
Alexandre Bounine (2):
rapidio: add inbound memory mapping interface
rapidio/tsi721: add inbound memory mapping callbacks

drivers/rapidio/devices/tsi721.c | 88 +++++++++++++++++++++++++++++++++++++-
drivers/rapidio/devices/tsi721.h | 15 +++++-
drivers/rapidio/rio.c | 44 +++++++++++++++++++
include/linux/rio.h | 5 ++
include/linux/rio_drv.h | 5 ++
5 files changed, 153 insertions(+), 4 deletions(-)

--
1.7.8.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/