OSDN Git Service

remoteproc: imx_dsp_rproc: Add module parameter to ignore ready flag from remote...
authorIuliana Prodan <iuliana.prodan@nxp.com>
Fri, 17 Feb 2023 09:41:24 +0000 (11:41 +0200)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 13 Mar 2023 17:48:22 +0000 (11:48 -0600)
commit11bb42a94648af7d4fd570b7f7f26e74d9561ef0
tree66151888ee92383de976f3ffcabdcce2c1911600
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6
remoteproc: imx_dsp_rproc: Add module parameter to ignore ready flag from remote processor

There are cases when we want to test a simple "hello world"
application on the DSP and we don't have IPC between the cores.
Therefore, do not wait for a confirmation from the remote processor
at start.

Added "no_mailboxes" flag while inserting the module to not initialize
any mailboxes, and so ignore remote processor reply after start.
By default, this is off - do not ignore reply from rproc.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://lore.kernel.org/r/20230217094124.9440-1-iuliana.prodan@oss.nxp.com
[Fixed checkpatch warning]
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/imx_dsp_rproc.c