linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Run-time dependencies for STE Modem remoteproc driver
@ 2014-07-21 16:15 Jean Delvare
  2014-07-23 15:21 ` Linus Walleij
  0 siblings, 1 reply; 4+ messages in thread
From: Jean Delvare @ 2014-07-21 16:15 UTC (permalink / raw)
  To: LKML; +Cc: Dmitry Tarnyagin, Ohad Ben-Cohen, Linus Walleij, Sjur Brandeland

Hi all,

While other remoteproc drivers have proper platform dependencies set
(OMAP_REMOTEPROC depends on ARCH_OMAP4 || SOC_OMAP5, DA8XX_REMOTEPROC
depends on ARCH_DAVINCI_DA8XX), STE_MODEM_RPROC has no such
dependencies. So the driver is presented on all architectures and can
be enabled even on platforms where it makes no sense.

Could we please add run-time dependencies so that the driver can only
be selected where it makes sense? We can always add || COMPILE_TEST to
allow build-testing everywhere.

This brings the question: on which architectures / platforms is the STE
Modem remoteproc driver needed?

Thanks,
-- 
Jean Delvare
SUSE L3 Support

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Run-time dependencies for STE Modem remoteproc driver
  2014-07-21 16:15 Run-time dependencies for STE Modem remoteproc driver Jean Delvare
@ 2014-07-23 15:21 ` Linus Walleij
  2014-07-24  9:52   ` Jean Delvare
  0 siblings, 1 reply; 4+ messages in thread
From: Linus Walleij @ 2014-07-23 15:21 UTC (permalink / raw)
  To: Jean Delvare; +Cc: LKML, Dmitry Tarnyagin, Ohad Ben-Cohen

On Mon, Jul 21, 2014 at 6:15 PM, Jean Delvare <jdelvare@suse.de> wrote:

> This brings the question: on which architectures / platforms is the STE
> Modem remoteproc driver needed?

NONE.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Run-time dependencies for STE Modem remoteproc driver
  2014-07-23 15:21 ` Linus Walleij
@ 2014-07-24  9:52   ` Jean Delvare
  2014-07-25 11:24     ` Linus Walleij
  0 siblings, 1 reply; 4+ messages in thread
From: Jean Delvare @ 2014-07-24  9:52 UTC (permalink / raw)
  To: Linus Walleij; +Cc: LKML, Dmitry Tarnyagin, Ohad Ben-Cohen

Hi Linus,

On Wed, 23 Jul 2014 17:21:17 +0200, Linus Walleij wrote:
> On Mon, Jul 21, 2014 at 6:15 PM, Jean Delvare <jdelvare@suse.de> wrote:
> 
> > This brings the question: on which architectures / platforms is the STE
> > Modem remoteproc driver needed?
> 
> NONE.

Hm, OK :D So I will disable this driver in all our kernels. Maybe this
should be mentioned in the Kconfig help text?

Still, I suppose that the driver had an intended target, maybe we can
use that as a run-time dependency? Or should we just make the driver
depend on COMPILE_TEST?

Thanks,
-- 
Jean Delvare
SUSE L3 Support

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Run-time dependencies for STE Modem remoteproc driver
  2014-07-24  9:52   ` Jean Delvare
@ 2014-07-25 11:24     ` Linus Walleij
  0 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2014-07-25 11:24 UTC (permalink / raw)
  To: Jean Delvare; +Cc: LKML, Dmitry Tarnyagin, Ohad Ben-Cohen

On Thu, Jul 24, 2014 at 11:52 AM, Jean Delvare <jdelvare@suse.de> wrote:
> Hi Linus,
>
> On Wed, 23 Jul 2014 17:21:17 +0200, Linus Walleij wrote:
>> On Mon, Jul 21, 2014 at 6:15 PM, Jean Delvare <jdelvare@suse.de> wrote:
>>
>> > This brings the question: on which architectures / platforms is the STE
>> > Modem remoteproc driver needed?
>>
>> NONE.
>
> Hm, OK :D So I will disable this driver in all our kernels. Maybe this
> should be mentioned in the Kconfig help text?
>
> Still, I suppose that the driver had an intended target, maybe we can
> use that as a run-time dependency? Or should we just make the driver
> depend on COMPILE_TEST?

Yeah that sounds like a pretty good idea actually, as we shouldn't
just delete it.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-25 11:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-21 16:15 Run-time dependencies for STE Modem remoteproc driver Jean Delvare
2014-07-23 15:21 ` Linus Walleij
2014-07-24  9:52   ` Jean Delvare
2014-07-25 11:24     ` Linus Walleij

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).