remoteproc: sysmon: Inform current rproc about all active rprocs
authorSiddharth Gupta <sidgup@codeaurora.org>
Wed, 8 Apr 2020 23:36:40 +0000 (16:36 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 20 Apr 2020 07:09:16 +0000 (00:09 -0700)
commit1f36ab3f6e3b791eadad94f792c874706e153b66
treef3e5cc3423b0079ef65da2b55b094ef46d07c77c
parent1877f54f75ad16549861ae92a708bd04c23f2a72
remoteproc: sysmon: Inform current rproc about all active rprocs

Clients/services running on a remoteproc that booted up might need to be
aware of the state of already running remoteprocs. When a remoteproc boots
up (fresh or after recovery) it is not aware of the remoteprocs that booted
before it, i.e., the system state is incomplete. So to keep track of it we
send sysmon on behalf of all 'ONLINE' remoteprocs.

Acked-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Link: https://lore.kernel.org/r/1586389003-26675-4-git-send-email-sidgup@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/qcom_sysmon.c