Re: [RFC 1/6] mailbox: add core framework

2014-02-14 Thread Courtney Cavin
On Fri, Feb 14, 2014 at 08:48:25PM +0100, Arnd Bergmann wrote: > On Wednesday 12 February 2014, Courtney Cavin wrote: > > On Tue, Feb 11, 2014 at 09:35:01AM +0100, Arnd Bergmann wrote: > > > On Monday 10 February 2014 16:23:48 Courtney Cavin wrote: > > > Then again, I think that the context manage

Re: [RFC 1/6] mailbox: add core framework

2014-02-14 Thread Arnd Bergmann
On Wednesday 12 February 2014, Courtney Cavin wrote: > On Tue, Feb 11, 2014 at 09:35:01AM +0100, Arnd Bergmann wrote: > > On Monday 10 February 2014 16:23:48 Courtney Cavin wrote: > Then again, I think that the context management stuff is the exception as > well, > and I think that can/should als

Re: [RFC 1/6] mailbox: add core framework

2014-02-12 Thread Courtney Cavin
On Tue, Feb 11, 2014 at 09:35:01AM +0100, Arnd Bergmann wrote: > On Monday 10 February 2014 16:23:48 Courtney Cavin wrote: > > > While I'm not sure the dislike of notifiers entirely justifies not using > > them here, where they seem to make sense, I can understand that they > > might not fully imp

Re: [RFC 1/6] mailbox: add core framework

2014-02-11 Thread Arnd Bergmann
On Monday 10 February 2014 16:23:48 Courtney Cavin wrote: > While I'm not sure the dislike of notifiers entirely justifies not using > them here, where they seem to make sense, I can understand that they > might not fully implement what we need to expose. I think we need to look at a few more exa

Re: [RFC 1/6] mailbox: add core framework

2014-02-10 Thread Courtney Cavin
On Mon, Feb 10, 2014 at 09:45:07PM +0100, Rob Herring wrote: > On Mon, Feb 10, 2014 at 1:59 PM, Courtney Cavin > wrote: > > On Mon, Feb 10, 2014 at 08:09:34PM +0100, Josh Cartwright wrote: > >> On Mon, Feb 10, 2014 at 11:52:05AM -0600, Rob Herring wrote: > >> > On Mon, Feb 10, 2014 at 8:11 AM, Arn

Re: [RFC 1/6] mailbox: add core framework

2014-02-10 Thread Rob Herring
On Mon, Feb 10, 2014 at 1:59 PM, Courtney Cavin wrote: > On Mon, Feb 10, 2014 at 08:09:34PM +0100, Josh Cartwright wrote: >> On Mon, Feb 10, 2014 at 11:52:05AM -0600, Rob Herring wrote: >> > On Mon, Feb 10, 2014 at 8:11 AM, Arnd Bergmann wrote: >> > > On Friday 07 February 2014 16:50:14 Courtney

Re: [RFC 1/6] mailbox: add core framework

2014-02-10 Thread Courtney Cavin
On Mon, Feb 10, 2014 at 08:09:34PM +0100, Josh Cartwright wrote: > On Mon, Feb 10, 2014 at 11:52:05AM -0600, Rob Herring wrote: > > On Mon, Feb 10, 2014 at 8:11 AM, Arnd Bergmann wrote: > > > On Friday 07 February 2014 16:50:14 Courtney Cavin wrote: > [..] > > >> +int mbox_channel_notify(struct mb

Re: [RFC 1/6] mailbox: add core framework

2014-02-10 Thread Josh Cartwright
On Mon, Feb 10, 2014 at 11:52:05AM -0600, Rob Herring wrote: > On Mon, Feb 10, 2014 at 8:11 AM, Arnd Bergmann wrote: > > On Friday 07 February 2014 16:50:14 Courtney Cavin wrote: [..] > >> +int mbox_channel_notify(struct mbox_channel *chan, > >> + const void *data, unsigned int len) >

Re: [RFC 1/6] mailbox: add core framework

2014-02-10 Thread Rob Herring
On Mon, Feb 10, 2014 at 8:11 AM, Arnd Bergmann wrote: > On Friday 07 February 2014 16:50:14 Courtney Cavin wrote: >> The mailbox drivers are fragmented, and some implement their own core. >> Unify the drivers and implement common functionality in a framework. >> >> Signed-off-by: Courtney Cavin

Re: [RFC 1/6] mailbox: add core framework

2014-02-10 Thread Courtney Cavin
On Mon, Feb 10, 2014 at 03:11:00PM +0100, Arnd Bergmann wrote: > On Friday 07 February 2014 16:50:14 Courtney Cavin wrote: > > The mailbox drivers are fragmented, and some implement their own core. > > Unify the drivers and implement common functionality in a framework. > > > > Signed-off-by: Cour

Re: [RFC 1/6] mailbox: add core framework

2014-02-10 Thread Arnd Bergmann
On Friday 07 February 2014 16:50:14 Courtney Cavin wrote: > The mailbox drivers are fragmented, and some implement their own core. > Unify the drivers and implement common functionality in a framework. > > Signed-off-by: Courtney Cavin This seems pretty cool overall, great to see someone getting

[RFC 1/6] mailbox: add core framework

2014-02-07 Thread Courtney Cavin
The mailbox drivers are fragmented, and some implement their own core. Unify the drivers and implement common functionality in a framework. Signed-off-by: Courtney Cavin --- drivers/mailbox/Makefile | 1 + drivers/mailbox/core.c | 573 +++ include/