interconnect: qcom: sm8550: Remove bogus per-RSC BCMs and nodes
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Wed, 10 Jan 2024 13:16:26 +0000 (15:16 +0200)
committerGeorgi Djakov <djakov@kernel.org>
Wed, 31 Jan 2024 13:47:47 +0000 (15:47 +0200)
commitc32e00d90904d3e01e09d074ae31d3a1051122e9
tree249ba2fc4913322549c52d50ec91ce6f45d5dbc8
parent6613476e225e090cc9aad49be7fa504e290dd33d
interconnect: qcom: sm8550: Remove bogus per-RSC BCMs and nodes

The downstream kernel has infrastructure for passing votes from different
interconnect nodes onto different RPMh RSCs. This neither implemented, not
is going to be implemented upstream (in favor of a different solution
using ICC tags through the same node).

Unfortunately, as it happens, meaningless (in the upstream context) parts
of the vendor driver were copied, ending up causing havoc - since all
"per-RSC" (in quotes because they all point to the main APPS one) BCMs
defined within the driver overwrite the value in RPMh on every
aggregation.

To both avoid keeping bogus code around and possibly introducing
impossible-to-track-down bugs (busses shutting down for no reason), get
rid of the duplicated BCMs and their associated ICC nodes.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20231218-topic-8550_fixes-v1-1-ce1272d77540@linaro.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>
drivers/interconnect/qcom/sm8550.c
drivers/interconnect/qcom/sm8550.h