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 219851] New: [amd-pstate 6.15] Frequency Scaling Will Not Scale Above Lowest Non-Linear Performance on Ryzen 7 5700U
Date: Sat, 08 Mar 2025 12:52:05 +0000	[thread overview]
Message-ID: <bug-219851-137361@https.bugzilla.kernel.org/> (raw)

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

            Bug ID: 219851
           Summary: [amd-pstate 6.15] Frequency Scaling Will Not Scale
                    Above Lowest Non-Linear Performance on Ryzen 7 5700U
           Product: Power Management
           Version: 2.5
          Hardware: AMD
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: cpufreq
          Assignee: linux-pm@vger.kernel.org
          Reporter: dnaim@cachyos.org
        Regression: No

Created attachment 307781
  --> https://bugzilla.kernel.org/attachment.cgi?id=307781&action=edit
amd-pstate-triage log from bad kernel

On a kernel build with 6.15 amd-pstate material taken from
https://web.git.kernel.org/pub/scm/linux/kernel/git/superm1/linux.git/tag/?h=amd-pstate-v6.15-2025-03-03,
a user noticed that frequency scaling will not scale above Lowest Non-Linear
Perf. Git bisect shows the below as the first bad commit.

620136ced35a9329f4d1ea90e51bee2dfd7ee5b0 is the first bad commit
commit 620136ced35a9329f4d1ea90e51bee2dfd7ee5b0
Author: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Date:   Wed Feb 5 11:25:18 2025 +0000

    cpufreq/amd-pstate: Modularize perf<->freq conversion

    Delegate the perf<->frequency conversion to helper functions to reduce
    code duplication, and improve readability.

    Signed-off-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
    Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
    Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
    Link:
https://lore.kernel.org/r/20250205112523.201101-8-dhananjay.ugwekar@amd.com
    Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>

 drivers/cpufreq/amd-pstate.c | 57
++++++++++++++++++++++++++++++---------------------------
 1 file changed, 30 insertions(+), 27 deletions(-)

Attached are amd-pstate-triage logs from good and bad kernels. They are not
necessarily equal because a revert of the bad commit isn't trivial with the
whole 6.15 content so the "good" kernel only has patches from Dhananjay's
series and the bad commit reverted.

-- 
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:[~2025-03-08 12:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-08 12:52 bugzilla-daemon [this message]
2025-03-08 12:52 ` [Bug 219851] [amd-pstate 6.15] Frequency Scaling Will Not Scale Above Lowest Non-Linear Performance on Ryzen 7 5700U bugzilla-daemon
2025-03-10  5:13 ` bugzilla-daemon
2025-03-10 15:41 ` bugzilla-daemon
2025-03-11  4:27 ` bugzilla-daemon
2025-03-11  4:27 ` bugzilla-daemon
2025-03-11  6:21 ` 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-219851-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).