diff options
author | Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org> | 2022-04-01 10:14:24 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2022-04-04 12:01:29 +0530 |
commit | f84ccad5f5660f86a642a3d7e2bfdc4e7a8a2d49 (patch) | |
tree | 85aa9d3792815b2a2dcf9700da8c4a95ef0ecb30 /tools/perf/scripts/python/syscall-counts.py | |
parent | a1eb080a04477a55c66d70fb3401b059d6dcc3a9 (diff) |
cpufreq: qcom-cpufreq-hw: Fix throttle frequency value on EPSS platforms
On QCOM platforms with EPSS flavour of cpufreq IP a throttled frequency is
obtained from another register REG_DOMAIN_STATE, thus the helper function
qcom_lmh_get_throttle_freq() should be modified accordingly, as for now
it returns gibberish since .reg_current_vote is unset for EPSS hardware.
To exclude a hardcoded magic number 19200 it is replaced by "xo" clock rate
in KHz.
Fixes: 275157b367f4 ("cpufreq: qcom-cpufreq-hw: Add dcvs interrupt support")
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions