[PATCH 0/7] rapidio: modularize rapidio subsystem

Alexandre Bounine alexandre.bounine at idt.com
Sat Jun 29 05:18:49 EST 2013


The following set of patches modifies kernel RapidIO subsystem to enable build
and use of its components as loadable kernel modules. Combinations of statically
linked and modular components are also supported.

For this release full RapidIO subsystem modularization is implemented for
x86-based platforms. For PowerPC platforms (mostly MPC85xx) RapidIO core and
the mport driver (fsl_rio.c) still have only statically linked build option
while other components (enumerator and switch drivers) can be built as kernel
modules. This is not a significant limitation for embedded PowerPC platforms
because they use on-chip RapidIO controllers. For PowerPC platforms that may use
an external PCIe RapidIO controller (e.g. Tsi721) an additional patch will be
provided later.

This set of patches is based on the current linux-next code tree that contains
previously submitted patches for modularized enumeration/discovery method.

Cc: Matt Porter <mporter at kernel.crashing.org>
Cc: Li Yang <leoli at freescale.com>
Cc: Kumar Gala <galak at kernel.crashing.org>
Cc: Andre van Herk <andre.van.herk at Prodrive.nl>
Cc: Micha Nelissen <micha.nelissen at Prodrive.nl>
Cc: Stef van Os <stef.van.os at Prodrive.nl>
Cc: Jean Delvare <jdelvare at suse.de>

Alexandre Bounine (7):
  rapidio: convert switch drivers to modules
  rapidio/rionet: rework driver initialization and removal
  rapidio: update enumerator registration mechanism
  rapidio/tsi721: convert to modular mport driver
  rapidio: add modular build option for the subsystem core
  rapidio: add udev notification
  rapidio: documentation update

 Documentation/rapidio/rapidio.txt   |   98 ++++++-
 Documentation/rapidio/sysfs.txt     |    1 +
 arch/x86/Kconfig                    |    4 +-
 drivers/net/rionet.c                |  103 ++++++--
 drivers/rapidio/Kconfig             |    5 +
 drivers/rapidio/Makefile            |    4 +-
 drivers/rapidio/devices/Kconfig     |    2 +-
 drivers/rapidio/devices/Makefile    |    7 +-
 drivers/rapidio/devices/tsi721.c    |    9 +-
 drivers/rapidio/rio-driver.c        |   18 ++
 drivers/rapidio/rio-scan.c          |  172 +------------
 drivers/rapidio/rio-sysfs.c         |   31 +--
 drivers/rapidio/rio.c               |  490 ++++++++++++++++++++++++++++-------
 drivers/rapidio/rio.h               |   44 +---
 drivers/rapidio/switches/Kconfig    |   12 +-
 drivers/rapidio/switches/idt_gen2.c |   98 ++++++--
 drivers/rapidio/switches/idtcps.c   |   86 +++++--
 drivers/rapidio/switches/tsi568.c   |   71 +++++-
 drivers/rapidio/switches/tsi57x.c   |   81 +++++-
 include/asm-generic/vmlinux.lds.h   |    7 -
 include/linux/mod_devicetable.h     |   19 ++
 include/linux/rio.h                 |   82 +++---
 include/linux/rio_ids.h             |    2 -
 scripts/mod/devicetable-offsets.c   |    6 +
 scripts/mod/file2alias.c            |   20 ++
 25 files changed, 998 insertions(+), 474 deletions(-)

-- 
1.7.8.4



More information about the Linuxppc-dev mailing list