mirror-linux/drivers/interconnect/qcom
Konrad Dybcio 93e9085453 interconnect: qcom: bcm-voter: Use enable_maks for keepalive voting
[ Upstream commit 1a70ca7154 ]

BCMs with an enable_mask expect to only have that specific value written
to them. The current implementation only works by miracle for BCMs with
enable mask == BIT(0), as the minimal vote we've been using so far just
so happens to be equal to that.

Use the correct value with keepalive voting.

Fixes: d8630f050d ("interconnect: qcom: Add support for mask-based BCMs")
Reported-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230811-topic-icc_fix_1he-v2-2-0620af8ac133@linaro.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-13 09:42:56 +02:00
..
Kconfig
Makefile
bcm-voter.c interconnect: qcom: bcm-voter: Use enable_maks for keepalive voting 2023-09-13 09:42:56 +02:00
bcm-voter.h
icc-common.c
icc-common.h
icc-rpm.c interconnect: qcom: rpm: drop bogus pm domain attach 2023-05-11 23:03:28 +09:00
icc-rpm.h interconnect: qcom: rpm: drop bogus pm domain attach 2023-05-11 23:03:28 +09:00
icc-rpmh.c interconnect: qcom: rpmh: fix registration race 2023-03-22 13:33:58 +01:00
icc-rpmh.h interconnect: qcom: Add support for mask-based BCMs 2023-08-16 18:27:25 +02:00
msm8916.c
msm8939.c
msm8974.c interconnect: qcom: msm8974: fix registration race 2023-03-22 13:33:58 +01:00
msm8996.c interconnect: qcom: rpm: drop bogus pm domain attach 2023-05-11 23:03:28 +09:00
msm8996.h
osm-l3.c interconnect: qcom: osm-l3: fix icc_onecell_data allocation 2023-03-30 12:48:59 +02:00
qcm2290.c interconnect: qcom: qcm2290: Enable sync state 2023-09-13 09:42:53 +02:00
qcs404.c
sc7180.c
sc7180.h
sc7280.c
sc7280.h
sc8180x.c
sc8180x.h
sc8280xp.c
sc8280xp.h
sdm660.c
sdm845.c
sdm845.h
sdx55.c
sdx55.h
sdx65.c
sdx65.h
sm6350.c
sm6350.h
sm8150.c
sm8150.h
sm8250.c
sm8250.h
sm8350.c
sm8350.h
sm8450.c interconnect: qcom: sm8450: Enable sync_state 2023-09-13 09:42:56 +02:00
sm8450.h
smd-rpm.c
smd-rpm.h