mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Jassi Brar <jaswinder.singh@linaro.org>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	ks.giri@samsung.com, arnd@arndb.de,
	ijc+devicetree@hellion.org.uk, mark.rutland@arm.com,
	robh+dt@kernel.org, pawel.moll@arm.com,
	courtney.cavin@sonymobile.com, mporter@linaro.org,
	slapdau@yahoo.com.au, lftan.linux@gmail.com,
	loic.pallardy@st.com, s-anna@ti.com, ashwin.chaugule@linaro.org,
	bjorn@kryo.se, patches@linaro.org, mollie.wu@linaro.org,
	t.takinishi@jp.fujitsu.com, khilman@linaro.org,
	lee.jones@linaro.org, andy.green@linaro.org
Subject: Re: [PATCHv10 2/4] mailbox: Introduce framework for mailbox
Date: Fri, 1 Aug 2014 19:37:48 +0100	[thread overview]
Message-ID: <20140801183748.GL30458@sirena.org.uk> (raw)
In-Reply-To: <1406896296-4863-1-git-send-email-jaswinder.singh@linaro.org>

[-- Attachment #1: Type: text/plain, Size: 1163 bytes --]

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.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2014-08-01 18:38 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
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
2014-08-01 18:37   ` Mark Brown [this message]
2014-08-02  7:50     ` Jassi Brar
2014-09-22 18:01   ` Ashwin Chaugule
2014-09-22 18:15     ` Sudeep Holla
2014-09-22 18:33       ` Sudeep Holla
2014-09-24 16:14         ` Ashwin Chaugule
2014-09-26  0:57           ` Jassi Brar
2014-09-26 15:43             ` Ashwin Chaugule
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
2014-08-01 18:43   ` Mark Brown
2014-08-02  7:47     ` Jassi Brar
2014-08-04 14:40       ` Mark Brown
2014-08-01 18:26 ` [PATCHv10 0/4] Common Mailbox Framework Mark Brown
2014-08-02  7:48   ` Jassi Brar
2014-09-09 16:23     ` Suman Anna
2014-09-09 16:57       ` 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=20140801183748.GL30458@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=andy.green@linaro.org \
    --cc=arnd@arndb.de \
    --cc=ashwin.chaugule@linaro.org \
    --cc=bjorn@kryo.se \
    --cc=courtney.cavin@sonymobile.com \
    --cc=devicetree@vger.kernel.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=jaswinder.singh@linaro.org \
    --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

Powered by JetHome