]> git.baikalelectronics.ru Git - kernel.git/commit
remoteproc: qcom: q6v5: Set q6 state to offline on receiving wdog irq
authorSiddharth Gupta <sidgup@codeaurora.org>
Tue, 5 Jul 2022 12:08:18 +0000 (17:38 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 18 Jul 2022 20:32:34 +0000 (15:32 -0500)
commit24ce7689221ad2b58b7eff17e6c12dbe414a5c53
treebce936dc26b148b324ea6e34fbd14560448159d0
parent6e742aa01655b33b02d0b6b81edb718ecfcf038c
remoteproc: qcom: q6v5: Set q6 state to offline on receiving wdog irq

Due to firmware bugs on the Q6 the hardware watchdog irq can be triggered
multiple times. As the remoteproc framework schedules work items for the
recovery process, if the other threads do not get a chance to run before
recovery is completed the proceeding threads will see the state of the
remoteproc as running and kill the remoteproc while it is running. This
can result in various SMMU and NOC errors. This change sets the state of
the remoteproc to offline whenever a watchdog irq is received.

Signed-off-by: Siddharth Gupta <sidgup@codeaurora.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-6-git-send-email-quic_sibis@quicinc.com
drivers/remoteproc/qcom_q6v5.c