devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jassi Brar <jaswinder.singh@linaro.org>
To: Mark Brown <broonie@kernel.org>
Cc: Devicetree List <devicetree@vger.kernel.org>,
	lkml <linux-kernel@vger.kernel.org>,
	"ks.giri@samsung.com" <ks.giri@samsung.com>,
	Arnd Bergmann <arnd@arndb.de>,
	"ijc+devicetree@hellion.org.uk" <ijc+devicetree@hellion.org.uk>,
	Mark Rutland <mark.rutland@arm.com>,
	Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
	Courtney Cavin <courtney.cavin@sonymobile.com>,
	Matt Porter <mporter@linaro.org>,
	Craig McGeachie <slapdau@yahoo.com.au>,
	LeyFoon Tan <lftan.linux@gmail.com>,
	Loic Pallardy <loic.pallardy@st.com>,
	"Anna, Suman" <s-anna@ti.com>,
	Ashwin Chaugule <ashwin.chaugule@linaro.org>,
	Bjorn Andersson <bjorn@kryo.se>,
	Patch Tracking <patches@linaro.org>,
	Mollie Wu <mollie.wu@linaro.org>,
	Tetsuya Takinishi <t.takinishi@jp.fujitsu.com>,
	Kevin Hilman <khilman@linaro.org>,
	Lee Jones <lee.jones@linaro.org>,
	Andy Green <andy.green@linaro.org>
Subject: Re: [PATCHv10 2/4] mailbox: Introduce framework for mailbox
Date: Sat, 2 Aug 2014 13:20:16 +0530	[thread overview]
Message-ID: <CAJe_ZhePe7rTPc8wtSDP3qM6ptmt2udme6JdL15smejJgKJv5Q@mail.gmail.com> (raw)
In-Reply-To: <20140801183748.GL30458@sirena.org.uk>

On 2 August 2014 00:07, Mark Brown <broonie@kernel.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@linaro.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

  reply	other threads:[~2014-08-02  7:50 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-01 12:29 [PATCHv10 0/4] Common Mailbox Framework Jassi Brar
     [not found] ` <1406896194-4667-1-git-send-email-jaswinder.singh-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-08-01 12:30   ` [PATCHv10 1/4] mailbox: rename pl320-ipc specific mailbox.h Jassi Brar
2014-08-01 18:27     ` Mark Brown
2014-08-01 12:31   ` [PATCHv10 2/4] mailbox: Introduce framework for mailbox Jassi Brar
     [not found]     ` <1406896296-4863-1-git-send-email-jaswinder.singh-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-08-01 18:37       ` Mark Brown
2014-08-02  7:50         ` Jassi Brar [this message]
2014-09-22 18:01       ` Ashwin Chaugule
     [not found]         ` <CAJ5Y-eZ5gNMQ2YRN4iS5QTU7qUrgxGdTHXhQZ_2ut4iBsEZHGg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-09-22 18:15           ` Sudeep Holla
     [not found]             ` <5420675C.6040805-5wv7dgnIgG8@public.gmane.org>
2014-09-22 18:33               ` Sudeep Holla
     [not found]                 ` <54206B7C.60501-5wv7dgnIgG8@public.gmane.org>
2014-09-24 16:14                   ` Ashwin Chaugule
     [not found]                     ` <CAJ5Y-ea7e1LCym49jGen-eXuw6tWOzTi3Rrd_K-4ZcZUwkv_jg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-09-26  0:57                       ` Jassi Brar
     [not found]                         ` <CAJe_ZhdxZwrBsvRt7X0KN2+vnQVRDAJdUGOyNgq2rynwmsur9A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-09-26 15:43                           ` Ashwin Chaugule
2014-08-01 18:26   ` [PATCHv10 0/4] Common Mailbox Framework Mark Brown
     [not found]     ` <20140801182656.GJ30458-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2014-08-02  7:48       ` Jassi Brar
     [not found]         ` <CAJe_ZhcmEUDD3+xC2mBFnBm7uiMhibtHhBOMxVBhy700BTvYsA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-09-09 16:23           ` Suman Anna
     [not found]             ` <540F299A.6030906-l0cyMroinI0@public.gmane.org>
2014-09-09 16:57               ` Mark Brown
2014-08-01 12:32 ` [PATCHv10 3/4] doc: add documentation for mailbox framework Jassi Brar
2014-08-01 12:32 ` [PATCHv10 4/4] dt: mailbox: add generic bindings Jassi Brar
     [not found]   ` <1406896365-4971-1-git-send-email-jaswinder.singh-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-08-01 18:43     ` Mark Brown
2014-08-02  7:47       ` Jassi Brar
2014-08-04 14:40         ` Mark Brown

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=CAJe_ZhePe7rTPc8wtSDP3qM6ptmt2udme6JdL15smejJgKJv5Q@mail.gmail.com \
    --to=jaswinder.singh@linaro.org \
    --cc=andy.green@linaro.org \
    --cc=arnd@arndb.de \
    --cc=ashwin.chaugule@linaro.org \
    --cc=bjorn@kryo.se \
    --cc=broonie@kernel.org \
    --cc=courtney.cavin@sonymobile.com \
    --cc=devicetree@vger.kernel.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=khilman@linaro.org \
    --cc=ks.giri@samsung.com \
    --cc=lee.jones@linaro.org \
    --cc=lftan.linux@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=loic.pallardy@st.com \
    --cc=mark.rutland@arm.com \
    --cc=mollie.wu@linaro.org \
    --cc=mporter@linaro.org \
    --cc=patches@linaro.org \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=s-anna@ti.com \
    --cc=slapdau@yahoo.com.au \
    --cc=t.takinishi@jp.fujitsu.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 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).