Skip to contentSkip to conversation

Run-time dependencies for STE Modem remoteproc driver

DISCUSSION Jean Delvare 2 participants 4 messages Jul 21, 2014 – Jul 25, 2014

lore
Share & tools
lore
#0 lore raw

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,

Signature · 2 lines
Jean Delvare
SUSE L3 Support
#1 lore raw
Quoted 2 lines · Jean Delvare

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

NONE.

Yours,
Linus Walleij

#2 lore raw

Hi Linus,

Quoted 6 lines · Linus Walleij
Quoted 2 lines · Jean Delvare

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,

Signature · 2 lines
Jean Delvare
SUSE L3 Support
#3 lore raw
Quoted 8 lines · Jean Delvare

Hi Linus,

Quoted 5 lines · Linus Walleij
Quoted 2 lines · Jean Delvare

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

Quoted 8 lines
Quoted 1 line

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