linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [RFC] Inter-processor Mailboxes Drivers
@ 2011-02-11 21:19 Meador Inge
  2011-02-12  6:28 ` Sundar
                   ` (3 more replies)
  0 siblings, 4 replies; 19+ messages in thread
From: Meador Inge @ 2011-02-11 21:19 UTC (permalink / raw)
  To: linuxppc-dev, linux-arm-kernel
  Cc: openmcapi-dev, Blanchard, Hollis, Hiroshi DOYU

Hi All,

I am currently working on building AMP systems using OpenMCAPI
(https://bitbucket.org/hollisb/openmcapi/wiki/Home) as the
inter-processor communication mechanism.  With OpenMCAPI we, of course,
need a way to send messages to various cores.  On some Freescale PPC
platforms (e.g. P1022DS, MPC8572DS), we have been using message
registers to do this work.  Recently, I was looking at the OMAP4
mailboxes to gear up for moving into ARM based platforms.

With that, I noticed 'arch/arm/plat-omap/mailbox.c'.  This is very
specific to the OMAP4 boards.  I am looking at designing a new set of
drivers to expose a mailbox service to userspace that will be used
for inter-processor communication.  This would entail the traditional
generic/specific driver split:

     1. Hardware specific bits somewhere under '.../arch/*'.  Drivers
        for the MPIC message registers on Power and OMAP4 mailboxes, for
        example.
     2. A higher level driver under '.../drivers/mailbox/*'.  That the
        pieces in (1) would register with.  This piece would expose the
        main kernel API.
     3. Userspace interfaces for accessing the mailboxes.  A
        '/dev/mailbox1', '/dev/mailbox2', etc... mapping, for example.

Now I have the following questions:

     1. Do others see value in this?
     2. Does something like this already exist?
     3. Is someone else already working on this?

Any feedback will be greatly appreciated.

-- 
Meador Inge     | meador_inge AT mentor.com
Mentor Embedded | http://www.mentor.com/embedded-software

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2011-02-16 21:54 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-11 21:19 [RFC] Inter-processor Mailboxes Drivers Meador Inge
2011-02-12  6:28 ` Sundar
2011-02-13 21:16   ` Linus Walleij
2011-02-14  7:32     ` Hiroshi DOYU
2011-02-14  8:39       ` Linus Walleij
2011-02-14  8:55         ` Hiroshi DOYU
2011-02-14  9:00           ` Linus Walleij
2011-02-14  9:06           ` Hiroshi DOYU
2011-02-13 21:24 ` Linus Walleij
2011-02-14 23:05   ` Blanchard, Hollis
2011-02-16 21:54     ` Linus Walleij
2011-02-14  7:21 ` Hiroshi DOYU
2011-02-14 10:01 ` Jamie Iles
2011-02-14 10:03   ` Ohad Ben-Cohen
2011-02-14 16:53     ` Ira W. Snyder
2011-02-15 21:58   ` Meador Inge
2011-02-15 23:38     ` Blanchard, Hollis
2011-02-16  6:22       ` Hiroshi DOYU
2011-02-16 20:22         ` [openmcapi-dev] " Blanchard, Hollis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).