[GIT PULL] Power management fixes for v7.0-rc6
From: Rafael J. Wysocki
Date: Thu Mar 26 2026 - 14:14:12 EST
Hi Linus,
Please pull from the tag
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
pm-7.0-rc6
with top-most commit 042f99c493c2cef3b15de2df19c06df514d39ac7
Merge branch 'pm-sleep'
on top of commit c369299895a591d96745d6492d4888259b004a9e
Linux 7.0-rc5
to receive power management fixes for 7.0-rc6.
These fix two cpufreq issues, one in the core and one in the
conservative governor, and two issues related to system sleep:
- Restore the cpufreq core behavior changed inadvertently during the
6.19 development cycle to call cpufreq_frequency_table_cpuinfo()
for cpufreq policies getting re-initialized which ensures that
policy->max and policy->cpuinfo_max_freq will be valid going
forward (Viresh Kumar)
- Adjust the cached requested frequency in the conservative cpufreq
governor on policy limits changes to prevent it from becoming stale
in some cases (Viresh Kumar)
- Prevent pm_restore_gfp_mask() from triggering a WARN_ON() in some
code paths in which it is legitimately called without invoking
pm_restrict_gfp_mask() previously (Youngjun Park)
- Update snapshot_write_finalize() to take trailing zero pages into
account properly which prevents user space restore from failing
subsequently in some cases (Alberto Garcia)
Thanks!
---------------
Alberto Garcia (1):
PM: hibernate: Drain trailing zero pages on userspace restore
Viresh Kumar (2):
cpufreq: Don't skip cpufreq_frequency_table_cpuinfo()
cpufreq: conservative: Reset requested_freq on limits change
Youngjun Park (1):
PM: sleep: Drop spurious WARN_ON() from pm_restore_gfp_mask()
---------------
drivers/cpufreq/cpufreq.c | 9 +++------
drivers/cpufreq/cpufreq_conservative.c | 12 ++++++++++++
drivers/cpufreq/cpufreq_governor.c | 3 +++
drivers/cpufreq/cpufreq_governor.h | 1 +
drivers/cpufreq/freq_table.c | 4 ++++
kernel/power/main.c | 2 +-
kernel/power/snapshot.c | 11 +++++++++++
7 files changed, 35 insertions(+), 7 deletions(-)