diff options
author | Mathieu Poirier <mathieu.poirier@linaro.org> | 2020-07-14 21:50:27 +0200 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2020-07-17 08:06:06 +0200 |
commit | e2e5c55eed8023ecfbf4c9b623ef7dec343d1845 (patch) | |
tree | bcb86ecff345a9c71e10851d3e5c63ef383ecf54 /drivers/remoteproc/remoteproc_sysfs.c | |
parent | remoteproc: qcom_q6v5_mss: Monitor MSS_STATUS for boot completion (diff) | |
download | linux-e2e5c55eed8023ecfbf4c9b623ef7dec343d1845.tar.xz linux-e2e5c55eed8023ecfbf4c9b623ef7dec343d1845.zip |
remoteproc: Add new RPROC_DETACHED state
Add a new RPROC_DETACHED state to take into account scenarios
where the remoteproc core needs to attach to a remote processor
that is booted by another entity.
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Tested-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Link: https://lore.kernel.org/r/20200714195035.1426873-2-mathieu.poirier@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/remoteproc/remoteproc_sysfs.c')
-rw-r--r-- | drivers/remoteproc/remoteproc_sysfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/remoteproc/remoteproc_sysfs.c b/drivers/remoteproc/remoteproc_sysfs.c index 52b871327b55..264759713934 100644 --- a/drivers/remoteproc/remoteproc_sysfs.c +++ b/drivers/remoteproc/remoteproc_sysfs.c @@ -72,6 +72,7 @@ static const char * const rproc_state_string[] = { [RPROC_RUNNING] = "running", [RPROC_CRASHED] = "crashed", [RPROC_DELETED] = "deleted", + [RPROC_DETACHED] = "detached", [RPROC_LAST] = "invalid", }; |