]> asedeno.scripts.mit.edu Git - linux.git/commit
remoteproc: qcom: q6v5-pil: fix modem hang on SDM845 after axis2 clk unvote
authorSibi Sankar <sibis@codeaurora.org>
Mon, 9 Jul 2018 15:12:20 +0000 (20:42 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 10 Jul 2018 21:08:44 +0000 (14:08 -0700)
commit7cbb540a3a68e4d4a8bef2d9451afb1635b5d2d3
tree3e43898057e28d47969ccbac87f5b5d89841c597
parentded79d06986e62da1376ae1a62627a36ecbf9ee6
remoteproc: qcom: q6v5-pil: fix modem hang on SDM845 after axis2 clk unvote

GCC_MSS_AXIS2 clock is used for disabling boot IMEM (a part of
AP boot up). With Boot IMEM disable now a part TZ/ATF, AXIS2
clock is no longer required post AP boot up and expected to
remain untouched. However if the clock is turned ON after Q6
is brought out of reset and later turned off, it results in
modem hang. When Q6 attempts a power collapse the internal
handshaking to check if AXIS2 is idle never goes through since
it is turned off preventing the RSC from getting triggered,
leaving modem in a funky state. Hence removing AXIS2 clk
enable/disable from the driver.

Reported-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/qcom_q6v5_pil.c