Skip to content

remoteproc: elf_loader: Make rproc_elf_load_segments() more generic

Uwe Kleine-König imx linux-arm-kernel linux-remoteproc lkml 4 versions – Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 1 replyApplied
  2. v32 patches 2 repliesSuperseded
  3. v22 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches3 repliesSuperseded

Changes in v4 from the cover letter

https://lore.kernel.org/linux-remoteproc/[email protected]):

- Improve kdoc comment for new callback describing what it is supposed to do as requested by Mathieu.

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2remoteproc: elf_loader: Create new callback for copying segments to remote cpudrivers/remoteproc/remoteproc_elf_loader.c include/linux/remoteproc.h+44 -270 replies
2/2remoteproc: imx_dsp_rproc: Implement .memcpy_tova()drivers/remoteproc/imx_dsp_rproc.c+30 -900 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPeng Fan
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

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

Hello,

Changes since v3 (available at
https://lore.kernel.org/linux-remoteproc/[email protected]):

- 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(-)

base-commit: 8b7179210b22f8e48a82c5ceacb9d56a9c4cfec4

Signature · 1 line
2.56.0.rc1