18 Oct 2010 09:44
[PATCH 0/3] Add OMAP hardware spinlock misc driver
Ohad Ben-Cohen <ohad <at> wizery.com>
2010-10-18 07:44:32 GMT
2010-10-18 07:44:32 GMT
OMAP4 introduces a Spinlock hardware module, which provides hardware assistance for synchronization and mutual exclusion between heterogeneous processors and those not operating under a single, shared operating system (e.g. OMAP4 has dual Cortex-A9, dual Cortex-M3 and a C64x+ DSP). The intention of this hardware module is to allow remote processors, that have no alternative mechanism to accomplish synchronization and mutual exclusion operations, to share resources (such as memory and/or any other hardware resource). This patchset adds a new misc driver for this OMAP hwspinlock module. Currently there are two users for this driver: 1. Inter-Processor Communications: on OMAP4, cpu-intensive multimedia tasks are offloaded by the host to the remote M3 and/or C64x+ slave processors. To achieve fast message-based communications, a minimal kernel support is needed to deliver messages arriving from a remote processor to the appropriate user process. This communication is based on simple data structures that are shared between the remote processors, and access to it is synchronized using the hwspinlock module (to allow the remote processor to directly place new messages in this shared data structure). This OMAP IPC system, called Syslink, is being actively developed by TI and will be gradually submitted upstream.(Continue reading)
>
> On Wed, Oct 20, 2010 at 1:53 AM, Kevin Hilman
> <khilman <at> deeprootsystems.com> wrote:
> > Rather than moving towards having more drivers have to be built in (and
> > depend on their probe order) we need to be moving towards building all
> > these drivers as modules, including omap-i2c.
>
> +1
-1. Like Ryan points out below, the problem isn't modules vs.
built-in, it is drivers depending on implicit init order which sort of
works, but is fragile and will break in subtle ways. It needs to work
RSS Feed