aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorQuentin Perret <[email protected]>2019-01-09 10:42:36 +0000
committerRafael J. Wysocki <[email protected]>2019-01-09 12:10:25 +0100
commit0e141d1c65c1dd31c914eb2e11651adcc1a15912 (patch)
tree65c1cc1116d9f5fc715e51d19998bd1dde5cb106 /tools/perf/scripts/python/exported-sql-viewer.py
parent2f66196208c98b3d1b4294edffb2c5a8197be899 (diff)
cpufreq: scmi: Fix frequency invariance in slow path
The scmi-cpufreq driver calls the arch_set_freq_scale() callback on frequency changes to provide scale-invariant load-tracking signals to the scheduler. However, in the slow path, it does so while specifying the current and max frequencies in different units, hence resulting in a broken freq_scale factor. Fix this by passing all frequencies in KHz, as stored in the CPUFreq frequency table. Fixes: 99d6bdf33877 (cpufreq: add support for CPU DVFS based on SCMI message protocol) Signed-off-by: Quentin Perret <[email protected]> Acked-by: Viresh Kumar <[email protected]> Acked-by: Sudeep Holla <[email protected]> Cc: 4.17+ <[email protected]> # v4.17+ Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions