summaryrefslogtreecommitdiff
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorShivnandan Kumar <quic_kshivnan@quicinc.com>2024-02-27 12:13:51 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-02-29 22:21:44 +0300
commitd394abcb12bb1a6f309c1221fdb8e73594ecf1b4 (patch)
tree347699befd57410b4e12a82403b2195cc4a14486 /scripts/rustdoc_test_builder.rs
parent8164f743326404fbe00a721a12efd86b2a8d74d2 (diff)
downloadlinux-d394abcb12bb1a6f309c1221fdb8e73594ecf1b4.tar.xz
cpufreq: Limit resolving a frequency to policy min/max
Resolving a frequency to an efficient one should not transgress policy->max (which can be set for thermal reason) and policy->min. Currently, there is possibility where scaling_cur_freq can exceed scaling_max_freq when scaling_max_freq is an inefficient frequency. Add a check to ensure that resolving a frequency will respect policy->min/max. Cc: All applicable <stable@vger.kernel.org> Fixes: 1f39fa0dccff ("cpufreq: Introducing CPUFREQ_RELATION_E") Signed-off-by: Shivnandan Kumar <quic_kshivnan@quicinc.com> [ rjw: Whitespace adjustment, changelog edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions