[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJe_ZhePe7rTPc8wtSDP3qM6ptmt2udme6JdL15smejJgKJv5Q@mail.gmail.com>
Date: Sat, 2 Aug 2014 13:20:16 +0530
From: Jassi Brar <jaswinder.singh@...aro.org>
To: Mark Brown <broonie@...nel.org>
Cc: Devicetree List <devicetree@...r.kernel.org>,
lkml <linux-kernel@...r.kernel.org>,
"ks.giri@...sung.com" <ks.giri@...sung.com>,
Arnd Bergmann <arnd@...db.de>,
"ijc+devicetree@...lion.org.uk" <ijc+devicetree@...lion.org.uk>,
Mark Rutland <mark.rutland@....com>,
Rob Herring <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>,
Courtney Cavin <courtney.cavin@...ymobile.com>,
Matt Porter <mporter@...aro.org>,
Craig McGeachie <slapdau@...oo.com.au>,
LeyFoon Tan <lftan.linux@...il.com>,
Loic Pallardy <loic.pallardy@...com>,
"Anna, Suman" <s-anna@...com>,
Ashwin Chaugule <ashwin.chaugule@...aro.org>,
Bjorn Andersson <bjorn@...o.se>,
Patch Tracking <patches@...aro.org>,
Mollie Wu <mollie.wu@...aro.org>,
Tetsuya Takinishi <t.takinishi@...fujitsu.com>,
Kevin Hilman <khilman@...aro.org>,
Lee Jones <lee.jones@...aro.org>,
Andy Green <andy.green@...aro.org>
Subject: Re: [PATCHv10 2/4] mailbox: Introduce framework for mailbox
On 2 August 2014 00:07, Mark Brown <broonie@...nel.org> wrote:
> On Fri, Aug 01, 2014 at 06:01:36PM +0530, Jassi Brar wrote:
>> Introduce common framework for client/protocol drivers and
>> controller drivers of Inter-Processor-Communication (IPC).
>>
>> Client driver developers should have a look at
>> include/linux/mailbox_client.h to understand the part of
>> the API exposed to client drivers.
>> Similarly controller driver developers should have a look
>> at include/linux/mailbox_controller.h
>
> Reviewed-by: Mark Brown <broonie@...aro.org>
>
> One very minor thing:
>
>> + t = add_to_rbuf(chan, mssg);
>> + if (t < 0) {
>> + pr_err("Try increasing MBOX_TX_QUEUE_LEN\n");
>> + return t;
>> + }
>
> In this and the other error messages it's probably worth doing something
> like a dev_ print with the device in the mbox_controller - if there's
> more than one mailbox controller in the system it may well make
> someone's life easier to get a hint about which one is running into
> trouble. Similarly if there were some identification for the channels
> that might be useful to display that (perhaps add a name field people
> can initialize if they like in the struct?).
>
> This is clearly not a blocker for merge though.
>
OK will do.
Thanks,
Jassi
--
Linaro.org │ Open source software for ARM SoCs | Follow Linaro
http://facebook.com/pages/Linaro/155974581091106 -
http://twitter.com/#!/linaroorg - http://linaro.org/linaro-blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists