linux_dsm_epyc7002/drivers/interconnect
Mike Tipton c228fe74bb interconnect: qcom: icc-rpmh: Ensure floor BW is enforced for all nodes
commit ce5a595744126be4f1327e29e3c5ae9aac6b38d5 upstream.

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: 266cd33b59 ("interconnect: qcom: Ensure that the floor bandwidth value is enforced")
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
Link: https://lore.kernel.org/r/20210721175432.2119-4-mdtipton@codeaurora.org
[georgi: Removed unused variable]
Signed-off-by: Georgi Djakov <djakov@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-07-05 18:52:31 +02:00
..
imx interconnect: imx8mq: Use icc_sync_state 2021-01-27 11:55:29 +01:00
qcom interconnect: qcom: icc-rpmh: Ensure floor BW is enforced for all nodes 2024-07-05 18:52:31 +02:00
bulk.c interconnect: Add bulk API helpers 2020-09-08 16:28:49 +03:00
core.c interconnect: Always call pre_aggregate before aggregate 2024-07-05 18:52:31 +02:00
internal.h interconnect: Add helpers for enabling/disabling a path 2020-05-10 18:30:37 +03:00
Kconfig Merge branch 'icc-get-by-index' into icc-next 2020-05-15 10:46:18 +03:00
Makefile interconnect: Add bulk API helpers 2020-09-08 16:28:49 +03:00
trace.h interconnect: Add basic tracepoints 2019-12-16 09:25:23 +02:00