WSL2-Linux-Kernel/drivers/interconnect/qcom
Mike Tipton f84f5b6f72 interconnect: qcom: icc-rpmh: Add BCMs to commit list in pre_aggregate
We're only adding BCMs to the commit list in aggregate(), but there are
cases where pre_aggregate() is called without subsequently calling
aggregate(). In particular, in icc_sync_state() when a node with initial
BW has zero requests. Since BCMs aren't added to the commit list in
these cases, we don't actually send the zero BW request to HW. So the
resources remain on unnecessarily.

Add BCMs to the commit list in pre_aggregate() instead, which is always
called even when there are no requests.

Fixes: 976daac4a1 ("interconnect: qcom: Consolidate interconnect RPMh support")
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
Link: https://lore.kernel.org/r/20210721175432.2119-5-mdtipton@codeaurora.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>
2021-07-30 16:52:21 +03:00
..
Kconfig interconnect: qcom: Add SC7280 interconnect provider driver 2021-05-11 11:53:31 +03:00
Makefile interconnect: qcom: Add SC7280 interconnect provider driver 2021-05-11 11:53:31 +03:00
bcm-voter.c interconnect: qcom: Add missing MODULE_DEVICE_TABLE 2021-05-11 07:26:31 +03:00
bcm-voter.h interconnect: qcom: Consolidate interconnect RPMh support 2020-02-28 12:11:40 +02:00
icc-rpm.c interconnect: qcom: icc-rpm: record slave RPM id in error log 2021-03-08 15:13:40 +02:00
icc-rpm.h interconnect: qcom: Consolidate interconnect RPM support 2021-01-05 13:09:58 +02:00
icc-rpmh.c interconnect: qcom: icc-rpmh: Add BCMs to commit list in pre_aggregate 2021-07-30 16:52:21 +03:00
icc-rpmh.h interconnect: qcom: Implement xlate_extended() to parse tags 2020-09-08 16:29:00 +03:00
msm8916.c interconnect: qcom: Consolidate interconnect RPM support 2021-01-05 13:09:58 +02:00
msm8939.c interconnect: qcom: msm8939: remove rpm-ids from non-RPM nodes 2021-03-08 15:09:15 +02:00
msm8974.c interconnect: qcom: msm8974: Don't boost the NoC rate during boot 2020-11-18 00:21:47 +02:00
osm-l3.c Merge branch 'icc-syncstate' into icc-next 2020-09-18 09:13:40 +03:00
qcs404.c interconnect: qcom: qcs404: use shared code 2021-01-05 13:10:12 +02:00
sc7180.c interconnect: qcom: sc7180: Init BCMs before creating the nodes 2020-10-15 09:24:00 +03:00
sc7180.h interconnect: qcom: Add OSM L3 support on SC7180 2020-03-03 19:02:52 +02:00
sc7280.c interconnect: qcom: Add SC7280 interconnect provider driver 2021-05-11 11:53:31 +03:00
sc7280.h interconnect: qcom: Add SC7280 interconnect provider driver 2021-05-11 11:53:31 +03:00
sdm660.c interconnect: qcom: sdm660: Fix kerneldoc warning 2021-04-02 12:59:07 +03:00
sdm845.c Qualcomm ARM64 DT updates for 5.11 2020-12-08 23:50:08 +01:00
sdm845.h interconnect: qcom: Add OSM L3 interconnect provider support 2020-03-03 19:02:52 +02:00
sdx55.c interconnect: qcom: Add SDX55 interconnect provider driver 2021-01-27 13:11:33 +02:00
sdx55.h interconnect: qcom: Add SDX55 interconnect provider driver 2021-01-27 13:11:33 +02:00
sm8150.c interconnect: qcom: use icc_sync state for sm8[12]50 2020-10-27 16:01:22 +02:00
sm8150.h interconnect: qcom: Add OSM L3 support on SM8150 2020-09-08 16:29:01 +03:00
sm8250.c interconnect: qcom: use icc_sync state for sm8[12]50 2020-10-27 16:01:22 +02:00
sm8250.h interconnect: qcom: Add EPSS L3 support on SM8250 2020-09-08 16:29:01 +03:00
sm8350.c interconnect: qcom: sm8350: Add missing link between nodes 2021-04-02 13:09:07 +03:00
sm8350.h interconnect: qcom: Add SM8350 interconnect provider driver 2021-03-27 14:34:12 +02:00
smd-rpm.c interconnect: qcom: Add interconnect RPM over SMD driver 2019-08-13 23:06:40 +03:00
smd-rpm.h interconnect: qcom: Add interconnect RPM over SMD driver 2019-08-13 23:06:40 +03:00