]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit24cb315b76819880a7e79c3a6a48b84148c69588
treef3e5cc3423b0079ef65da2b55b094ef46d07c77c
parentcb1d179b554a33ef581e5ce4557d7058c83966cc
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