summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSibi Sankar <sibis@codeaurora.org>2018-07-09 20:42:20 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-26 08:39:42 +0200
commit6e36e98ecb0a9b19d8b39c016036bc10caadf404 (patch)
tree7fa824c3e0fcdddd9236bd9866ee10df55d717ac
parent435962f3beaa3e11d399f51a652ddd7aae20fb81 (diff)
downloadlinux-stable-6e36e98ecb0a9b19d8b39c016036bc10caadf404.tar.gz
linux-stable-6e36e98ecb0a9b19d8b39c016036bc10caadf404.tar.bz2
linux-stable-6e36e98ecb0a9b19d8b39c016036bc10caadf404.zip
remoteproc: qcom: q6v5-pil: fix modem hang on SDM845 after axis2 clk unvote
[ Upstream commit 7cbb540a3a68e4d4a8bef2d9451afb1635b5d2d3 ] 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> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/remoteproc/qcom_q6v5_pil.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/remoteproc/qcom_q6v5_pil.c b/drivers/remoteproc/qcom_q6v5_pil.c
index 2bf8e7c49f2a..e5ec59102b01 100644
--- a/drivers/remoteproc/qcom_q6v5_pil.c
+++ b/drivers/remoteproc/qcom_q6v5_pil.c
@@ -1370,7 +1370,6 @@ static const struct rproc_hexagon_res sdm845_mss = {
.hexagon_mba_image = "mba.mbn",
.proxy_clk_names = (char*[]){
"xo",
- "axis2",
"prng",
NULL
},