diff options
author | 2025-05-13 11:14:36 +0530 | |
---|---|---|
committer | 2025-05-20 11:02:16 -0600 | |
commit | 349d62ab207f55f039c3ddb40b36e95c2f0b3ed0 (patch) | |
tree | de996033d9c955f56cca2f0e7112da1ceee51cdc /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | remoteproc: k3-r5: Drop check performed in k3_r5_rproc_{mbox_callback/kick} (diff) | |
download | wireguard-linux-349d62ab207f55f039c3ddb40b36e95c2f0b3ed0.tar.xz wireguard-linux-349d62ab207f55f039c3ddb40b36e95c2f0b3ed0.zip |
remoteproc: k3-dsp: Drop check performed in k3_dsp_rproc_{mbox_callback/kick}
Commit ea1d6fb5b571 ("remoteproc: k3-dsp: Acquire mailbox handle during
probe routine") introduced a check in the "k3_dsp_rproc_mbox_callback()"
and "k3_dsp_rproc_kick()" callbacks, causing them to exit if the remote
core's state is "RPROC_DETACHED". However, the "__rproc_attach()"
function that is responsible for attaching to a remote core, updates the
state of the remote core to "RPROC_ATTACHED" only after invoking
"rproc_start_subdevices()".
The "rproc_start_subdevices()" function triggers the probe of the Virtio
RPMsg devices associated with the remote core, which require that the
"k3_dsp_rproc_kick()" and "k3_dsp_rproc_mbox_callback()" callbacks are
functional. Hence, drop the check in the callbacks.
Fixes: ea1d6fb5b571 ("remoteproc: k3-dsp: Acquire mailbox handle during probe routine")
Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
Tested-by: Judith Mendez <jm@ti.com>
Reviewed-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20250513054510.3439842-3-b-padhi@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions