]> git.baikalelectronics.ru Git - kernel.git/commit
remoteproc: sysmon: Wait for SSCTL service to come up
authorSibi Sankar <quic_sibis@quicinc.com>
Tue, 5 Jul 2022 12:08:19 +0000 (17:38 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 18 Jul 2022 20:32:34 +0000 (15:32 -0500)
commit47c04e00eff86a81cd357c3feed04c86089bcb85
tree8f5f16bf66f77f53ee2e3329c9c87639cca62224
parent0ad7e3ed20425ffff37801c7d94f2bab74a242d5
remoteproc: sysmon: Wait for SSCTL service to come up

The SSCTL service comes up after a finite time when the remote Q6 comes
out of reset. Any graceful shutdowns requested during this period will
be a NOP and abrupt tearing down of the glink channel might lead to pending
transactions on the remote Q6 side and will ultimately lead to a fatal
error. Fix this by waiting for the SSCTL service when a graceful shutdown
is requested.

Fixes: 1fb82ee806d1 ("remoteproc: qcom: Introduce sysmon")
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/1657022900-2049-7-git-send-email-quic_sibis@quicinc.com
drivers/remoteproc/qcom_sysmon.c