All of lore.kernel.org
 help / color / mirror / Atom feed
From: Meador Inge <meador_inge@mentor.com>
To: Jamie Iles <jamie@jamieiles.com>
Cc: openmcapi-dev@googlegroups.com, "Blanchard,
	Hollis" <Hollis_Blanchard@mentor.com>,
	Hiroshi DOYU <Hiroshi.DOYU@nokia.com>,
	linuxppc-dev@lists.ozlabs.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [RFC] Inter-processor Mailboxes Drivers
Date: Tue, 15 Feb 2011 15:58:42 -0600	[thread overview]
Message-ID: <4D5AF712.3080509@mentor.com> (raw)
In-Reply-To: <20110214100104.GC4371@pulham.picochip.com>

On 02/14/2011 04:01 AM, Jamie Iles wrote:
> 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.

To be honest, I am not that familiar with 'virtio', but I will take a 
look.  Thanks for the pointer.  Maybe Hollis can speak to this idea more.

> Jamie
>


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

WARNING: multiple messages have this Message-ID (diff)
From: meador_inge@mentor.com (Meador Inge)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC] Inter-processor Mailboxes Drivers
Date: Tue, 15 Feb 2011 15:58:42 -0600	[thread overview]
Message-ID: <4D5AF712.3080509@mentor.com> (raw)
In-Reply-To: <20110214100104.GC4371@pulham.picochip.com>

On 02/14/2011 04:01 AM, Jamie Iles wrote:
> 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.

To be honest, I am not that familiar with 'virtio', but I will take a 
look.  Thanks for the pointer.  Maybe Hollis can speak to this idea more.

> Jamie
>


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

  parent reply	other threads:[~2011-02-15 21:58 UTC|newest]

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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D5AF712.3080509@mentor.com \
    --to=meador_inge@mentor.com \
    --cc=Hiroshi.DOYU@nokia.com \
    --cc=Hollis_Blanchard@mentor.com \
    --cc=jamie@jamieiles.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=openmcapi-dev@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.