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 219858] AMD Zen 2 broken power management after sleep
Date: Fri, 21 Mar 2025 16:13:34 +0000	[thread overview]
Message-ID: <bug-219858-137361-4sqvBwjJIE@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-219858-137361@https.bugzilla.kernel.org/>

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

--- Comment #5 from Diogo Carvalho (diogotavc@protonmail.com) ---
Before:

```
2025-03-21 16:08:24,596 INFO:   🐧 Kernel:       6.14.0-0.rc6.49.fc42.x86_64
2025-03-21 16:08:24,596 INFO:   🫆 'status':     active
2025-03-21 16:08:24,597 INFO:   🫆 'prefcore':   disabled
2025-03-21 16:08:24,637 INFO:   💻 CPU:          AMD Ryzen 7 5700U with Radeon
Graphics
2025-03-21 16:08:24,643 INFO:   🔋 Per-CPU sysfs files
+---------+----------------+----------------------+----------------+--------------------+--------------------+---------------------------------+------------+---------+
|   CPU # |   CPU Min Freq |   CPU Nonlinear Freq |   CPU Max Freq |   Scaling
Min Freq |   Scaling Max Freq | Energy Performance Preference   |   Prefcore | 
 Boost |
|---------+----------------+----------------------+----------------+--------------------+--------------------+---------------------------------+------------+---------|
|       0 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|       1 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|       2 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|       3 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|       4 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|       5 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|       6 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|       7 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|       8 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|       9 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|      10 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|      11 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|      12 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|      13 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|      14 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|      15 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
+---------+----------------+----------------------+----------------+--------------------+--------------------+---------------------------------+------------+---------+
2025-03-21 16:08:24,654 WARNING:        🚦 MSR checks unavailable
```

After:

```
2025-03-21 16:09:31,138 INFO:   🐧 Kernel:       6.14.0-0.rc6.49.fc42.x86_64
2025-03-21 16:09:31,138 INFO:   🫆 'status':     active
2025-03-21 16:09:31,138 INFO:   🫆 'prefcore':   disabled
2025-03-21 16:09:31,155 INFO:   💻 CPU:          AMD Ryzen 7 5700U with Radeon
Graphics
2025-03-21 16:09:31,157 INFO:   🔋 Per-CPU sysfs files
+---------+----------------+----------------------+----------------+--------------------+--------------------+---------------------------------+------------+---------+
|   CPU # |   CPU Min Freq |   CPU Nonlinear Freq |   CPU Max Freq |   Scaling
Min Freq |   Scaling Max Freq | Energy Performance Preference   |   Prefcore | 
 Boost |
|---------+----------------+----------------------+----------------+--------------------+--------------------+---------------------------------+------------+---------|
|       0 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|       1 |         400000 |              1114000 |        4373000 |           
1114000 |            1801000 | power                           |        255 |  
    1 |
|       2 |         400000 |              1114000 |        4373000 |           
1114000 |            1801000 | power                           |        255 |  
    1 |
|       3 |         400000 |              1114000 |        4373000 |           
1114000 |            1801000 | power                           |        255 |  
    1 |
|       4 |         400000 |              1114000 |        4373000 |           
1114000 |            1801000 | power                           |        255 |  
    1 |
|       5 |         400000 |              1114000 |        4373000 |           
1114000 |            1801000 | power                           |        255 |  
    1 |
|       6 |         400000 |              1114000 |        4373000 |           
1114000 |            1801000 | power                           |        255 |  
    1 |
|       7 |         400000 |              1114000 |        4373000 |           
1114000 |            1801000 | power                           |        255 |  
    1 |
|       8 |         400000 |              1114000 |        4373000 |           
1114000 |            1801000 | power                           |        255 |  
    1 |
|       9 |         400000 |              1114000 |        4373000 |           
1114000 |            1801000 | power                           |        255 |  
    1 |
|      10 |         400000 |              1114000 |        4373000 |           
1114000 |            1801000 | power                           |        255 |  
    1 |
|      11 |         400000 |              1114000 |        4373000 |           
1114000 |            1801000 | power                           |        255 |  
    1 |
|      12 |         400000 |              1114000 |        4373000 |           
1114000 |            1801000 | power                           |        255 |  
    1 |
|      13 |         400000 |              1114000 |        4373000 |           
1114000 |            1801000 | power                           |        255 |  
    1 |
|      14 |         400000 |              1114000 |        4373000 |           
1114000 |            1801000 | power                           |        255 |  
    1 |
|      15 |         400000 |              1114000 |        4373000 |           
1114000 |            1801000 | power                           |        255 |  
    1 |
+---------+----------------+----------------------+----------------+--------------------+--------------------+---------------------------------+------------+---------+
2025-03-21 16:09:31,162 WARNING:        🚦 MSR checks unavailable
```

After (setting power saving mode again):

```
2025-03-21 16:08:51,541 INFO:   🐧 Kernel:       6.14.0-0.rc6.49.fc42.x86_64
2025-03-21 16:08:51,542 INFO:   🫆 'status':     active
2025-03-21 16:08:51,542 INFO:   🫆 'prefcore':   disabled
2025-03-21 16:08:51,557 INFO:   💻 CPU:          AMD Ryzen 7 5700U with Radeon
Graphics
2025-03-21 16:08:51,559 INFO:   🔋 Per-CPU sysfs files
+---------+----------------+----------------------+----------------+--------------------+--------------------+---------------------------------+------------+---------+
|   CPU # |   CPU Min Freq |   CPU Nonlinear Freq |   CPU Max Freq |   Scaling
Min Freq |   Scaling Max Freq | Energy Performance Preference   |   Prefcore | 
 Boost |
|---------+----------------+----------------------+----------------+--------------------+--------------------+---------------------------------+------------+---------|
|       0 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|       1 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|       2 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|       3 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|       4 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|       5 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|       6 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|       7 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|       8 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|       9 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|      10 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|      11 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|      12 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|      13 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|      14 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
|      15 |         400000 |              1114000 |        1801000 |           
1114000 |            1801000 | power                           |        255 |  
    0 |
+---------+----------------+----------------------+----------------+--------------------+--------------------+---------------------------------+------------+---------+
2025-03-21 16:08:51,563 WARNING:        🚦 MSR checks unavailable
```

I can confirm that it still boosts over the supposed max frequency, regardless.

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

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

  parent reply	other threads:[~2025-03-21 16:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-12  1:32 [Bug 219858] New: AMD Zen 2 broken power management after sleep bugzilla-daemon
2025-03-12 18:58 ` [Bug 219858] " bugzilla-daemon
2025-03-12 19:31 ` bugzilla-daemon
2025-03-21 15:41 ` bugzilla-daemon
2025-03-21 15:44 ` bugzilla-daemon
2025-03-21 15:49 ` bugzilla-daemon
2025-03-21 16:13 ` bugzilla-daemon [this message]
2025-03-21 16:15 ` bugzilla-daemon
2025-03-21 16:15 ` bugzilla-daemon
2025-03-21 16:18 ` 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-219858-137361-4sqvBwjJIE@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).