]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools/power x86_energy_perf_policy: Enhances SoC Slider related checks
authorLen Brown <len.brown@intel.com>
Wed, 15 Apr 2026 19:12:29 +0000 (15:12 -0400)
committerLen Brown <len.brown@intel.com>
Sat, 25 Apr 2026 18:10:13 +0000 (14:10 -0400)
commit25ff5848c05bc660739089cf9c6de4a166bd7932
tree917afde8bd56248fc3aba561a6302061138407be
parentfeffac1874820d501e51cd8dcee697063b792c82
tools/power x86_energy_perf_policy: Enhances SoC Slider related checks

When processor_thermal_soc_slider is loaded, its slider
and offset modparams are visible.  Check that the driver
actually registered the profile named "SoC Slider" before
reading or writing these modparams.

n.b. This utility allows writing the Slider and Offset modparams
even if the driver policy is not "balanced".  Currently the
processor_thermal_soc_slider consults those modparams
only in "balanced" mode.

Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c