From: "Viktor Jägersküpper" <viktor_jaegerskuepper@freenet.de>
To: Mario Limonciello <mario.limonciello@amd.com>,
Huang Rui <ray.huang@amd.com>
Cc: linux-pm@vger.kernel.org, regressions@lists.linux.dev
Subject: Re: [REGRESSION] CPU running at fixed frequency (~1.7 GHz) with kernel 7.1-rc1
Date: Wed, 29 Apr 2026 20:34:14 +0200 [thread overview]
Message-ID: <33a693a8-a460-49b7-83cb-1ab7b66ce69e@freenet.de> (raw)
In-Reply-To: <f4fd9018-2a05-454b-a887-9b1c9a8a14df@amd.com>
Am 29.04.26 um 19:14 schrieb Mario Limonciello:
>
>
> On 4/29/26 11:20, Viktor Jägersküpper wrote:
>> Am 29.04.26 um 17:54 schrieb Mario Limonciello:
>>>
>>>
>>> On 4/29/26 10:38, Viktor Jägersküpper wrote:
>>>> Am 29.04.26 um 16:25 schrieb Mario Limonciello:
>>>>>
>>>>>
>>>>> On 4/29/26 08:54, Viktor Jägersküpper wrote:
>>>>>> [You don't often get email from viktor_jaegerskuepper@freenet.de. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>>>>>>
>>>>>> Am 29.04.26 um 15:04 schrieb Mario Limonciello:
>>>>>>>
>>>>>>>
>>>>>>> On 4/29/26 07:34, Viktor Jägersküpper wrote:
>>>>>>>> [You don't often get email from viktor_jaegerskuepper@freenet.de. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> when I boot my desktop system running with an AMD Ryzen 9 5900X using
>>>>>>>> the kernel 7.1-rc1, all CPU cores seem to run at ~1.7 GHz constantly,
>>>>>>>> i.e. I don't observe any core frequency boosting under load. This never
>>>>>>>> happened with older kernel releases, e.g. with 7.0-rc7. I ran
>>>>>>>> 'git bisect' and found this first bad commit:
>>>>>>>>
>>>>>>>> e30ca6dd5345c5b8ba05f346a8e81105352fe571 cpufreq/amd-pstate: Add dynamic energy performance preference
>>>>>>>
>>>>>>> If you compile with CONFIG_X86_AMD_PSTATE_DYNAMIC_EPP=n (instead of using kernel command line to turn it off) does the issue go away?
>>>>>>>
>>>>>>
>>>>>> No, and still nothing about amd-pstate in dmesg.
>>>>>
>>>>> Can you turn on dynamic debugging for amd-pstate.c? Something like this:
>>>>>
>>>>> dyndbg='file drivers/cpufreq/amd-pstate.c +p'
>>>>>
>>>>
>>>> Both kernel builds (with CONFIG_X86_AMD_PSTATE_DYNAMIC_EPP=y/n) have the following config:
>>>> CONFIG_DYNAMIC_DEBUG=y
>>>> CONFIG_DYNAMIC_DEBUG_CORE=y
>>>>
>>>> Booting with the above dyndbg parameter gives me only this line about amd-pstate in dmesg:
>>>> [ 0.844066] amd_pstate: AMD CPPC shared memory based functionality is supported
>>>>
>>>> Do I have to do anything else besides booting with the dyndbg parameter? I have tried
>>>> both builds.
>>>
>>> You shouldn't have to. I think there might be something silently failing in the init path now. Maybe platform profile registration is failing for your system? I haven't reproduced this on my side on any of my systems unfortunately.
>>>
>>> Do you think you can sprinkle printk()'s around the init to figure it out? If you need me to write a patch that does this I can try to whip one up.
>>>
>>
>> Please write a patch, I am just a user trying to help.
>
> OK thanks. Here is a debugging patch that should show what's happening in the new paths from e30ca6dd5345c5b8ba05f346a8e81105352fe571 so we can confirm root cause on your system.
These are the dmesg lines concerning amd-pstate:
[ 0.845044] amd_pstate: amd_pstate: CPU 0: calling amd_pstate_set_dynamic_epp (current_profile=3)
[ 0.845047] amd_pstate: amd_pstate: CPU 0: get_balanced_epp: power_supply_is_system_supplied=1, returning EPP=0x0 (ac=0x0, dc=0x80)
[ 0.845059] amd_pstate: amd_pstate: CPU 0: platform_profile_register succeeded
[ 0.845060] amd_pstate: amd_pstate: CPU 0: registering power supply notifier
[ 0.849046] amd_pstate: amd_pstate: CPU 1: calling amd_pstate_set_dynamic_epp (current_profile=3)
[ 0.849047] amd_pstate: amd_pstate: CPU 1: get_balanced_epp: power_supply_is_system_supplied=1, returning EPP=0x0 (ac=0x0, dc=0x80)
[ 0.849058] amd_pstate: amd_pstate: CPU 1: platform_profile_register succeeded
[ 0.849059] amd_pstate: amd_pstate: CPU 1: registering power supply notifier
[ 0.853043] amd_pstate: amd_pstate: CPU 2: calling amd_pstate_set_dynamic_epp (current_profile=3)
[ 0.853044] amd_pstate: amd_pstate: CPU 2: get_balanced_epp: power_supply_is_system_supplied=1, returning EPP=0x0 (ac=0x0, dc=0x80)
[ 0.853054] amd_pstate: amd_pstate: CPU 2: platform_profile_register succeeded
[ 0.853054] amd_pstate: amd_pstate: CPU 2: registering power supply notifier
[ 0.857043] amd_pstate: amd_pstate: CPU 3: calling amd_pstate_set_dynamic_epp (current_profile=3)
[ 0.857044] amd_pstate: amd_pstate: CPU 3: get_balanced_epp: power_supply_is_system_supplied=1, returning EPP=0x0 (ac=0x0, dc=0x80)
[ 0.857054] amd_pstate: amd_pstate: CPU 3: platform_profile_register succeeded
[ 0.857054] amd_pstate: amd_pstate: CPU 3: registering power supply notifier
[ 0.861045] amd_pstate: amd_pstate: CPU 4: calling amd_pstate_set_dynamic_epp (current_profile=3)
[ 0.861046] amd_pstate: amd_pstate: CPU 4: get_balanced_epp: power_supply_is_system_supplied=1, returning EPP=0x0 (ac=0x0, dc=0x80)
[ 0.861056] amd_pstate: amd_pstate: CPU 4: platform_profile_register succeeded
[ 0.861057] amd_pstate: amd_pstate: CPU 4: registering power supply notifier
[ 0.865044] amd_pstate: amd_pstate: CPU 5: calling amd_pstate_set_dynamic_epp (current_profile=3)
[ 0.865046] amd_pstate: amd_pstate: CPU 5: get_balanced_epp: power_supply_is_system_supplied=1, returning EPP=0x0 (ac=0x0, dc=0x80)
[ 0.865057] amd_pstate: amd_pstate: CPU 5: platform_profile_register succeeded
[ 0.865058] amd_pstate: amd_pstate: CPU 5: registering power supply notifier
[ 0.870044] amd_pstate: amd_pstate: CPU 6: calling amd_pstate_set_dynamic_epp (current_profile=3)
[ 0.870046] amd_pstate: amd_pstate: CPU 6: get_balanced_epp: power_supply_is_system_supplied=1, returning EPP=0x0 (ac=0x0, dc=0x80)
[ 0.870058] amd_pstate: amd_pstate: CPU 6: platform_profile_register succeeded
[ 0.870058] amd_pstate: amd_pstate: CPU 6: registering power supply notifier
[ 0.874044] amd_pstate: amd_pstate: CPU 7: calling amd_pstate_set_dynamic_epp (current_profile=3)
[ 0.874045] amd_pstate: amd_pstate: CPU 7: get_balanced_epp: power_supply_is_system_supplied=1, returning EPP=0x0 (ac=0x0, dc=0x80)
[ 0.874056] amd_pstate: amd_pstate: CPU 7: platform_profile_register succeeded
[ 0.874057] amd_pstate: amd_pstate: CPU 7: registering power supply notifier
[ 0.878045] amd_pstate: amd_pstate: CPU 8: calling amd_pstate_set_dynamic_epp (current_profile=3)
[ 0.878046] amd_pstate: amd_pstate: CPU 8: get_balanced_epp: power_supply_is_system_supplied=1, returning EPP=0x0 (ac=0x0, dc=0x80)
[ 0.878055] amd_pstate: amd_pstate: CPU 8: platform_profile_register succeeded
[ 0.878056] amd_pstate: amd_pstate: CPU 8: registering power supply notifier
[ 0.882045] amd_pstate: amd_pstate: CPU 9: calling amd_pstate_set_dynamic_epp (current_profile=3)
[ 0.882046] amd_pstate: amd_pstate: CPU 9: get_balanced_epp: power_supply_is_system_supplied=1, returning EPP=0x0 (ac=0x0, dc=0x80)
[ 0.882055] amd_pstate: amd_pstate: CPU 9: platform_profile_register succeeded
[ 0.882056] amd_pstate: amd_pstate: CPU 9: registering power supply notifier
[ 0.886045] amd_pstate: amd_pstate: CPU 10: calling amd_pstate_set_dynamic_epp (current_profile=3)
[ 0.886046] amd_pstate: amd_pstate: CPU 10: get_balanced_epp: power_supply_is_system_supplied=1, returning EPP=0x0 (ac=0x0, dc=0x80)
[ 0.886055] amd_pstate: amd_pstate: CPU 10: platform_profile_register succeeded
[ 0.886056] amd_pstate: amd_pstate: CPU 10: registering power supply notifier
[ 0.890045] amd_pstate: amd_pstate: CPU 11: calling amd_pstate_set_dynamic_epp (current_profile=3)
[ 0.890046] amd_pstate: amd_pstate: CPU 11: get_balanced_epp: power_supply_is_system_supplied=1, returning EPP=0x0 (ac=0x0, dc=0x80)
[ 0.890056] amd_pstate: amd_pstate: CPU 11: platform_profile_register succeeded
[ 0.890056] amd_pstate: amd_pstate: CPU 11: registering power supply notifier
[ 0.894046] amd_pstate: amd_pstate: CPU 12: calling amd_pstate_set_dynamic_epp (current_profile=3)
[ 0.894047] amd_pstate: amd_pstate: CPU 12: get_balanced_epp: power_supply_is_system_supplied=1, returning EPP=0x0 (ac=0x0, dc=0x80)
[ 0.894056] amd_pstate: amd_pstate: CPU 12: platform_profile_register succeeded
[ 0.894057] amd_pstate: amd_pstate: CPU 12: registering power supply notifier
[ 0.898046] amd_pstate: amd_pstate: CPU 13: calling amd_pstate_set_dynamic_epp (current_profile=3)
[ 0.898047] amd_pstate: amd_pstate: CPU 13: get_balanced_epp: power_supply_is_system_supplied=1, returning EPP=0x0 (ac=0x0, dc=0x80)
[ 0.898055] amd_pstate: amd_pstate: CPU 13: platform_profile_register succeeded
[ 0.898056] amd_pstate: amd_pstate: CPU 13: registering power supply notifier
[ 0.902046] amd_pstate: amd_pstate: CPU 14: calling amd_pstate_set_dynamic_epp (current_profile=3)
[ 0.902048] amd_pstate: amd_pstate: CPU 14: get_balanced_epp: power_supply_is_system_supplied=1, returning EPP=0x0 (ac=0x0, dc=0x80)
[ 0.902059] amd_pstate: amd_pstate: CPU 14: platform_profile_register succeeded
[ 0.902059] amd_pstate: amd_pstate: CPU 14: registering power supply notifier
[ 0.906046] amd_pstate: amd_pstate: CPU 15: calling amd_pstate_set_dynamic_epp (current_profile=3)
[ 0.906048] amd_pstate: amd_pstate: CPU 15: get_balanced_epp: power_supply_is_system_supplied=1, returning EPP=0x0 (ac=0x0, dc=0x80)
[ 0.906060] amd_pstate: amd_pstate: CPU 15: platform_profile_register succeeded
[ 0.906060] amd_pstate: amd_pstate: CPU 15: registering power supply notifier
[ 0.910046] amd_pstate: amd_pstate: CPU 16: calling amd_pstate_set_dynamic_epp (current_profile=3)
[ 0.910048] amd_pstate: amd_pstate: CPU 16: get_balanced_epp: power_supply_is_system_supplied=1, returning EPP=0x0 (ac=0x0, dc=0x80)
[ 0.910058] amd_pstate: amd_pstate: CPU 16: platform_profile_register succeeded
[ 0.910059] amd_pstate: amd_pstate: CPU 16: registering power supply notifier
[ 0.914047] amd_pstate: amd_pstate: CPU 17: calling amd_pstate_set_dynamic_epp (current_profile=3)
[ 0.914048] amd_pstate: amd_pstate: CPU 17: get_balanced_epp: power_supply_is_system_supplied=1, returning EPP=0x0 (ac=0x0, dc=0x80)
[ 0.914059] amd_pstate: amd_pstate: CPU 17: platform_profile_register succeeded
[ 0.914060] amd_pstate: amd_pstate: CPU 17: registering power supply notifier
[ 0.918049] amd_pstate: amd_pstate: CPU 18: calling amd_pstate_set_dynamic_epp (current_profile=3)
[ 0.918051] amd_pstate: amd_pstate: CPU 18: get_balanced_epp: power_supply_is_system_supplied=1, returning EPP=0x0 (ac=0x0, dc=0x80)
[ 0.918081] amd_pstate: amd_pstate: CPU 18: platform_profile_register succeeded
[ 0.918082] amd_pstate: amd_pstate: CPU 18: registering power supply notifier
[ 0.922049] amd_pstate: amd_pstate: CPU 19: calling amd_pstate_set_dynamic_epp (current_profile=3)
[ 0.922051] amd_pstate: amd_pstate: CPU 19: get_balanced_epp: power_supply_is_system_supplied=1, returning EPP=0x0 (ac=0x0, dc=0x80)
[ 0.922070] amd_pstate: amd_pstate: CPU 19: platform_profile_register succeeded
[ 0.922071] amd_pstate: amd_pstate: CPU 19: registering power supply notifier
[ 0.926049] amd_pstate: amd_pstate: CPU 20: calling amd_pstate_set_dynamic_epp (current_profile=3)
[ 0.926052] amd_pstate: amd_pstate: CPU 20: get_balanced_epp: power_supply_is_system_supplied=1, returning EPP=0x0 (ac=0x0, dc=0x80)
[ 0.926073] amd_pstate: amd_pstate: CPU 20: platform_profile_register succeeded
[ 0.926074] amd_pstate: amd_pstate: CPU 20: registering power supply notifier
[ 0.930049] amd_pstate: amd_pstate: CPU 21: calling amd_pstate_set_dynamic_epp (current_profile=3)
[ 0.930052] amd_pstate: amd_pstate: CPU 21: get_balanced_epp: power_supply_is_system_supplied=1, returning EPP=0x0 (ac=0x0, dc=0x80)
[ 0.930071] amd_pstate: amd_pstate: CPU 21: platform_profile_register succeeded
[ 0.930072] amd_pstate: amd_pstate: CPU 21: registering power supply notifier
[ 0.934050] amd_pstate: amd_pstate: CPU 22: calling amd_pstate_set_dynamic_epp (current_profile=3)
[ 0.934052] amd_pstate: amd_pstate: CPU 22: get_balanced_epp: power_supply_is_system_supplied=1, returning EPP=0x0 (ac=0x0, dc=0x80)
[ 0.934072] amd_pstate: amd_pstate: CPU 22: platform_profile_register succeeded
[ 0.934073] amd_pstate: amd_pstate: CPU 22: registering power supply notifier
[ 0.938050] amd_pstate: amd_pstate: CPU 23: calling amd_pstate_set_dynamic_epp (current_profile=3)
[ 0.938052] amd_pstate: amd_pstate: CPU 23: get_balanced_epp: power_supply_is_system_supplied=1, returning EPP=0x0 (ac=0x0, dc=0x80)
[ 0.938073] amd_pstate: amd_pstate: CPU 23: platform_profile_register succeeded
[ 0.938074] amd_pstate: amd_pstate: CPU 23: registering power supply notifier
prev parent reply other threads:[~2026-04-29 18:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-29 12:34 [REGRESSION] CPU running at fixed frequency (~1.7 GHz) with kernel 7.1-rc1 Viktor Jägersküpper
2026-04-29 13:04 ` Mario Limonciello
2026-04-29 13:54 ` Viktor Jägersküpper
2026-04-29 14:25 ` Mario Limonciello
2026-04-29 15:38 ` Viktor Jägersküpper
2026-04-29 15:54 ` Mario Limonciello
2026-04-29 16:20 ` Viktor Jägersküpper
2026-04-29 17:14 ` Mario Limonciello
2026-04-29 18:34 ` Viktor Jägersküpper [this message]
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=33a693a8-a460-49b7-83cb-1ab7b66ce69e@freenet.de \
--to=viktor_jaegerskuepper@freenet.de \
--cc=linux-pm@vger.kernel.org \
--cc=mario.limonciello@amd.com \
--cc=ray.huang@amd.com \
--cc=regressions@lists.linux.dev \
/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