All of lore.kernel.org
 help / color / mirror / Atom feed
* Discussion about imx_dsp_rproc FW_READY policy
@ 2023-07-26  8:26 Daniel Baluta
  2023-08-22 14:12 ` Daniel Baluta
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Baluta @ 2023-07-26  8:26 UTC (permalink / raw)
  To: Mathieu Poirier, S.j. Wang
  Cc: Iuliana Prodan, linux-remoteproc, dl-linux-imx,
	Laurentiu Mihalcea

Hello all,

I want to start this thread in order to clarify what assumptions a
remoteproc driver is able to make
about a firmware loaded on a remote processor.

Discussion is generated by this thread:

[1] https://www.spinics.net/lists/kernel/msg4857733.html

imx_dsp_rproc driver assumes that the remote firmware will send a
notification once it has booted up and this is the default behavior.

This doesn't work well with Zephyr samples which do not send such notification!

I want to get an agreement for the following questions:

1) What should be the default behavior of a remote proc driver?

In my opinion it should not make any assumption about the remote part.
Thus by default the driver should not wait for any message!

2) How can we support various "protocols" of starting up. Eg (wait for
firmware / no wait for firmware).

In patch [1] Iulia proposed to add a flag that will select the correct
behavior. As per Mathieu's comments this doesn't
scale up, for next flags.

How can we solve this? In my opinion using a kernel module parameter
OR a device tree property should be enough.

What do you think?

thanks,
Daniel.

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

end of thread, other threads:[~2023-08-24 15:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-26  8:26 Discussion about imx_dsp_rproc FW_READY policy Daniel Baluta
2023-08-22 14:12 ` Daniel Baluta
2023-08-23 16:14   ` Mathieu Poirier
2023-08-24  4:16     ` S.J. Wang
2023-08-24 15:41     ` Iuliana Prodan

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.