linux/drivers/thermal/intel
Srinivas Pandruvada 5cf952c54f thermal: intel: int340x: Power Slider: Validate slider_balance range
When the module parameter slider_balance is set to the performance
slider value of 0, the SoC slider profile switches to the performance
mode.

This can cause the Linux power-profiles-daemon to change the system
power mode to performance from balanced mode. This happens when there
is only one platform profile registered as there will be no conflict
with other platform profiles.

Same issue occurs when the slider_balance is set to the power-saver
slider value.

Prevent module parameter slider_balance from overlapping with
performance and power-saver slider values by adding range validation.

Return an error when an invalid value is provided.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://patch.msgid.link/20250923205631.3056590-1-srinivas.pandruvada@linux.intel.com
[ rjw: Changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2025-09-24 21:54:55 +02:00
..
int340x_thermal thermal: intel: int340x: Power Slider: Validate slider_balance range 2025-09-24 21:54:55 +02:00
Kconfig thermal: intel: Fix compile issue when CONFIG_NET is not defined 2024-12-19 12:35:46 +01:00
Makefile
intel_bxt_pmic_thermal.c
intel_hfi.c x86/msr: Rename 'wrmsrl()' to 'wrmsrq()' 2025-04-10 11:58:33 +02:00
intel_hfi.h
intel_pch_thermal.c thermal: intel: intel_pch: Improve cooling log 2024-06-07 21:24:37 +02:00
intel_powerclamp.c x86/msr: Rename 'rdmsrl_safe()' to 'rdmsrq_safe()' 2025-04-10 11:58:38 +02:00
intel_quark_dts_thermal.c x86/cpu: Fix FAM5_QUARK_X1000 to use X86_MATCH_VFM() 2024-10-31 12:02:21 -07:00
intel_soc_dts_iosf.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
intel_soc_dts_iosf.h thermal: intel: Set THERMAL_TRIP_FLAG_RW_TEMP directly 2024-02-27 12:04:01 +01:00
intel_soc_dts_thermal.c thermal: intel: intel_soc_dts_thermal: Switch to new Intel CPU model defines 2024-06-07 20:47:05 +02:00
intel_tcc.c x86/cpu: Fix #define name for Intel CPU model 0x5A 2025-02-04 10:05:53 -08:00
intel_tcc_cooling.c x86/msr: Add explicit includes of <asm/msr.h> 2025-05-02 10:23:47 +02:00
therm_throt.c x86/msr: Rename 'wrmsrl_safe()' to 'wrmsrq_safe()' 2025-04-10 11:58:44 +02:00
thermal_interrupt.h
x86_pkg_temp_thermal.c Core x86 updates for v6.16: 2025-05-26 16:04:17 -07:00