All of lore.kernel.org
 help / color / mirror / Atom feed
* [thud/master][PATCH] linux-ti-staging: add configuration for remoteproc/rpmsg IPC modules
@ 2019-07-08 17:12 Denys Dmytriyenko
  2019-07-08 18:38 ` Suman Anna
  0 siblings, 1 reply; 2+ messages in thread
From: Denys Dmytriyenko @ 2019-07-08 17:12 UTC (permalink / raw)
  To: meta-ti; +Cc: Suman Anna

* rpmsg_client_sample is a test module and should not be autoloaded
* Both k3_r5 and k3_dsp remoteproc modules depend on virtio_rpmsg_bus

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Cc: Suman Anna <s-anna@ti.com>
---
 recipes-kernel/linux/linux-ti-staging_4.19.bb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/recipes-kernel/linux/linux-ti-staging_4.19.bb b/recipes-kernel/linux/linux-ti-staging_4.19.bb
index cdddd0bc..ee79abb7 100644
--- a/recipes-kernel/linux/linux-ti-staging_4.19.bb
+++ b/recipes-kernel/linux/linux-ti-staging_4.19.bb
@@ -72,3 +72,9 @@ SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
             file://defconfig"
 
 FILES_${KERNEL_PACKAGE_NAME}-devicetree += "/${KERNEL_IMAGEDEST}/*.itb"
+
+# Special configuration for remoteproc/rpmsg IPC modules
+module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample"
+module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: virtio_rpmsg_bus"
+module_conf_ti_k3_dsp_remoteproc = "softdep ti_k3_dsp_remoteproc pre: virtio_rpmsg_bus"
+KERNEL_MODULE_PROBECONF += "rpmsg_client_sample ti_k3_r5_remoteproc ti_k3_dsp_remoteproc"
-- 
2.17.1



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

* Re: [thud/master][PATCH] linux-ti-staging: add configuration for remoteproc/rpmsg IPC modules
  2019-07-08 17:12 [thud/master][PATCH] linux-ti-staging: add configuration for remoteproc/rpmsg IPC modules Denys Dmytriyenko
@ 2019-07-08 18:38 ` Suman Anna
  0 siblings, 0 replies; 2+ messages in thread
From: Suman Anna @ 2019-07-08 18:38 UTC (permalink / raw)
  To: Denys Dmytriyenko, meta-ti

On 7/8/19 12:12 PM, Denys Dmytriyenko wrote:
> * rpmsg_client_sample is a test module and should not be autoloaded
> * Both k3_r5 and k3_dsp remoteproc modules depend on virtio_rpmsg_bus
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> Cc: Suman Anna <s-anna@ti.com>

Thanks Denys.

Reviewed-by: Suman Anna <s-anna@ti.com>

> ---
>  recipes-kernel/linux/linux-ti-staging_4.19.bb | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/recipes-kernel/linux/linux-ti-staging_4.19.bb b/recipes-kernel/linux/linux-ti-staging_4.19.bb
> index cdddd0bc..ee79abb7 100644
> --- a/recipes-kernel/linux/linux-ti-staging_4.19.bb
> +++ b/recipes-kernel/linux/linux-ti-staging_4.19.bb
> @@ -72,3 +72,9 @@ SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
>              file://defconfig"
>  
>  FILES_${KERNEL_PACKAGE_NAME}-devicetree += "/${KERNEL_IMAGEDEST}/*.itb"
> +
> +# Special configuration for remoteproc/rpmsg IPC modules
> +module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample"
> +module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: virtio_rpmsg_bus"
> +module_conf_ti_k3_dsp_remoteproc = "softdep ti_k3_dsp_remoteproc pre: virtio_rpmsg_bus"
> +KERNEL_MODULE_PROBECONF += "rpmsg_client_sample ti_k3_r5_remoteproc ti_k3_dsp_remoteproc"
> 



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

end of thread, other threads:[~2019-07-08 18:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-08 17:12 [thud/master][PATCH] linux-ti-staging: add configuration for remoteproc/rpmsg IPC modules Denys Dmytriyenko
2019-07-08 18:38 ` Suman Anna

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.