[PATCH v4 0/2] remoteproc: elf_loader: Make rproc_elf_load_segments() more generic

Mathieu Poirier mathieu.poirier at linaro.org
Fri Nov 20 07:18:38 PST 2026


On Thu, Nov 12, 2026 at 12:39:49PM +0100, Uwe Kleine-König wrote:
> Hello,
> 
> Changes since v3 (available at
> https://lore.kernel.org/linux-remoteproc/cover.1793879714.git.u.kleine-koenig@baylibre.com):
> 
>  - Improve kdoc comment for new callback describing what it is supposed
>    to do as requested by Mathieu.
> 
> I'm currently working on another remoteproc driver that cannot use
> rproc_elf_load_segments() as is because the remoteproc's va isn't mapped
> into the local CPU's memory address space in a useable way. With the new
> callback the amount of code that must be repeated is reduced, similar to
> how the imx_dsp driver's load routine is reduced.
> 
> Best regards
> Uwe
> 
> Uwe Kleine-König (2):
>   remoteproc: elf_loader: Create new callback for copying segments to
>     remote cpu
>   remoteproc: imx_dsp_rproc: Implement .memcpy_tova()
> 
>  drivers/remoteproc/imx_dsp_rproc.c         | 120 ++++++---------------
>  drivers/remoteproc/remoteproc_elf_loader.c |  64 ++++++-----
>  include/linux/remoteproc.h                 |   7 ++
>  3 files changed, 74 insertions(+), 117 deletions(-)
>

Applied.

Thanks,
Mathieu
 
> 
> base-commit: 8b7179210b22f8e48a82c5ceacb9d56a9c4cfec4
> -- 
> 2.56.0.rc1
> 



More information about the linux-arm-kernel mailing list