diff options
| author | zuoqian <zuoqian113@gmail.com> | 2025-01-25 11:49:49 +0300 |
|---|---|---|
| committer | Viresh Kumar <viresh.kumar@linaro.org> | 2025-02-06 06:34:30 +0300 |
| commit | 4742da9774a416908ef8e3916164192c15c0e2d1 (patch) | |
| tree | 2495e7b9f1642c1639c3f368caf8de3fa78a6b9e /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 0813fd2e14ca6ecd4e6ba005a9766f08e26020d7 (diff) | |
| download | linux-4742da9774a416908ef8e3916164192c15c0e2d1.tar.xz | |
cpufreq: scpi: compare kHz instead of Hz
The CPU rate from clk_get_rate() may not be divisible by 1000
(e.g., 133333333). But the rate calculated from frequency(kHz) is
always divisible by 1000 (e.g., 133333000).
Comparing the rate causes a warning during CPU scaling:
"cpufreq: __target_index: Failed to change cpu frequency: -5".
When we choose to compare kHz here, the issue does not occur.
Fixes: 343a8d17fa8d ("cpufreq: scpi: remove arm_big_little dependency")
Signed-off-by: zuoqian <zuoqian113@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
