Currently remoteproc exposes APIs for devices outside of remoteproc to allocate and add carveout resources to a remoteproc. These devices may support the ability to reclaim these resources from a live remoteproc. Add two helpers to help cleanup the references to the carveout resources. Chris Lew (2): remoteproc: core: Introduce rproc_del_carveout remoteproc: core: Introduce rproc_mem_entry_free drivers/remoteproc/remoteproc_core.c | 33 +++++++++++++++++++++++++++++++++ include/linux/remoteproc.h | 2 ++ 2 files changed, 35 insertions(+) -- 2.7.4