diff options
| author | Neil Armstrong <neil.armstrong@linaro.org> | 2026-09-09 17:26:29 +0200 |
|---|---|---|
| committer | Georgi Djakov <djakov@kernel.org> | 2026-09-18 13:44:06 +0300 |
| commit | 11a44c6087c64087c99d5d90313473eceb51296c (patch) | |
| tree | 2fbfe279158baba9933c659458f79ab589e14b83 /tools/perf/scripts/python | |
| parent | 601a54f00723b0b653d76caf26a2a78482d95f00 (diff) | |
| download | linux-next-11a44c6087c64087c99d5d90313473eceb51296c.tar.gz linux-next-11a44c6087c64087c99d5d90313473eceb51296c.zip | |
interconnect: qcom: implement get_bw with rpmh_read
Since we can actually read back the APPS rpmh interconnect
BCM votes we can actually implement the get_bw() callback
and provide a coherent average and peak bandwidth at probe time.
The benefits of that are:
- keep disabled BCMs disabled
- avoid voting unused BCMs to INT_MAX
If the interconnects are correctly described for a platform,
all the required BCMs would be voted to the maximum bandwidth
until sync_state is reached.
Since we only get the BCM vote, we need to redistribute
the vote values to the associated nodes. The initial BCM
votes are read back at probe time in order to be ready when
the get_bw() is called when a node is added.
Tested-by: Georgi Djakov <djakov@kernel.org> #db845c
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Link: https://patch.msgid.link/20260909-topic-sm8x50-icc-read-rpmh-v3-1-2bc65d7b25e5@linaro.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
