interconnect: qcom: sdm845: Enable keepalive for the MM1 BCM
authorGeorgi Djakov <georgi.djakov@linaro.org>
Mon, 12 Oct 2020 19:40:34 +0000 (22:40 +0300)
committerGeorgi Djakov <georgi.djakov@linaro.org>
Thu, 15 Oct 2020 06:23:25 +0000 (09:23 +0300)
commit5be1805dc3961ce0465bcb0beab85fe8580af08d
tree3b1ea84cc9f26350aa0ed106503153ef2917b4f3
parent86d6e5793e0fa3a510cff466894d0d3051fd716e
interconnect: qcom: sdm845: Enable keepalive for the MM1 BCM

After enabling interconnect scaling for display on the db845c board,
in certain configurations the board hangs, while the following errors
are observed on the console:

  Error sending AMC RPMH requests (-110)
  qcom_rpmh TCS Busy, retrying RPMH message send: addr=0x50000
  qcom_rpmh TCS Busy, retrying RPMH message send: addr=0x50000
  qcom_rpmh TCS Busy, retrying RPMH message send: addr=0x50000
  ...

In this specific case, the above is related to one of the sequencers
being stuck, while client drivers are returning from probe and trying
to disable the currently unused clock and interconnect resources.
Generally we want to keep the multimedia NoC enabled like the rest of
the NoCs, so let's set the keepalive flag on it too.

Fixes: aae57773fbe0 ("interconnect: qcom: sdm845: Split qnodes into their respective NoCs")
Reported-by: Amit Pundir <amit.pundir@linaro.org>
Reviewed-by: Mike Tipton <mdtipton@codeaurora.org>
Tested-by: John Stultz <john.stultz@linaro.org>
Link: https://lore.kernel.org/r/20201012194034.26944-1-georgi.djakov@linaro.org
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
drivers/interconnect/qcom/sdm845.c