]> git.baikalelectronics.ru Git - kernel.git/commit
remoteproc: qcom: pas: Add decrypt shutdown support for modem
authorSibi Sankar <quic_sibis@quicinc.com>
Tue, 5 Jul 2022 12:08:14 +0000 (17:38 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 18 Jul 2022 20:32:33 +0000 (15:32 -0500)
commit1e79731e191f5163aec1f48f38cdcb0ee025bcdc
treee9aba3230a3120c67c62db827bbff6397e742000
parent7e99a9273c5d3aab2c2fbab80ebec71c68c52896
remoteproc: qcom: pas: Add decrypt shutdown support for modem

The initial shutdown request to modem on SM8450 SoCs would start the
decryption process and will keep returning errors until the modem shutdown
is complete. Fix this by retrying shutdowns in fixed intervals.

Err Logs on modem shutdown:
qcom_q6v5_pas 4080000.remoteproc: failed to shutdown: -22
remoteproc remoteproc3: can't stop rproc: -22

Fixes: 9cac431db3c7 ("remoteproc: qcom: pas: Add SM8450 remoteproc support")
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-2-git-send-email-quic_sibis@quicinc.com
drivers/remoteproc/qcom_q6v5_pas.c