linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 217618] New: Changing maximum frequency and boost state does not work with amd-pstate in passive mode plus the schedutil governor
@ 2023-07-01  8:21 bugzilla-daemon
  2023-07-03  1:39 ` [Bug 217618] " bugzilla-daemon
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla-daemon @ 2023-07-01  8:21 UTC (permalink / raw)
  To: linux-pm

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

            Bug ID: 217618
           Summary: Changing maximum frequency and boost state does not
                    work with amd-pstate in passive mode plus the
                    schedutil governor
           Product: Power Management
           Version: 2.5
    Kernel Version: 6.4.0
          Hardware: AMD
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: cpufreq
          Assignee: linux-pm@vger.kernel.org
          Reporter: putr4.s@gmail.com
                CC: ray.huang@amd.com
        Regression: No

I have a HP Omen 16-n0000 laptop with a Ryzen 7 6800H, and if I have amd-pstate
set to passive mode (either by booting with `amd_pstate=passive` kernel cmdline
or by running `echo "passive" | sudo tee
/sys/devices/system/cpu/amd_pstate/status` on runtime) and the governor left to
the default schedutil then changing the maximum allowed frequency (via `sudo
cpupower frequency-set -g 3200MHz` for example) does nothing, the CPU
frequencies (and temperatures along with it) still goes up high. Disabling
boost via `echo 0 | sudo tee /sys/devices/system/cpu/cpufreq/boost` also does
not work with the schedutil governor.

However, if I switch to the ondemand governor then both the boost and maximum
frequency settings work as expected.

The distro I am using is Arch Linux, with kernel 6.4.0 from the testing repo,
although this issue has been present since at least kernel 6.2.x when I first
got this laptop. I can recompile the kernel myself to test patches if there are
any.

Also, for what it's worth amd-pstate in guided mode also ignores both the
maximum frequency and boost knobs, but it does that with both the schedutil and
ondemand governors so I guess that's expected(?).

-- 
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] 7+ messages in thread

end of thread, other threads:[~2024-05-22  2:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-01  8:21 [Bug 217618] New: Changing maximum frequency and boost state does not work with amd-pstate in passive mode plus the schedutil governor bugzilla-daemon
2023-07-03  1:39 ` [Bug 217618] " bugzilla-daemon
2023-07-03  2:41 ` bugzilla-daemon
2023-07-03  8:11 ` bugzilla-daemon
2023-10-16  2:46 ` bugzilla-daemon
2024-05-21 13:09 ` bugzilla-daemon
2024-05-22  2:12 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).