LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] rapidio: add inbound memory mapping API
@ 2012-09-18 13:37 Alexandre Bounine
  2012-09-18 13:37 ` [PATCH 1/2] rapidio: add inbound memory mapping interface Alexandre Bounine
  2012-09-18 13:37 ` [PATCH 2/2] rapidio/tsi721: add inbound memory mapping callbacks Alexandre Bounine
  0 siblings, 2 replies; 3+ messages in thread
From: Alexandre Bounine @ 2012-09-18 13:37 UTC (permalink / raw)
  To: Andrew Morton, linux-kernel, linuxppc-dev; +Cc: Alexandre Bounine

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@freescale.com>
(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@kernel.crashing.org>
Cc: Li Yang <leoli@freescale.com>
Cc: Kumar Gala <galak@kernel.crashing.org>
---
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-18 13:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-18 13:37 [PATCH 0/2] rapidio: add inbound memory mapping API Alexandre Bounine
2012-09-18 13:37 ` [PATCH 1/2] rapidio: add inbound memory mapping interface Alexandre Bounine
2012-09-18 13:37 ` [PATCH 2/2] rapidio/tsi721: add inbound memory mapping callbacks Alexandre Bounine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox