diff options
author | Jonghwa Lee <[email protected]> | 2012-07-20 02:54:02 +0000 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2012-07-20 11:58:34 +0200 |
commit | 53df1ad52545854fc34d336b26f3086b2fb2d6f7 (patch) | |
tree | b861a4e6f166e6accf9bcaf0a60a95d73acd5ba4 /tools/perf/util/trace-event-scripting.c | |
parent | 84a1caf1453c3d44050bd22db958af4a7f99315c (diff) |
EXYNOS: bugfix on retrieving old_index from freqs.old
The policy might have been changed since last call of target().
Thus, using cpufreq_frequency_table_target(), which depends on
policy to find the corresponding index from a frequency, may return
inconsistent index for freqs.old. Thus, old_index should be
calculated not based on the current policy.
We have been observing such issue when scaling_min/max_freq were
updated and sometimes cuased system lockups deu to incorrectly
configured voltages.
Signed-off-by: MyungJoo Ham <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions