(In reply to Mario Limonciello (AMD) from comment #101)
> Those of you that can still reproduce this, does reverting
> https://github.com/torvalds/linux/commit/
> 4dbd11796f3a8eb95647507befc41995458a4023 change anything?  That commit is
> correct so we wouldn't revert it in mainline, but it might give a hint that
> there are multiple timing problems.
> 
> Please give it a solid shake out (at least 10 cycles that you unplug power
> adapter during suspend) before reporting back.

Hi Mario,

I tested reverting commit 4dbd11796f3a on my HP Zbook Firefly G10 with a
Ryzen 7 PRO 7840HS, as you suggested.

Result: The problem was resolved. I performed the test cycle more than
10 times and the CPU frequency scaled normally after every single
resume.

Before the revert, the problem would consistently occur during the test
cycle described below:

1) Laptop in use plugged on HP charger (any power profile)
2) Close lid of laptop
3) Unplug HP charger
4) Wait a few seconds
5) Plug in HP charger
6) Open Laptop - See that the CPU is stuck at 544 Hz.
7) Unplug and plug the charger makes the frequency normal again at a minimum of 
1101 Hz but scaling normally.

My system details:
- Model: HP Zbook Firefly 14 inch G10 A (SBKPF,SBKPFV2)
- CPU: AMD Ryzen 7 PRO 7840HS
- BIOS: V82 Ver. 01.09.00
- OS: Fedora Silverblue 42

Thank you for your help.
Márcio

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2088733

Title:
  low CPU frequency after wake up AMD Ryzen

Status in Linux:
  Invalid
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  After wake up I can see at least once a week issue with CPU frequency
  not going up. When running:

  $ watch lscpu -e=CPU,MHZ

  standard output looks like:

  CPU       MHZ
    0  400.0000
    1 1383.2480
    2  400.0000
    3  400.0000
    4  400.0000
    5 2699.7561
    6 1288.0500
    7  400.0000
    8  400.0000
    9  400.0000
   10  400.0000
   11  400.0000
   12 3244.0720
   13  400.0000
   14  400.0000
   15 1295.9050

  while when the issue occurs, I can't see 600 Mhz or higher values in
  the same graph. Which also means that response time of computer is
  much lower and everything feels lazy.

  Restart fixes the issue or plug power cable off and in again.

  My CPU is AMD Ryzen™ 7 PRO 7840HS w/ Radeon™ 780M Graphics × 16
  My kernel version: 6.8.0-48-generic #48-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 
14:04:52 UTC 2024
  OS version: Ubuntu 24.04.1 LTS
  My laptop: HP ZBook Firefly 14 inch G10 A Mobile Workstation PC

  I know about one more person with same machine type with the issue and
  there is also this question on askubuntu which says there is third
  person with this issue.

  https://askubuntu.com/questions/1531956/cpu-too-slow-after-waking-up-
  in-ubuntu-24-04-1

  This bug looks pretty similar however should be fixed already, so creating 
new one
  https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.19/+bug/2007718

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/2088733/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to