* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
@ 2024-04-22 6:54 ` bugzilla-daemon
2024-04-22 8:12 ` bugzilla-daemon
` (34 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-04-22 6:54 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
Gaha (gahabana@gmail.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
Kernel Version| |6.9-rc5
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
2024-04-22 6:54 ` [Bug 218759] " bugzilla-daemon
@ 2024-04-22 8:12 ` bugzilla-daemon
2024-04-22 8:13 ` bugzilla-daemon
` (33 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-04-22 8:12 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #1 from Perry Yuan(AMD) (Perry.Yuan@amd.com) ---
Created attachment 306193
--> https://bugzilla.kernel.org/attachment.cgi?id=306193&action=edit
cppc check script
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
2024-04-22 6:54 ` [Bug 218759] " bugzilla-daemon
2024-04-22 8:12 ` bugzilla-daemon
@ 2024-04-22 8:13 ` bugzilla-daemon
2024-04-22 10:15 ` bugzilla-daemon
` (32 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-04-22 8:13 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #2 from Perry Yuan(AMD) (Perry.Yuan@amd.com) ---
Hi There,
Could you run the script to capture the CPPC capabilities to check the detail?
Perry
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (2 preceding siblings ...)
2024-04-22 8:13 ` bugzilla-daemon
@ 2024-04-22 10:15 ` bugzilla-daemon
2024-04-24 23:44 ` bugzilla-daemon
` (31 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-04-22 10:15 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #3 from Gaha (gahabana@gmail.com) ---
Created attachment 306194
--> https://bugzilla.kernel.org/attachment.cgi?id=306194&action=edit
Output of CPCC script (on 6.8.0-rc5 kernel)
Output of cppc_attr_values_check.sh script.
BTW, it is exactly the same when ran on 'older' 6.8.7 kernel
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (3 preceding siblings ...)
2024-04-22 10:15 ` bugzilla-daemon
@ 2024-04-24 23:44 ` bugzilla-daemon
2024-04-25 0:39 ` bugzilla-daemon
` (30 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-04-24 23:44 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #4 from Gaha (gahabana@gmail.com) ---
Anything else i could do that might help pinpoint or reproduce the issue ?
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (4 preceding siblings ...)
2024-04-24 23:44 ` bugzilla-daemon
@ 2024-04-25 0:39 ` bugzilla-daemon
2024-04-25 10:12 ` bugzilla-daemon
` (29 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-04-25 0:39 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #5 from Perry Yuan(AMD) (Perry.Yuan@amd.com) ---
(In reply to Gaha from comment #4)
> Anything else i could do that might help pinpoint or reproduce the issue ?
Hi Gaha,
Sorry to reply late,
could you please try the below two patchset ?
1. https://lore.kernel.org/lkml/cover.1713858800.git.perry.yuan@amd.com/
2. https://lore.kernel.org/lkml/cover.1713861200.git.perry.yuan@amd.com/
then switch to amd pstate EPP driver mode, then provide "lscpu -ae" output with
"tbench -t 100 2"
then we could see what it changed.
Perry.
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (5 preceding siblings ...)
2024-04-25 0:39 ` bugzilla-daemon
@ 2024-04-25 10:12 ` bugzilla-daemon
2024-04-25 15:21 ` bugzilla-daemon
` (28 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-04-25 10:12 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #6 from Gaha (gahabana@gmail.com) ---
hi, I've applied patches to 6.9.0-rc5 and built kernel with those.
With kernel command line being either "passive", "guided" or "active" result is
the same - single core never goes above 4.35Ghz. with 6.8 kernel it does go all
the way to 5.1Ghz.
here is the output of lscpu -ae when running Geekbench (during single core
load) and it is the same with 'cat /dev/zero > /dev/null' . As for the 'tbench
-t 100 2' - on my ubuntu system tbench is part of diskbench. If you were
referring to tbench as part of kernel testing suite
(https://docs.kernel.org/6.8/admin-guide/pm/amd-pstate.html) - i tried building
it, it produces errors as scripts are looking for amd-pstate driver not
amd-pstate-epp driver etc...
However, am 100% certain that frequencies never boost above 4.35Ghz.(went back
to 6.8.7 kernel and all is good).
Here is the (hopefully useful output) showing that new 'cpp_boost' flag is
there etc as well as lspci -ae outputs during single core loading:
zh@muc:~/kselftest/amd-pstate$ cat /sys/devices/system/cpu/amd_pstate/cpb_boost
1
zh@muc:~/kselftest/amd-pstate$ cat
/sys/devices/system/cpu/cpufreq/policy0/scaling_driver
amd-pstate-epp
zh@muc:~$ lscpu -ae
CPU NODE SOCKET CORE L1d:L1i:L2:L3 ONLINE MAXMHZ MINMHZ MHZ
0 0 0 0 0:0:0:0 yes 4350.0000 400.0000 400.0000
1 0 0 1 1:1:1:0 yes 4350.0000 400.0000 4309.2700
2 0 0 2 2:2:2:0 yes 4350.0000 400.0000 2416.1770
3 0 0 3 3:3:3:0 yes 4350.0000 400.0000 400.0000
4 0 0 4 4:4:4:0 yes 4350.0000 400.0000 1722.2209
5 0 0 5 5:5:5:0 yes 4350.0000 400.0000 400.0000
6 0 0 6 6:6:6:0 yes 4350.0000 400.0000 400.0000
7 0 0 7 7:7:7:0 yes 4350.0000 400.0000 400.0000
8 0 0 0 0:0:0:0 yes 4350.0000 400.0000 1480.4850
9 0 0 1 1:1:1:0 yes 4350.0000 400.0000 4307.9858
10 0 0 2 2:2:2:0 yes 4350.0000 400.0000 1751.6750
11 0 0 3 3:3:3:0 yes 4350.0000 400.0000 1722.3180
12 0 0 4 4:4:4:0 yes 4350.0000 400.0000 400.0000
13 0 0 5 5:5:5:0 yes 4350.0000 400.0000 400.0000
14 0 0 6 6:6:6:0 yes 4350.0000 400.0000 400.0000
15 0 0 7 7:7:7:0 yes 4350.0000 400.0000 400.0000
Are there any other tests i could run to help figure out root cause of problem
with 6.9 kernel ?
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (6 preceding siblings ...)
2024-04-25 10:12 ` bugzilla-daemon
@ 2024-04-25 15:21 ` bugzilla-daemon
2024-04-25 16:21 ` bugzilla-daemon
` (27 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-04-25 15:21 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #7 from Gaha (gahabana@gmail.com) ---
FYI - sorry if obvious to you & the team - i tried manually compiling 6.8.7 and
it works fine. I tried to see if these patches can be applied to it, but that
is not the case.
Therefore am certain that whatever is causing scaling in single core workloads
not to work it is result of the changes made between 6.8 and 6.9
Appreciate this may not help but here it is.
thank you
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (7 preceding siblings ...)
2024-04-25 15:21 ` bugzilla-daemon
@ 2024-04-25 16:21 ` bugzilla-daemon
2024-04-25 18:15 ` bugzilla-daemon
` (26 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-04-25 16:21 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #8 from Mario Limonciello (AMD) (mario.limonciello@amd.com) ---
Can you please try with preferred core disabled?
amd_prefcore=disable
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (8 preceding siblings ...)
2024-04-25 16:21 ` bugzilla-daemon
@ 2024-04-25 18:15 ` bugzilla-daemon
2024-04-25 18:49 ` bugzilla-daemon
` (25 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-04-25 18:15 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #9 from Gaha (gahabana@gmail.com) ---
hi , thank you for the suggestions (@Mario),
I've just tried that as well. Single core workloads still do not go above
'basic' speeds. In addition to adding 'amd_prefcore=disable' below i've also
tried adding explicitly to kernel command line amd_pstate various parameters
(active, guided, passive) 'GRUB_CMDLINE_LINUX_DEFAULT="amd_pstate=guided
amd_prefcore=disable iommu=pt quiet " with no change in behaviour
zh@muc:~$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-6.9.0-rc5-zh-250HZ-amdpatches+
root=UUID=dc0bb664-2e43-421d-bd28-96d0332f030c ro amd_prefcore=disable iommu=pt
quiet
zh@muc:~$ uname -a
Linux muc 6.9.0-rc5-zh-250HZ-amdpatches+ #5 SMP PREEMPT_DYNAMIC Thu Apr 25
11:45:21 CEST 2024 x86_64 x86_64 x86_64 GNU/Linux
... (In 2nd session am running 'cat /dev/zero >/dev/null')
zh@muc:~$ lscpu -ae
CPU NODE SOCKET CORE L1d:L1i:L2:L3 ONLINE MAXMHZ MINMHZ MHZ
0 0 0 0 0:0:0:0 yes 4350.0000 400.0000 1815.3290
1 0 0 1 1:1:1:0 yes 4350.0000 400.0000 1724.5240
2 0 0 2 2:2:2:0 yes 4350.0000 400.0000 2156.9199
3 0 0 3 3:3:3:0 yes 4350.0000 400.0000 400.0000
4 0 0 4 4:4:4:0 yes 4350.0000 400.0000 400.0000
5 0 0 5 5:5:5:0 yes 4350.0000 400.0000 2050.2410
6 0 0 6 6:6:6:0 yes 4350.0000 400.0000 400.0000
7 0 0 7 7:7:7:0 yes 4350.0000 400.0000 400.0000
8 0 0 0 0:0:0:0 yes 4350.0000 400.0000 400.0000
9 0 0 1 1:1:1:0 yes 4350.0000 400.0000 400.0000
10 0 0 2 2:2:2:0 yes 4350.0000 400.0000 400.0000
11 0 0 3 3:3:3:0 yes 4350.0000 400.0000 400.0000
12 0 0 4 4:4:4:0 yes 4350.0000 400.0000 400.0000
13 0 0 5 5:5:5:0 yes 4350.0000 400.0000 400.0000
14 0 0 6 6:6:6:0 yes 4350.0000 400.0000 4315.7319
15 0 0 7 7:7:7:0 yes 4350.0000 400.0000 400.0000
I hope this helps ?
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (9 preceding siblings ...)
2024-04-25 18:15 ` bugzilla-daemon
@ 2024-04-25 18:49 ` bugzilla-daemon
2024-04-26 0:06 ` bugzilla-daemon
` (24 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-04-25 18:49 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #10 from Mario Limonciello (AMD) (mario.limonciello@amd.com) ---
In that case, would you be able to bisect perhaps? I think you can *probably*
focus the bisect on drivers/cpufreq directory so it should be relatively quick.
Even if that is indeterminate you'll at least have a bunch of function hashes
you can use to reduce the number of steps for a full kernel tree bisect.
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (10 preceding siblings ...)
2024-04-25 18:49 ` bugzilla-daemon
@ 2024-04-26 0:06 ` bugzilla-daemon
2024-04-26 0:10 ` bugzilla-daemon
` (23 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-04-26 0:06 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #11 from Gaha (gahabana@gmail.com) ---
(In reply to Mario Limonciello (AMD) from comment #10)
> In that case, would you be able to bisect perhaps? I think you can
> *probably* focus the bisect on drivers/cpufreq directory so it should be
> relatively quick.
>
> Even if that is indeterminate you'll at least have a bunch of function
> hashes you can use to reduce the number of steps for a full kernel tree
> bisect.
Hi, tx but am not sure I'd know how to do that.
Just wanted to report a bug and help to the best of my abilities to get it
sorted out as it may impact more people down the road.
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (11 preceding siblings ...)
2024-04-26 0:06 ` bugzilla-daemon
@ 2024-04-26 0:10 ` bugzilla-daemon
2024-04-26 8:18 ` bugzilla-daemon
` (22 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-04-26 0:10 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #12 from Mario Limonciello (AMD) (mario.limonciello@amd.com) ---
This should help you get started on a bisect:
https://www.kernel.org/doc/html/latest/admin-guide/bug-bisect.html
If you can build a kernel you basically take a good and bash hash and then pick
a point in between and keep going at half way points until you found the broken
commit.
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (12 preceding siblings ...)
2024-04-26 0:10 ` bugzilla-daemon
@ 2024-04-26 8:18 ` bugzilla-daemon
2024-04-26 8:28 ` bugzilla-daemon
` (21 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-04-26 8:18 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #13 from The Linux kernel's regression tracker (Thorsten Leemhuis) (regressions@leemhuis.info) ---
FWIW, a more verbose bisection guide can be found here:
https://docs.kernel.org/admin-guide/verify-bugs-and-bisect-regressions.html
While at it, let me add this to the regression tracking:
#regzbot introduced: v6.8..v6.9-rc5
#regzbot summary: Ryzen 7840HS CPU single core never boosts to max frequency
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (13 preceding siblings ...)
2024-04-26 8:18 ` bugzilla-daemon
@ 2024-04-26 8:28 ` bugzilla-daemon
2024-04-26 13:59 ` bugzilla-daemon
` (20 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-04-26 8:28 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #14 from Perry Yuan(AMD) (Perry.Yuan@amd.com) ---
Hi all,
I have got issue root cause and working on new fix patch, there is one power
firmware change on this generation CPU.
will share the testing patch once I got it done.
Perry.
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (14 preceding siblings ...)
2024-04-26 8:28 ` bugzilla-daemon
@ 2024-04-26 13:59 ` bugzilla-daemon
2024-05-03 8:49 ` bugzilla-daemon
` (19 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-04-26 13:59 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #15 from Gaha (gahabana@gmail.com) ---
:thumbs-up: :)
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (15 preceding siblings ...)
2024-04-26 13:59 ` bugzilla-daemon
@ 2024-05-03 8:49 ` bugzilla-daemon
2024-05-03 11:08 ` bugzilla-daemon
` (18 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-05-03 8:49 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
The Linux kernel's regression tracker (Thorsten Leemhuis) (regressions@leemhuis.info) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |regressions@leemhuis.info
--- Comment #16 from The Linux kernel's regression tracker (Thorsten Leemhuis) (regressions@leemhuis.info) ---
(In reply to Perry Yuan(AMD) from comment #14)
> I have got issue root cause and working on new fix patch,
What's the status? 6.9 might be released in 9 days and it would be good to have
this fixed.
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (16 preceding siblings ...)
2024-05-03 8:49 ` bugzilla-daemon
@ 2024-05-03 11:08 ` bugzilla-daemon
2024-05-03 12:24 ` bugzilla-daemon
` (17 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-05-03 11:08 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #17 from Mario Limonciello (AMD) (mario.limonciello@amd.com) ---
Perry is on leave right now for Labor Day so I'll update the status.
The fix is developed but under internal code review at the moment. I don't
expect it to make 6.9 but it's small enough we can aim for it to go to 6.9.y.
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (17 preceding siblings ...)
2024-05-03 11:08 ` bugzilla-daemon
@ 2024-05-03 12:24 ` bugzilla-daemon
2024-05-07 8:41 ` bugzilla-daemon
` (16 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-05-03 12:24 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #18 from The Linux kernel's regression tracker (Thorsten Leemhuis) (regressions@leemhuis.info) ---
thx for the update, Mario!
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (18 preceding siblings ...)
2024-05-03 12:24 ` bugzilla-daemon
@ 2024-05-07 8:41 ` bugzilla-daemon
2024-05-07 9:13 ` bugzilla-daemon
` (15 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-05-07 8:41 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #19 from Perry Yuan(AMD) (Perry.Yuan@amd.com) ---
Hi, Please try this patchset for the issue
https://lore.kernel.org/lkml/cover.1715065568.git.perry.yuan@amd.com/
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (19 preceding siblings ...)
2024-05-07 8:41 ` bugzilla-daemon
@ 2024-05-07 9:13 ` bugzilla-daemon
2024-05-07 9:14 ` bugzilla-daemon
` (14 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-05-07 9:13 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #20 from Gaha (gahabana@gmail.com) ---
hi,
i tried applying the batch to linux rcX tree and i can not get it to apply
the patch. Have tried v6.9-rc7, -rc6 , -rc5 and -rc1 - all fail with the same
msg:
zh@muc:~/git/linus-kernel$ git am
./20240507_perry_yuan_amd_pstate_driver_fixes_and_improvements.mbx
Applying: cpufreq: amd-pstate: optimiza the initial frequency values
verification
error: patch failed: drivers/cpufreq/amd-pstate.c:873
error: drivers/cpufreq/amd-pstate.c: patch does not apply
Patch failed at 0001 cpufreq: amd-pstate: optimiza the initial frequency values
verification
hint: Use 'git am --show-current-patch=diff' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
should I apply this to a different 'base' kernel code ?
Will post file as a result of 'git am --show-current-patch=diff' as well if it
helps:
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (20 preceding siblings ...)
2024-05-07 9:13 ` bugzilla-daemon
@ 2024-05-07 9:14 ` bugzilla-daemon
2024-05-07 10:29 ` bugzilla-daemon
` (13 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-05-07 9:14 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #21 from Gaha (gahabana@gmail.com) ---
Created attachment 306267
--> https://bugzilla.kernel.org/attachment.cgi?id=306267&action=edit
result of 'git am --show-current-patch=diff'
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (21 preceding siblings ...)
2024-05-07 9:14 ` bugzilla-daemon
@ 2024-05-07 10:29 ` bugzilla-daemon
2024-05-07 10:30 ` bugzilla-daemon
` (12 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-05-07 10:29 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #22 from The Linux kernel's regression tracker (Thorsten Leemhuis) (regressions@leemhuis.info) ---
(In reply to Perry Yuan(AMD) from comment #19)
> https://lore.kernel.org/lkml/cover.1715065568.git.perry.yuan@amd.com/
Correct me if I'm wrong, but from Mario's earlier comment, the number of
patches, and number of changed lines this does sounds like this won't be
applied for 6.9 this late; there are no Fixes or stable tags either.
So what's the plan to prevent this regression from entering 6.9? Do we know
which commit caused this? Can we revert that one and reapply it for 6.10
(together with these changes, once reviewed).
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (22 preceding siblings ...)
2024-05-07 10:29 ` bugzilla-daemon
@ 2024-05-07 10:30 ` bugzilla-daemon
2024-05-07 12:19 ` bugzilla-daemon
` (11 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-05-07 10:30 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #23 from The Linux kernel's regression tracker (Thorsten Leemhuis) (regressions@leemhuis.info) ---
Also: how many users do we suspect will run into this?
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (23 preceding siblings ...)
2024-05-07 10:30 ` bugzilla-daemon
@ 2024-05-07 12:19 ` bugzilla-daemon
2024-05-07 12:21 ` bugzilla-daemon
` (10 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-05-07 12:19 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #24 from Mario Limonciello (AMD) (mario.limonciello@amd.com) ---
It's one patch in the series that was added to the series that helps, but a lot
of this code is intertwined. I'll look whether it can move to front of the
series if reordered.
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (24 preceding siblings ...)
2024-05-07 12:19 ` bugzilla-daemon
@ 2024-05-07 12:21 ` bugzilla-daemon
2024-05-07 12:22 ` bugzilla-daemon
` (9 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-05-07 12:21 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #25 from Mario Limonciello (AMD) (mario.limonciello@amd.com) ---
Try to apply just patch 10 in that above link.
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (25 preceding siblings ...)
2024-05-07 12:21 ` bugzilla-daemon
@ 2024-05-07 12:22 ` bugzilla-daemon
2024-05-07 13:00 ` bugzilla-daemon
` (8 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-05-07 12:22 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #26 from Mario Limonciello (AMD) (mario.limonciello@amd.com) ---
But that might need patch 9 too, we'll have to see what really makes sense for
stable.
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (26 preceding siblings ...)
2024-05-07 12:22 ` bugzilla-daemon
@ 2024-05-07 13:00 ` bugzilla-daemon
2024-05-07 13:20 ` bugzilla-daemon
` (7 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-05-07 13:00 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #27 from Gaha (gahabana@gmail.com) ---
(In reply to Mario Limonciello (AMD) from comment #26)
> But that might need patch 9 too, we'll have to see what really makes sense
> for stable.
Thank you Mario! I tried applying only 10 or 9&10 (git am -i
./patchfromperry.mbx) and it fails in the same way.
Have even played with previous other pstate patches (latest versions of those
mentioned at the top of this thread that Perry mentioned may help) - with no
avail.
So my question is please the same:
*** to which source version these patches correspond to and what are the
prerequiste patches (if any) ? ***
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (27 preceding siblings ...)
2024-05-07 13:00 ` bugzilla-daemon
@ 2024-05-07 13:20 ` bugzilla-daemon
2024-05-07 13:23 ` bugzilla-daemon
` (6 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-05-07 13:20 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #28 from Mario Limonciello (AMD) (mario.limonciello@amd.com) ---
Everything should be based off the bleeding-edge branch for linux-pm which is
code headed to 6.10.
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (28 preceding siblings ...)
2024-05-07 13:20 ` bugzilla-daemon
@ 2024-05-07 13:23 ` bugzilla-daemon
2024-05-07 13:24 ` bugzilla-daemon
` (5 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-05-07 13:23 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #29 from Gaha (gahabana@gmail.com) ---
(In reply to Mario Limonciello (AMD) from comment #28)
> Everything should be based off the bleeding-edge branch for linux-pm which
> is code headed to 6.10.
Thank you Mario - not so simple for not-kernel-developers :( Appreciate the
response and clarity though :)
Was hoping to be able to test and report but will need to wait a month or so i
guess for 6.10-rc1 to be able to do that. Pity 6.9 will limit single core
performance on loads of AMD Ryzen CPUs ... unless Perry manages to address that
issue w/o requiring all the other patches ... still not clear which change from
6.8 to 6.9 caused this to go 'wrong'
Thank you all !
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (29 preceding siblings ...)
2024-05-07 13:23 ` bugzilla-daemon
@ 2024-05-07 13:24 ` bugzilla-daemon
2024-05-07 17:48 ` bugzilla-daemon
` (4 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-05-07 13:24 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #30 from Gaha (gahabana@gmail.com) ---
(In reply to Mario Limonciello (AMD) from comment #28)
> Everything should be based off the bleeding-edge branch for linux-pm which
> is code headed to 6.10.
Thank you Mario - not so simple for not-kernel-developers :( Appreciate the
response and clarity though :)
Was hoping to be able to test and report but will need to wait a month or so i
guess for 6.10-rc1 to be able to do that. Pity 6.9 will limit single core
performance on loads of AMD Ryzen CPUs ... unless Perry manages to address that
issue w/o requiring all the other patches ... still not clear which change from
6.8 to 6.9 caused this to go 'wrong'
Thank you all !
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (30 preceding siblings ...)
2024-05-07 13:24 ` bugzilla-daemon
@ 2024-05-07 17:48 ` bugzilla-daemon
2024-05-07 17:57 ` bugzilla-daemon
` (3 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-05-07 17:48 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #31 from Gaha (gahabana@gmail.com) ---
btw i did clone both linux-next as well as linux-pm and could not apply those
patches to either of them :(
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (31 preceding siblings ...)
2024-05-07 17:48 ` bugzilla-daemon
@ 2024-05-07 17:57 ` bugzilla-daemon
2024-05-07 18:50 ` bugzilla-daemon
` (2 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-05-07 17:57 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #32 from Mario Limonciello (AMD) (mario.limonciello@amd.com) ---
I've pulled out just the relevant fix to it's own patch here:
https://lore.kernel.org/linux-pm/20240507174810.46709-1-mario.limonciello@amd.com/T/#u
I applied that to 6.9-rc7 and tested it. Can you see if that helps you?
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (32 preceding siblings ...)
2024-05-07 17:57 ` bugzilla-daemon
@ 2024-05-07 18:50 ` bugzilla-daemon
2024-05-07 18:57 ` bugzilla-daemon
2024-05-07 19:01 ` bugzilla-daemon
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-05-07 18:50 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #33 from Gaha (gahabana@gmail.com) ---
hi Mario - FANTASTIC job - Thank you :) !
Applied to -rc7 - recompiled - all good.
When running single core tasks on my Ryzen 7840HS single core does go to almost
5.1GHz as it used to... Geekbench scores are great.
I tried only with 'amd_pstate=active' as kernel parameter - should i test with
'guided' and/or 'passive' , or it is a waste of time as this fix addressed all
scenarios ?
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (33 preceding siblings ...)
2024-05-07 18:50 ` bugzilla-daemon
@ 2024-05-07 18:57 ` bugzilla-daemon
2024-05-07 19:01 ` bugzilla-daemon
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-05-07 18:57 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
--- Comment #34 from Mario Limonciello (AMD) (mario.limonciello@amd.com) ---
Great! It should apply equally to all modes. If there is a regression with any
other mode it should be a different root cause.
If you feel comfortable doing so please add a "Tested-by" tag publicly on the
link I posted, instructions at bottom of the page.
--
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] 37+ messages in thread* [Bug 218759] 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency
2024-04-22 6:50 [Bug 218759] New: 6.9-rc kernels - with Ryzen 7840HS CPU single core never boosts to max frequency bugzilla-daemon
` (34 preceding siblings ...)
2024-05-07 18:57 ` bugzilla-daemon
@ 2024-05-07 19:01 ` bugzilla-daemon
35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2024-05-07 19:01 UTC (permalink / raw)
To: linux-pm
https://bugzilla.kernel.org/show_bug.cgi?id=218759
Mario Limonciello (AMD) (mario.limonciello@amd.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|linux-pm@vger.kernel.org |mario.limonciello@amd.com
--
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] 37+ messages in thread