diff options
author | Len Brown <len.brown@intel.com> | 2025-09-19 22:56:46 +0300 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2025-09-26 06:12:01 +0300 |
commit | 2734fdbc9bb8a3aeb309ba0d62212d7f53f30bc7 (patch) | |
tree | 5e537ac5e47fdfd53dda344da0b08b5a05f1723a /tools/testing/selftests/net/lib/py/utils.py | |
parent | f8241f5426eb9feb46a007341edd221ceaf73073 (diff) | |
download | linux-2734fdbc9bb8a3aeb309ba0d62212d7f53f30bc7.tar.xz |
tools/power x86_energy_perf_policy: Prefer driver HWP limits
When we are successful in using cpufreq min/max limits,
skip setting the raw MSR limits entirely.
This is necessary to avoid undoing any modification that
the cpufreq driver makes to our sysfs request.
eg. intel_pstate may take our request for a limit
that is valid according to HWP.CAP.MIN/MAX and clip
it to be within the range available in PLATFORM_INFO.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions