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.1-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull thermal control fix from Rafael Wysocki:
"This fixes the control CPU selection in the intel_powerclamp thermal
driver"

* tag 'thermal-6.1-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
thermal: intel_powerclamp: Use first online CPU as control_cpu

+1 -5
+1 -5
drivers/thermal/intel/intel_powerclamp.c
··· 516 516 cpus_read_lock(); 517 517 518 518 /* prefer BSP */ 519 - control_cpu = 0; 520 - if (!cpu_online(control_cpu)) { 521 - control_cpu = get_cpu(); 522 - put_cpu(); 523 - } 519 + control_cpu = cpumask_first(cpu_online_mask); 524 520 525 521 clamping = true; 526 522 schedule_delayed_work(&poll_pkg_cstate_work, 0);