linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: linux-pm@vger.kernel.org
Subject: [Bug 217618] New: Changing maximum frequency and boost state does not work with amd-pstate in passive mode plus the schedutil governor
Date: Sat, 01 Jul 2023 08:21:17 +0000	[thread overview]
Message-ID: <bug-217618-137361@https.bugzilla.kernel.org/> (raw)

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.

             reply	other threads:[~2023-07-01  8:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-01  8:21 bugzilla-daemon [this message]
2023-07-03  1:39 ` [Bug 217618] Changing maximum frequency and boost state does not work with amd-pstate in passive mode plus the schedutil governor 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-217618-137361@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=linux-pm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).