]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
remoteproc: imx_dsp_rproc: Only reset carveout memory at RPROC_OFFLINE state
authorShengjiu Wang <shengjiu.wang@nxp.com>
Thu, 18 Dec 2025 07:17:50 +0000 (15:17 +0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 5 Jan 2026 21:09:31 +0000 (14:09 -0700)
commitb490ddf27be28e64a39c08ae643d7b22561beaf6
tree4d770d4e65e1f9274f998905d38090a2d7467485
parent332c03279bc81a1a88d8dc5dd23f3c956d99d882
remoteproc: imx_dsp_rproc: Only reset carveout memory at RPROC_OFFLINE state

Do not reset memory at suspend and resume stage, because some
memory is used to save the software state for resume, if it is cleared,
the resume operation can fail.

Fixes: c4c432dfb00f ("remoteproc: imx_dsp_rproc: Add support of recovery and coredump process")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Link: https://lore.kernel.org/r/20251218071750.2692132-1-shengjiu.wang@nxp.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/imx_dsp_rproc.c