]> git.baikalelectronics.ru Git - kernel.git/commit
remoteproc: imx_dsp_rproc: Add custom memory copy implementation for i.MX DSP Cores
authorIuliana Prodan <iuliana.prodan@nxp.com>
Tue, 21 Feb 2023 17:03:56 +0000 (19:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 May 2023 16:32:34 +0000 (17:32 +0100)
commite2678b6d3c1f64aac44fbb9ca85e59d3357ad47b
tree9252fffc3d8573469d32e00c5db11d3497fdbe1b
parent4dc6686626f32c5918d0d994839c28ed55963791
remoteproc: imx_dsp_rproc: Add custom memory copy implementation for i.MX DSP Cores

[ Upstream commit 408ec1ff0caa340c57eecf4cbd14ef0132036a50 ]

The IRAM is part of the HiFi DSP.
According to hardware specification only 32-bits write are allowed
otherwise we get a Kernel panic.

Therefore add a custom memory copy and memset functions to deal with
the above restriction.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Link: https://lore.kernel.org/r/20230221170356.27923-1-iuliana.prodan@oss.nxp.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/remoteproc/imx_dsp_rproc.c