RapidIO Connections Newsletter - Summer 2005Member Connections:RapidIO® Technology and Linux by Matt Porter of MontaVista Software, Inc. RapidIO® technology has come of age yet its support for Linux has only been available for a short time. Even so, many silicon vendors are already planning to use Linux to validate their new parts, thus ensuring early support for Linux on emerging silicon. The combination of standards based RapidIO devices with Open Source Linux provides an ideal platform for new designs. Background Like many member companies, MontaVista Software has been very involved with the RapidIO standardization process for several years. MontaVista's strong supports for Carrier Grade Linux (CGL) solutions are a good match with the emergence of RapidIO as a solid telecom and communications technology. As silicon and OEM vendors committed to support RapidIO, MontaVista joined with a determination to enable RapidIO on Linux. Project
Subsystem
Enumeration and discovery is supported with a complete implementation of the recommended algorithm documented in Annex I of the RapidIO Interconnect Specification. Enumeration is performed by a single winning host, while all other endpoints perform passive discovery to catalog devices in the system. The device driver interface is defined to abstract all access to hardware that is required by a RapidIO device driver. Driver interfaces manage access to mailboxes, doorbells and transmission/reception of messages. An abstraction layer for endpoints and switches exists to separate common functionality from hardware specific operations. Such specific operations include switch specific routing table access and management of mailbox and doorbell queues. Finally, all of this support is integrated into the standard Linux Device Model (LDM). The LDM provides a standard interface to register devices and drivers with the kernel. Once all devices have been discovered by the RapidIO subsystem, they are registered as RapidIO devices with the LDM. A RapidIO driver then provides a table with vendor/device info specifying devices it should claim, and registered devices are then matched with the appropriate driver via the vendor/device info. Network Driver Future RapidIO support for Linux has only been available for a short time, however increasing interest from OEMs and silicon vendors has been very encouraging. Silicon vendors are already planning to use Linux to validate their new parts, thus ensuring early support for Linux on emerging silicon. The combination of standards based RapidIO devices with Open Source Linux provides an ideal platform for new designs—opening new opportunities. For more information, visit MontaVista’s web site at http://www.mvista.com/ |