Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'thermal-6.4-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull thermal control fixes from Rafael Wysocki:
"These fix a NULL pointer dereference in the Intel powerclamp driver
introduced during the 6.3 cycle and update MAINTAINERS to match recent
code changes.

Specifics:

- Fix NULL pointer access in the Intel powerclamp thermal driver that
occurs on attempts to set the cooling device state to 0 in the
default configuration (Srinivas Pandruvada)

- Drop the stale MAINTAINERS entry for the Intel Menlow thermal
driver that has been removed recently (Lukas Bulwahn)"

* tag 'thermal-6.4-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
MAINTAINERS: remove section INTEL MENLOW THERMAL DRIVER
thermal: intel: powerclamp: Fix NULL pointer access issue

+4 -6
-6
MAINTAINERS
··· 10556 10556 F: drivers/mfd/intel-m10-bmc* 10557 10557 F: include/linux/mfd/intel-m10-bmc.h 10558 10558 10559 - INTEL MENLOW THERMAL DRIVER 10560 - M: Sujith Thomas <sujith.thomas@intel.com> 10561 - L: linux-pm@vger.kernel.org 10562 - S: Supported 10563 - F: drivers/thermal/intel/intel_menlow.c 10564 - 10565 10559 INTEL P-Unit IPC DRIVER 10566 10560 M: Zha Qipeng <qipeng.zha@intel.com> 10567 10561 L: platform-driver-x86@vger.kernel.org
+4
drivers/thermal/intel/intel_powerclamp.c
··· 703 703 704 704 new_target_ratio = clamp(new_target_ratio, 0UL, 705 705 (unsigned long) (max_idle - 1)); 706 + 707 + if (powerclamp_data.target_ratio == new_target_ratio) 708 + goto exit_set; 709 + 706 710 if (!powerclamp_data.target_ratio && new_target_ratio > 0) { 707 711 pr_info("Start idle injection to reduce power\n"); 708 712 powerclamp_data.target_ratio = new_target_ratio;