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

Pull power management fixes from Rafael Wysocki:
"Fix two issues related to boost frequencies handling, one in the
cpufreq core and one in the ACPI cpufreq driver (Mario Limonciello)"

* tag 'pm-6.10-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
cpufreq: ACPI: Mark boost policy as enabled when setting boost
cpufreq: Allow drivers to advertise boost enabled

+5 -2
+3 -1
drivers/cpufreq/acpi-cpufreq.c
··· 890 890 if (perf->states[0].core_frequency * 1000 != freq_table[0].frequency) 891 891 pr_warn(FW_WARN "P-state 0 is not max freq\n"); 892 892 893 - if (acpi_cpufreq_driver.set_boost) 893 + if (acpi_cpufreq_driver.set_boost) { 894 894 set_boost(policy, acpi_cpufreq_driver.boost_enabled); 895 + policy->boost_enabled = acpi_cpufreq_driver.boost_enabled; 896 + } 895 897 896 898 return result; 897 899
+2 -1
drivers/cpufreq/cpufreq.c
··· 1431 1431 } 1432 1432 1433 1433 /* Let the per-policy boost flag mirror the cpufreq_driver boost during init */ 1434 - policy->boost_enabled = cpufreq_boost_enabled() && policy_has_boost_freq(policy); 1434 + if (cpufreq_boost_enabled() && policy_has_boost_freq(policy)) 1435 + policy->boost_enabled = true; 1435 1436 1436 1437 /* 1437 1438 * The initialization has succeeded and the policy is online.