diff options
author | Mike Tipton <[email protected]> | 2021-07-21 10:54:31 -0700 |
---|---|---|
committer | Georgi Djakov <[email protected]> | 2021-07-30 16:50:40 +0300 |
commit | ce5a595744126be4f1327e29e3c5ae9aac6b38d5 (patch) | |
tree | 1b742c41661390f2e5ba8df41476010e3185bc96 /drivers/fpga/fpga-bridge.c | |
parent | 73606ba9242f8e32023699b500b7922b4cf2993c (diff) |
interconnect: qcom: icc-rpmh: Ensure floor BW is enforced for all nodes
We currently only enforce BW floors for a subset of nodes in a path.
All BCMs that need updating are queued in the pre_aggregate/aggregate
phase. The first set() commits all queued BCMs and subsequent set()
calls short-circuit without committing anything. Since the floor BW
isn't set in sum_avg/max_peak until set(), then some BCMs are committed
before their associated nodes reflect the floor.
Set the floor as each node is being aggregated. This ensures that all
all relevant floors are set before the BCMs are committed.
Fixes: 266cd33b5913 ("interconnect: qcom: Ensure that the floor bandwidth value is enforced")
Signed-off-by: Mike Tipton <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[georgi: Removed unused variable]
Signed-off-by: Georgi Djakov <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions