]> 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)
commitac59d484b4b48a11b5f2f0ec756fa1cb81e78dac
tree8f5f16bf66f77f53ee2e3329c9c87639cca62224
parent709bc981976480bfa9e7f4f90220a579fc1b8bbf
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: 74dbe465f042 ("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