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 <le...@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 <mpor...@kernel.crashing.org> Cc: Li Yang <le...@freescale.com> Cc: Kumar Gala <ga...@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 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev