summaryrefslogtreecommitdiffstats
path: root/firmware/advansys
diff options
context:
space:
mode:
authorSarangdhar Joshi <spjoshi@codeaurora.org>2017-05-26 16:51:00 -0700
committerBjorn Andersson <bjorn.andersson@linaro.org>2017-05-26 18:11:31 -0700
commit1efa30d0895e7e9a58a59b0880b330b38245be68 (patch)
tree565fb8e298f188d6bb783a6e84b6972bec6e2754 /firmware/advansys
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff)
downloadlinux-1efa30d0895e7e9a58a59b0880b330b38245be68.tar.bz2
remoteproc: Introduce rproc_{start,stop}() functions
In the context of recovering from crash, rproc_trigger_recovery() does rproc_shutdown() followed by rproc_boot(). The remoteproc resources are cleaned up in rproc_shutdown() and immediately reallocated in rproc_boot() which is an unnecessary overhead. Furthermore, we want the memory regions to be accessible after stopping the remote processor, to be able to extract the memory content for a coredump. This patch factors out the code in rproc_boot() and rproc_shutdown() path and introduces rproc_{start,stop}() in order to avoid resource allocation overhead. Signed-off-by: Sarangdhar Joshi <spjoshi@codeaurora.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'firmware/advansys')
0 files changed, 0 insertions, 0 deletions