LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandre Bounine <alexandre.bounine@idt.com>
To: Andrew Morton <akpm@linux-foundation.org>,
	linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org
Cc: Alexandre Bounine <alexandre.bounine@idt.com>
Subject: [PATCH 0/2] rapidio: add inbound memory mapping API
Date: Tue, 18 Sep 2012 09:37:19 -0400	[thread overview]
Message-ID: <1347975441-6723-1-git-send-email-alexandre.bounine@idt.com> (raw)

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

             reply	other threads:[~2012-09-18 13:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-18 13:37 Alexandre Bounine [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1347975441-6723-1-git-send-email-alexandre.bounine@idt.com \
    --to=alexandre.bounine@idt.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox