]> git.ipfire.org Git - thirdparty/linux.git/commit - Documentation/remoteproc.txt
remoteproc: add vendor resources handling
authorClement Leger <cleger@kalray.eu>
Mon, 17 Jun 2019 12:57:30 +0000 (14:57 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sat, 29 Jun 2019 19:02:17 +0000 (12:02 -0700)
commitb1a17513a2d60f9e933016bed04d0eeb8651a915
tree3cdda74ef3de7317259b3651d03a6a542a9bee38
parent16a3c637f0742ec41bb69978e0d7b606a22a9c54
remoteproc: add vendor resources handling

In order to allow rproc backend to handle vendor resources such as in
OpenAMP, add a handle_rsc hook. This hook allow the rproc backends to
handle vendor resources as they like. The hook will be called only for
vendor resources and should return RSC_HANDLED on successful resource
handling, RSC_IGNORED if resource was ignored, or a negative value on
error.

Signed-off-by: Clement Leger <cleger@kalray.eu>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Documentation/remoteproc.txt
drivers/remoteproc/remoteproc_core.c
drivers/remoteproc/remoteproc_internal.h
include/linux/remoteproc.h