All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 215938] New: amd-pstate ignoring scaling_max_freq after waking from suspend
@ 2022-05-03 15:09 bugzilla-daemon
  2022-05-04  6:16 ` [Bug 215938] " bugzilla-daemon
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: bugzilla-daemon @ 2022-05-03 15:09 UTC (permalink / raw)
  To: linux-pm

https://bugzilla.kernel.org/show_bug.cgi?id=215938

            Bug ID: 215938
           Summary: amd-pstate ignoring scaling_max_freq after waking from
                    suspend
           Product: Power Management
           Version: 2.5
    Kernel Version: 5.17.5
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: cpufreq
          Assignee: linux-pm@vger.kernel.org
          Reporter: alexmaras@gmail.com
        Regression: No

Using the amd-pstate driver for cpu scaling, I'm only able to enforce a maximum
clock speed when my laptop has not slept. I do the following:

echo 'ondemand' | sudo tee
/sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

echo '1400000' | sudo tee
/sys/devices/system/cpu/cpufreq/policy*/scaling_max_freq

cat /sys/devices/system/cpu/cpufreq/policy*/scaling_cur_freq

At this point, all reported frequencies for all cores are below 1.4ghz. If I
then suspend the laptop, then wake it up, then checking the core frequencies
again will show that it is behaving as if the ondemand governor was not set.
This behavior will persist until a reboot, even if the governor is switched to
another mode and then back, or if the scaling_max_freq value is changed. All
settings will be ignored. 

I have replicated this behavior on another identical model of laptop (Lenovo
IdeaPad 5 14ARE05), 

cpupower frequency-info also reports that the current CPU frequency is set to
1.4GHZ and that the governor is set to ondemand.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2022-07-07 22:36 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-03 15:09 [Bug 215938] New: amd-pstate ignoring scaling_max_freq after waking from suspend bugzilla-daemon
2022-05-04  6:16 ` [Bug 215938] " bugzilla-daemon
2022-05-04 13:46 ` bugzilla-daemon
2022-05-20  8:37 ` bugzilla-daemon
2022-05-20  9:55 ` bugzilla-daemon
2022-05-20  9:56 ` bugzilla-daemon
2022-05-20  9:57 ` bugzilla-daemon
2022-05-31  2:55 ` bugzilla-daemon
2022-05-31  7:32 ` bugzilla-daemon
2022-06-09 14:59 ` bugzilla-daemon
2022-06-09 15:00 ` bugzilla-daemon
2022-06-09 15:15 ` bugzilla-daemon
2022-06-10 17:03 ` bugzilla-daemon
2022-06-11  3:33 ` bugzilla-daemon
2022-06-11  4:11 ` bugzilla-daemon
2022-06-13  1:56 ` bugzilla-daemon
2022-06-13 16:25 ` bugzilla-daemon
2022-06-29 15:35 ` bugzilla-daemon
2022-07-05  1:16 ` bugzilla-daemon
2022-07-05  7:36 ` bugzilla-daemon
2022-07-05  9:28 ` bugzilla-daemon
2022-07-06  6:00 ` bugzilla-daemon
2022-07-07 22:36 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.