Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755785Ab3DXOny (ORCPT ); Wed, 24 Apr 2013 10:43:54 -0400 Received: from mxout1.idt.com ([157.165.5.25]:49864 "EHLO mxout1.idt.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753491Ab3DXOnx (ORCPT ); Wed, 24 Apr 2013 10:43:53 -0400 X-Greylist: delayed 571 seconds by postgrey-1.27 at vger.kernel.org; Wed, 24 Apr 2013 10:43:53 EDT From: Alexandre Bounine To: Andrew Morton , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Cc: Alexandre Bounine , Matt Porter , Li Yang , Kumar Gala , Andre van Herk , Micha Nelissen Subject: [PATCH 0/3] rapidio: changes to enumeration/discovery Date: Wed, 24 Apr 2013 10:31:56 -0400 Message-Id: <1366813919-13766-1-git-send-email-alexandre.bounine@idt.com> X-Mailer: git-send-email 1.7.8.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3015 Lines: 64 Systems that use RapidIO fabric may need to implement their own enumeration and discovery methods which are better suitable for needs of a target application. The following set of patches is intended to simplify process of introduction of new RapidIO fabric enumeration/discovery methods. The first patch offers ability to add new RapidIO enumeration/discovery methods using kernel configuration options or loadable modules. The new configuration option mechanism allows to select built-in or modular enumeration/discovery method from the list of existing methods or use external module(s). This patch also updates the currently existing enumeration/discovery code to be used as built-in or modular method. The corresponding configuration option is named "Basic enumeration/discovery" method. This is the only one built-in configuration option available today but new methods are expected to be introduced after adoption of provided patches. The second patch address a long time complaint of RapidIO subsystem users regarding fabric enumeration/discovery start sequence. Existing implementation offers only a boot-time enumeration/discovery start which requires synchronized boot of all endpoints in RapidIO network. While it works for small closed configurations with limited number of endpoints, using this approach in systems with large number of endpoints is quite challenging. To eliminate requirement for synchronized start the second patch introduces RapidIO enumeration/discovery start from user space. For compatibility with the existing RapidIO subsystem implementation, automatic boot time enumeration/discovery start can be configured in by selecting CONFIG_RAPIDIO_ENUM_AUTO option. Cc: Matt Porter Cc: Li Yang Cc: Kumar Gala Cc: Andre van Herk Cc: Micha Nelissen Alexandre Bounine (3): rapidio: make enumeration/discovery configurable rapidio: add enumeration/discovery start from user space rapidio: documentation update for enumeration changes Documentation/rapidio/rapidio.txt | 137 ++++++++++++++++++++-- Documentation/rapidio/sysfs.txt | 17 +++ drivers/rapidio/Kconfig | 28 +++++ drivers/rapidio/Makefile | 3 +- drivers/rapidio/rio-driver.c | 8 ++ drivers/rapidio/rio-scan.c | 195 ++++++++++-------------------- drivers/rapidio/rio-sysfs.c | 45 +++++++ drivers/rapidio/rio.c | 234 ++++++++++++++++++++++++++++++++++++- drivers/rapidio/rio.h | 12 ++- include/linux/rio.h | 17 +++ include/linux/rio_drv.h | 1 + 11 files changed, 548 insertions(+), 149 deletions(-) -- 1.7.8.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/