summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2022-12-27 12:55:26 +0300
committerMika Westerberg <mika.westerberg@linux.intel.com>2023-03-13 12:54:41 +0300
commitc82510b1d87bdebfe916048857d2ef46f1778aa5 (patch)
tree1afb5f743d70ce8af6d1f98cbd096076817a1d65 /tools/perf/scripts/python/sctop.py
parentf0a57dd33b3eadf540912cd130db727ea824d174 (diff)
downloadlinux-c82510b1d87bdebfe916048857d2ef46f1778aa5.tar.xz
thunderbolt: Use scale field when allocating USB3 bandwidth
When tunneling aggregated USB3 (20 Gb/s) the bandwidth values that are programmed to the ADP_USB3_CS_2 go higher than 4096 and that does not fit anymore to the 12-bit field. Fix this by scaling the value using the scale field accordingly. Fixes: 3b1d8d577ca8 ("thunderbolt: Implement USB3 bandwidth negotiation routines") Cc: stable@vger.kernel.org Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions