[GIT PULL] Power management fixes for v6.5-rc6

From: Rafael J. Wysocki
Date: Fri Aug 11 2023 - 14:50:57 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
pm-6.5-rc6

with top-most commit 4778e1288447d9f90d87df07d195dc89e290d973

Merge branch 'pm-cpufreq'

on top of commit 52a93d39b17dc7eb98b6aa3edb93943248e03b2f

Linux 6.5-rc5

to receive power management fixes for 6.5-rc6.

These fix an amd-pstate cpufreq driver issues and recently introduced
hibernation-related breakage.

Specifics:

- Make amd-pstate use device_attributes as expected by the CPU root
kobject (Thomas Weißschuh).

- Restore the previous behavior of resume_store() when hibernation is
not available which is to return the full number of bytes that were
to be written by user space (Vlastimil Babka).

Thanks!


---------------

Thomas Weißschuh (1):
cpufreq: amd-pstate: fix global sysfs attribute type

Vlastimil Babka (1):
PM: hibernate: fix resume_store() return value when hibernation
not available

---------------

drivers/cpufreq/amd-pstate.c | 10 +++++-----
kernel/power/hibernate.c | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)