[PATCH v5 0/9] remoteproc: Add support for attaching with rproc

From: Mathieu Poirier
Date: Tue Jul 07 2020 - 17:00:21 EST


This set provides functionality allowing the remoteproc core to attach to
a remote processor that was started by another entity.

New in V5:
1) Added Bjorn's reviewed-by.
2) Removed PM runtime call from patch 04.
3) Used a 'case' statement in patch 05.

Patches that need to be reviewed: 4, 5 and 9.

Applies cleanly on rproc-next (49cff1256879)

Thanks,
Mathieu

Mathieu Poirier (9):
remoteproc: Add new RPROC_DETACHED state
remoteproc: Add new attach() remoteproc operation
remoteproc: Introducing function rproc_attach()
remoteproc: Introducing function rproc_actuate()
remoteproc: Introducing function rproc_validate()
remoteproc: Refactor function rproc_boot()
remoteproc: Refactor function rproc_trigger_auto_boot()
remoteproc: Refactor function rproc_free_vring()
remoteproc: Properly handle firmware name when attaching

drivers/remoteproc/remoteproc_core.c | 213 +++++++++++++++++++++--
drivers/remoteproc/remoteproc_internal.h | 8 +
drivers/remoteproc/remoteproc_sysfs.c | 17 +-
include/linux/remoteproc.h | 9 +-
4 files changed, 230 insertions(+), 17 deletions(-)

--
2.25.1