diff options
author | 2017-01-23 17:53:19 -0800 | |
---|---|---|
committer | 2017-01-30 14:18:54 -0800 | |
commit | 2099c77d4af7d1582db6d4437014cf18fe62e74b (patch) | |
tree | e1ef04980a1a5b94455d2959e0bfdd79e77b8ddd /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | remoteproc: Add RPROC_DELETED state (diff) | |
download | linux-dev-2099c77d4af7d1582db6d4437014cf18fe62e74b.tar.xz linux-dev-2099c77d4af7d1582db6d4437014cf18fe62e74b.zip |
remoteproc: Drop firmware_loading_complete
firmware_loading_complete is used to synchronize operations
on rproc while asynchronous firmware loading is in progress.
However, rproc_boot() no longer waits on
firmware_loading_complete. Hence drop this completion
variable altogether and handle the race between rproc_del()
and rproc_boot() using new state RPROC_DELETED.
The request_firmware_nowait() will hold the reference to
rproc device by using a get_device()/put_device(), so the
rproc struct will remain valid even when we return from
rproc_del() before the asynchronous call to
rproc_fw_config_virtio() completes.
CC: Loic Pallardy <loic.pallardy@st.com>
CC: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Sarangdhar Joshi <spjoshi@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions