aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKonrad Dybcio <[email protected]>2023-06-19 15:04:47 +0200
committerBjorn Andersson <[email protected]>2023-07-15 09:54:45 -0700
commit17fc623e0f728c35b82a0e79cd4f3b8aab495663 (patch)
tree023dfbd4a351259c0b38b09c69008b0b6db8e158 /tools/perf/scripts/python
parent3b7480106bf8ac2666d901e42bf9835959f79e7f (diff)
interconnect: qcom: icc-rpm: Fix bandwidth calculations
Up until now, we've been aggregating the bandwidth values and only dividing them by the bus width of the source node. This was completely wrong, as different nodes on a given path may (and usually do) have varying bus widths. That in turn, resulted in the calculated clock rates being completely bogus - usually they ended up being much higher, as NoC_A<->NoC_B links are very wide. Since we're not using the aggregate bandwidth value for anything other than clock rate calculations, remodel qcom_icc_bus_aggregate() to calculate the per-context clock rate for a given provider, taking into account the bus width of every individual node. Fixes: 30c8fa3ec61a ("interconnect: qcom: Add MSM8916 interconnect provider driver") Reported-by: Stephan Gerhold <[email protected]> Reviewed-by: Stephan Gerhold <[email protected]> Signed-off-by: Konrad Dybcio <[email protected]> Acked-by: Georgi Djakov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions