diff options
author | Mathieu Poirier <mathieu.poirier@linaro.org> | 2021-03-12 17:24:48 +0100 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2021-03-18 14:02:08 +0100 |
commit | 8088dd4d9316964901b13df09a20ee0f917f414d (patch) | |
tree | 553fb98176f70b328438668ca213a500ae7b7d0e /arch/um | |
parent | remoteproc: Properly deal with the resource table when detaching (diff) | |
download | linux-8088dd4d9316964901b13df09a20ee0f917f414d.tar.xz linux-8088dd4d9316964901b13df09a20ee0f917f414d.zip |
remoteproc: Properly deal with the resource table when stopping
When a remote processor that was attached to is stopped, special care
must be taken to make sure the shutdown process is similar to what
it would be had it been started by the remoteproc core.
This patch takes care of that by making a copy of the resource
table currently used by the remote processor. From that point on
the copy is used, as if the remote processor had been started by
the remoteproc core.
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Reviewed-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20210312162453.1234145-13-mathieu.poirier@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'arch/um')
0 files changed, 0 insertions, 0 deletions