]> Gentwo Git Trees - linux/.git/commit
remoteproc: imx_dsp_rproc: Add support of recovery and coredump process
authorShengjiu Wang <shengjiu.wang@nxp.com>
Tue, 22 Jul 2025 07:52:25 +0000 (15:52 +0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 20 Aug 2025 19:26:12 +0000 (13:26 -0600)
commitc4c432dfb00fcb69d56cc9778f527cce71cec9bb
tree4a7b6f9d1236ec38be308f78bc114e96c6f113ec
parentc17b750b3ad9f45f2b6f7e6f7f4679844244f0b9
remoteproc: imx_dsp_rproc: Add support of recovery and coredump process

When enabled FW recovery, but is broken because software reset is missed
in this recovery flow. So move software reset from
imx_dsp_runtime_resume() to .load() and clear memory before loading
firmware to make recovery work.

Add call rproc_coredump_set_elf_info() to initialize the elf info for
coredump, otherwise coredump will report error "ELF class is not set".

Fixes: ec0e5549f358 ("remoteproc: imx_dsp_rproc: Add remoteproc driver for DSP on i.MX")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://lore.kernel.org/r/20250722075225.544319-1-shengjiu.wang@nxp.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/imx_dsp_rproc.c