Thread (19 messages) 19 messages, 8 authors, 2011-02-16

Re: [RFC] Inter-processor Mailboxes Drivers

flat view

From: Jamie Iles <hidden>
Date: 2011-02-14 10:01:04
Also in: linux-arm-kernel

On Fri, Feb 11, 2011 at 03:19:51PM -0600, Meador Inge wrote:
    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.
How about using virtio for all of this and having the mailbox as a 
notification/message passing driver for the virtio backend?  There are 
already virtio console and network drivers that could be useful for the 
userspace part of it.  drivers/virtio/virtio_ring.c might be a good 
starting point if you thought there was some mileage in this approach.

Jamie
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help