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

Pull power management fixes from Rafael Wysocki:

- prevent the intel_pstate driver from printing excessive diagnostic
messages in some cases (Chris Wilson)

- make the hibernation restore kernel freeze kernel threads as well as
user space tasks (Dexuan Cui)

- fix the ACPI device PM disagnostic messages to include the correct
power state name (Kai-Heng Feng).

* tag 'pm-5.7-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
PM: ACPI: Output correct message on target power state
PM: hibernate: Freeze kernel threads in software_resume()
cpufreq: intel_pstate: Only mention the BIOS disabling turbo mode once

+10 -3
+2 -2
drivers/acpi/device_pm.c
··· 273 273 end: 274 274 if (result) { 275 275 dev_warn(&device->dev, "Failed to change power state to %s\n", 276 - acpi_power_state_string(state)); 276 + acpi_power_state_string(target_state)); 277 277 } else { 278 278 device->power.state = target_state; 279 279 ACPI_DEBUG_PRINT((ACPI_DB_INFO, 280 280 "Device [%s] transitioned to %s\n", 281 281 device->pnp.bus_id, 282 - acpi_power_state_string(state))); 282 + acpi_power_state_string(target_state))); 283 283 } 284 284 285 285 return result;
+1 -1
drivers/cpufreq/intel_pstate.c
··· 1059 1059 1060 1060 update_turbo_state(); 1061 1061 if (global.turbo_disabled) { 1062 - pr_warn("Turbo disabled by BIOS or unavailable on processor\n"); 1062 + pr_notice_once("Turbo disabled by BIOS or unavailable on processor\n"); 1063 1063 mutex_unlock(&intel_pstate_limits_lock); 1064 1064 mutex_unlock(&intel_pstate_driver_lock); 1065 1065 return -EPERM;
+7
kernel/power/hibernate.c
··· 898 898 error = freeze_processes(); 899 899 if (error) 900 900 goto Close_Finish; 901 + 902 + error = freeze_kernel_threads(); 903 + if (error) { 904 + thaw_processes(); 905 + goto Close_Finish; 906 + } 907 + 901 908 error = load_image_and_restore(); 902 909 thaw_processes(); 903 910 Finish: