All of lore.kernel.org
 help / color / mirror / Atom feed
From: lee.jones@linaro.org (Lee Jones)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 3/6] mailbox: Add support for ST's Mailbox IP
Date: Thu, 30 Jul 2015 14:31:20 +0100	[thread overview]
Message-ID: <20150730133120.GA3208@x1> (raw)
In-Reply-To: <1438260522.25464.12.camel@tiscali.nl>

On Thu, 30 Jul 2015, Paul Bolle wrote:

> On do, 2015-07-30 at 12:45 +0100, Lee Jones wrote:
> > On Wed, 29 Jul 2015, Paul Bolle wrote:
> > > Besides, if I read sti_max_probe() correctly, without OF support
> > > loading
> > > this module won't accomplish much. So what would another way of
> > > autoloading this module buy you?
> > 
> > I think this line can be safely removed.
> 
> Looking at this patch a little more I notice there's no line reading
>      MODULE_DEVICE_TABLE(of, sti_mailbox_match);
> 
> The three mailbox drivers that currently support OF do have such a line.
> So "another way of autoloading" was rather sloppy as now I don't see how
> this driver, if build as a module, will get auto-loaded. Maybe there's
> an auto-loading mechanism that I'm not aware of here. Or perhaps auto
> -loading is not needed.
> 
> Similar question for patch 5/6 and the lack of a line reading
>     MODULE_DEVICE_TABLE(of, mbox_test_match);

Yes, both of those lines should be present.

FYW, I don't test these drivers as modules and have no desire to.  I
always build everything into a single kernel binary, so any feedback
regarding the module enabling code is appreciated.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

WARNING: multiple messages have this Message-ID (diff)
From: Lee Jones <lee.jones@linaro.org>
To: Paul Bolle <pebolle@tiscali.nl>
Cc: linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, kernel@stlinux.com,
	jassisinghbrar@gmail.com, devicetree@vger.kernel.org
Subject: Re: [PATCH v2 3/6] mailbox: Add support for ST's Mailbox IP
Date: Thu, 30 Jul 2015 14:31:20 +0100	[thread overview]
Message-ID: <20150730133120.GA3208@x1> (raw)
In-Reply-To: <1438260522.25464.12.camel@tiscali.nl>

On Thu, 30 Jul 2015, Paul Bolle wrote:

> On do, 2015-07-30 at 12:45 +0100, Lee Jones wrote:
> > On Wed, 29 Jul 2015, Paul Bolle wrote:
> > > Besides, if I read sti_max_probe() correctly, without OF support
> > > loading
> > > this module won't accomplish much. So what would another way of
> > > autoloading this module buy you?
> > 
> > I think this line can be safely removed.
> 
> Looking at this patch a little more I notice there's no line reading
>      MODULE_DEVICE_TABLE(of, sti_mailbox_match);
> 
> The three mailbox drivers that currently support OF do have such a line.
> So "another way of autoloading" was rather sloppy as now I don't see how
> this driver, if build as a module, will get auto-loaded. Maybe there's
> an auto-loading mechanism that I'm not aware of here. Or perhaps auto
> -loading is not needed.
> 
> Similar question for patch 5/6 and the lack of a line reading
>     MODULE_DEVICE_TABLE(of, mbox_test_match);

Yes, both of those lines should be present.

FYW, I don't test these drivers as modules and have no desire to.  I
always build everything into a single kernel binary, so any feedback
regarding the module enabling code is appreciated.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

  reply	other threads:[~2015-07-30 13:31 UTC|newest]

Thread overview: 89+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-27  9:44 [PATCH v2 0/6] Mailbox: Provide support STi based platforms Lee Jones
2015-07-27  9:44 ` Lee Jones
2015-07-27  9:44 ` Lee Jones
2015-07-27  9:44 ` [PATCH v2 1/6] mailbox: dt: Supply bindings for ST's Mailbox IP Lee Jones
2015-07-27  9:44   ` Lee Jones
2015-07-27  9:44 ` [PATCH v2 2/6] mailbox: dt-bindings: Add shared [driver <=> device tree] defines Lee Jones
2015-07-27  9:44   ` Lee Jones
2015-08-10  6:58   ` Jassi Brar
2015-08-10  6:58     ` Jassi Brar
2015-08-10  6:58     ` Jassi Brar
2015-08-10  8:24     ` Lee Jones
2015-08-10  8:24       ` Lee Jones
2015-08-10  8:47       ` Jassi Brar
2015-08-10  8:47         ` Jassi Brar
2015-08-10  8:47         ` Jassi Brar
2015-08-12  8:53         ` Lee Jones
2015-08-12  8:53           ` Lee Jones
2015-08-12 10:16           ` Jassi Brar
2015-08-12 10:16             ` Jassi Brar
2015-08-12 10:43             ` Lee Jones
2015-08-12 10:43               ` Lee Jones
2015-08-12 10:43               ` Lee Jones
2015-07-27  9:44 ` [PATCH v2 3/6] mailbox: Add support for ST's Mailbox IP Lee Jones
2015-07-27  9:44   ` Lee Jones
2015-07-28 22:06   ` Paul Bolle
2015-07-28 22:06     ` Paul Bolle
2015-07-30 11:45     ` Lee Jones
2015-07-30 11:45       ` Lee Jones
2015-07-30 12:48       ` Paul Bolle
2015-07-30 12:48         ` Paul Bolle
2015-07-30 12:48         ` Paul Bolle
2015-07-30 13:31         ` Lee Jones [this message]
2015-07-30 13:31           ` Lee Jones
2015-08-13 15:40   ` Jassi Brar
2015-08-13 15:40     ` Jassi Brar
2015-08-13 15:40     ` Jassi Brar
2015-08-14  6:33     ` Lee Jones
2015-08-14  6:33       ` Lee Jones
2015-08-14  6:33       ` Lee Jones
2015-08-14  7:39       ` Jassi Brar
2015-08-14  7:39         ` Jassi Brar
2015-08-14  7:39         ` Jassi Brar
2015-08-14 10:41         ` Lee Jones
2015-08-14 10:41           ` Lee Jones
2015-08-14 10:41           ` Lee Jones
2015-07-27  9:44 ` [PATCH v2 4/6] ARM: STi: stih407-family: Add nodes for Mailbox Lee Jones
2015-07-27  9:44   ` Lee Jones
2015-07-27  9:44 ` [PATCH v2 5/6] mailbox: Add generic mechanism for testing Mailbox Controllers Lee Jones
2015-07-27  9:44   ` Lee Jones
2015-07-27  9:44   ` Lee Jones
2015-08-10  6:45   ` Jassi Brar
2015-08-10  6:45     ` Jassi Brar
2015-08-10  6:45     ` Jassi Brar
2015-08-12 10:23     ` Lee Jones
2015-08-12 10:23       ` Lee Jones
2015-08-13  8:51       ` Jassi Brar
2015-08-13  8:51         ` Jassi Brar
2015-08-13  8:51         ` Jassi Brar
2015-08-13  9:19         ` Lee Jones
2015-08-13  9:19           ` Lee Jones
2015-08-13  9:19           ` Lee Jones
2015-08-13 10:01           ` Jassi Brar
2015-08-13 10:01             ` Jassi Brar
2015-08-13 10:01             ` Jassi Brar
2015-08-13 10:23             ` Lee Jones
2015-08-13 10:23               ` Lee Jones
2015-08-13 10:41               ` Jassi Brar
2015-08-13 10:41                 ` Jassi Brar
2015-08-13 10:41                 ` Jassi Brar
2015-08-13 11:00                 ` Lee Jones
2015-08-13 11:00                   ` Lee Jones
2015-08-13 11:10                   ` Jassi Brar
2015-08-13 11:10                     ` Jassi Brar
2015-08-13 11:10                     ` Jassi Brar
2015-08-13 11:40                     ` Lee Jones
2015-08-13 11:40                       ` Lee Jones
2015-08-13 12:47                       ` Jassi Brar
2015-08-13 12:47                         ` Jassi Brar
2015-08-13 12:47                         ` Jassi Brar
2015-08-13 13:07                         ` Lee Jones
2015-08-13 13:07                           ` Lee Jones
2015-08-13 13:07                           ` Lee Jones
2015-08-13 13:46                           ` Jassi Brar
2015-08-13 13:46                             ` Jassi Brar
2015-08-13 13:46                             ` Jassi Brar
2015-08-13 14:26                             ` Lee Jones
2015-08-13 14:26                               ` Lee Jones
2015-07-27  9:44 ` [PATCH v2 6/6] ARM: STi: DT: STiH407: Enable Mailbox testing facility Lee Jones
2015-07-27  9:44   ` Lee Jones

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=20150730133120.GA3208@x1 \
    --to=lee.jones@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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.