Skip to contentSkip to conversation

New: amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

Bug 218705 [email protected] 1 participant 33 messages Apr 10, 2024 – May 21, 2024

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 218705
           Summary: amd_pstate fails to load on AMD 5950x with Asus ROG
                    CROSSHAIR VIII DARK HERO x570
           Product: Power Management
           Version: 2.5
          Hardware: AMD
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: cpufreq
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Hi!

Sorry if the formatting is broken or this is unreadable. Description preview is broken it seems.

amd_pstate fails to load on this hardware:
CPU: AMD 5950x
Mainboard: Asus ROG CROSSHAIR VIII DARK HERO x570 running UEFI version 4702
OS: Fedora 39 Wayland with kernel Linux 6.8.4-200.fc39.x86_64

amd_pstate does not get automatically enabled. dmesg -T | grep pstate says:

[Tue Apr  9 17:24:36 2024] amd_pstate: driver load is disabled, boot with

specific mode to enable this

No cppc found in output from lscpu. In UEFI the following are activated:

Advanced > AMD CBS > NBIO Common Options > SMU Common Options

CPPC (Auto / Enabled / Disabled): Enabled
CPPC Preferred Cores: Enabled

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

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

--- Comment #1 from Andrei Amuraritei ([email protected]) --- Reading though 218171, I have checked if my ACPI tables have the _CPC entries and they do:

ssdt10.dsl: Name (_CPC, Package (0x17) // _CPC: Continuous Performance
Control

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#2 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

Brandon Nielsen ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #2 from Brandon Nielsen ([email protected]) --- Looking at the source[0] I think this is by design.

I am not sure what the current roadmap for enablement looks like, but I am also awaiting it.

[0] -
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/cpufreq/amd-pstate.c#n55

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#3 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #3 from Perry Yuan(AMD) ([email protected]) --- Created attachment 306192
--> https://bugzilla.kernel.org/attachment.cgi?id=306192&action=edit
cppc check script

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#4 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #4 from Perry Yuan(AMD) ([email protected]) --- (In reply to Andrei Amuraritei from comment #0)

Quoted 13 lines

Hi!

Sorry if the formatting is broken or this is unreadable. Description preview is broken it seems.

amd_pstate fails to load on this hardware:
CPU: AMD 5950x
Mainboard: Asus ROG CROSSHAIR VIII DARK HERO x570 running UEFI version 4702
OS: Fedora 39 Wayland with kernel Linux 6.8.4-200.fc39.x86_64

amd_pstate does not get automatically enabled. dmesg -T | grep pstate says:

[Tue Apr  9 17:24:36 2024] amd_pstate: driver load is disabled, boot with
Quoted 8 lines

specific mode to enable this

No cppc found in output from lscpu. In UEFI the following are activated:

Advanced > AMD CBS > NBIO Common Options > SMU Common Options

CPPC (Auto / Enabled / Disabled): Enabled
CPPC Preferred Cores: Enabled

Hi Andrei
Could you use the script to check the CPPC capabilities?
As I know, the 5950x is in the CPPC supported list, I need more information to check what the system is missing.

Perry.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#5 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #5 from Andrei Amuraritei ([email protected]) --- Created attachment 306195
--> https://bugzilla.kernel.org/attachment.cgi?id=306195&action=edit
values from cppc_attr_values_check.sh script

Hi Perry,

I've attached 20240422-cppc_check.txt with the output from the script.

pstate did not load automatically for me on this system as long as I remember (across Debian or Fedora with kernels 6.x).

Let me know what other info you require please.

Thanks,
Andrei Amuraritei

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#6 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #6 from Perry Yuan(AMD) ([email protected]) ---
I have confirmed that the CPPC capabilities are valid to enable pstate driver,

1) sudo nano /etc/default/grub
2) add ``amd_pstate.dyndbg=+p`` to kernel command line.
3) sudo update-grub
4) sudo reboot

then share below logs to me.

# dmesg
# lscpu -ae
# cd /sys/devices/system/cpu/cpu0/cpufreq
# grep -R .

Perry.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#7 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #6 from Perry Yuan(AMD) ([email protected]) ---
I have confirmed that the CPPC capabilities are valid to enable pstate driver,

1) sudo nano /etc/default/grub
2) add ``amd_pstate.dyndbg=+p`` to kernel command line.
3) sudo update-grub
4) sudo reboot

then share below logs to me.

# dmesg
# lscpu -ae
# cd /sys/devices/system/cpu/cpu0/cpufreq
# grep -R .

Perry.

--- Comment #7 from Perry Yuan(AMD) ([email protected]) ---
I have confirmed that the CPPC capabilities are valid to enable pstate driver,

1) sudo nano /etc/default/grub
2) add ``amd_pstate.dyndbg=+p`` to kernel command line.
3) sudo update-grub
4) sudo reboot

then share below logs to me.

# dmesg
# lscpu -ae
# cd /sys/devices/system/cpu/cpu0/cpufreq
# grep -R .

Perry.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#8 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #8 from Perry Yuan(AMD) ([email protected]) --- BTW, which kernel version you used?
Have you added "amd_pstate=active" to command line?

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#9 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #9 from Andrei Amuraritei ([email protected]) --- Created attachment 306207
--> https://bugzilla.kernel.org/attachment.cgi?id=306207&action=edit
cpufreq_grep

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#10 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #10 from Andrei Amuraritei ([email protected]) --- Created attachment 306208
--> https://bugzilla.kernel.org/attachment.cgi?id=306208&action=edit
dmesg with amd_pstate.dyndbg

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#11 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #11 from Andrei Amuraritei ([email protected]) --- Created attachment 306209
--> https://bugzilla.kernel.org/attachment.cgi?id=306209&action=edit
lscpu -ae

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#12 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #12 from Andrei Amuraritei ([email protected]) --- Created attachment 306210
--> https://bugzilla.kernel.org/attachment.cgi?id=306210&action=edit
cpufreq_grep with amd_pstate=active

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#13 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #13 from Andrei Amuraritei ([email protected]) --- Created attachment 306211
--> https://bugzilla.kernel.org/attachment.cgi?id=306211&action=edit
dmesg with amd_pstate.dyndbg and amd_pstate=active

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#14 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #14 from Andrei Amuraritei ([email protected]) --- Created attachment 306212
--> https://bugzilla.kernel.org/attachment.cgi?id=306212&action=edit
lscpu -ae with amd_pstate=active

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#15 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #15 from Andrei Amuraritei ([email protected]) --- Hi Perry,

Attached the required output of the commands specified. First files are after adding amd_pstate.dyndbg=+p but there amd_pstate still did not load automatically.

Then I also added amd_pstate=active to the kernel param list and attached the outputs from commands, with "active" in names.

Kernel when opened the bug was 6.8.4-200.fc39.x86_64 and right now it is 6.8.6-200.fc39.x86_64 as specified in dmesg output.

"Talk" soon.
Andrei Amuraritei

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#16 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #16 from [email protected] ---
From the dmesg log:
......
[Do Apr 25 17:18:53 2024] device-mapper: uevent: version 1.0.3 [Do Apr 25 17:18:53 2024] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01)
initialised: [email protected]
[Do Apr 25 17:18:53 2024] amd_pstate: AMD CPPC **shared memory** based functionality is supported
[Do Apr 25 17:18:53 2024] amd_pstate: policy_max =5084000, policy_min=550000 [Do Apr 25 17:18:53 2024] amd_pstate: set_policy: cpuinfo.max 5084000 policy->max 5084000
[Do Apr 25 17:18:53 2024] amd_pstate: policy_max =5084000, policy_min=550000 [Do Apr 25 17:18:53 2024] amd_pstate: set_policy: cpuinfo.max 5084000 policy->max 5084000
[Do Apr 25 17:18:53 2024] amd_pstate: policy_max =5084000, policy_min=550000 [Do Apr 25 17:18:53 2024] amd_pstate: set_policy: cpuinfo.max 5084000 policy->max
......

R9-5950X is ZEN3 Arch CPU and has half support for CPPC. Would you try to use "amd_pstate=passive" in the grub config?

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#17 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #17 from Andrei Amuraritei ([email protected]) --- Created attachment 306222
--> https://bugzilla.kernel.org/attachment.cgi?id=306222&action=edit
lscpu -ae with amd_pstate=passive

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#18 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #18 from Andrei Amuraritei ([email protected]) --- Created attachment 306223
--> https://bugzilla.kernel.org/attachment.cgi?id=306223&action=edit
dmesg with amd_pstate.dyndbg and amd_pstate=passive

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#19 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #19 from Andrei Amuraritei ([email protected]) --- Created attachment 306224
--> https://bugzilla.kernel.org/attachment.cgi?id=306224&action=edit
cpufreq_grep with amd_pstate=passive

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#20 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #20 from Andrei Amuraritei ([email protected]) --- Hi Xiaojian,

Booted with amd_passive and ran the commands. Output attached in files with passive in name.

Friendly greetings
Andrei Amuraritei

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#21 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #21 from Andrei Amuraritei ([email protected]) --- Not sure if relevant, but I found out that Fedora also has amd-pstate-ut module, and loading this, i see the following in dmesg:

boot kernel with amd_pstate=passive

[Fr Apr 26 19:37:29 2024] amd_pstate_ut: 1 amd_pstate_ut_acpi_cpc_valid
success!
[Fr Apr 26 19:37:29 2024] amd_pstate_ut: 2 amd_pstate_ut_check_enabled
success!
[Fr Apr 26 19:37:29 2024] amd_pstate_ut: amd_pstate_ut_check_perf cpu0 highest=221 166 nominal=111 111 lowest_nonlinear=57 57 lowest=19 19, they should be equal!
[Fr Apr 26 19:37:29 2024] amd_pstate_ut: 3 amd_pstate_ut_check_perf fail!
[Fr Apr 26 19:37:29 2024] amd_pstate_ut: 4 amd_pstate_ut_check_freq
success!

boot kernel with amd_pstate=active

[Fr Apr 26 19:35:07 2024] amd_pstate_ut: 1 amd_pstate_ut_acpi_cpc_valid
success!
[Fr Apr 26 19:35:07 2024] amd_pstate_ut: 2 amd_pstate_ut_check_enabled
success!
[Fr Apr 26 19:35:07 2024] amd_pstate_ut: amd_pstate_ut_check_perf cpu0 highest=221 166 nominal=111 111 lowest_nonlinear=57 57 lowest=19 19, they should be equal!
[Fr Apr 26 19:35:07 2024] amd_pstate_ut: 3 amd_pstate_ut_check_perf fail!
[Fr Apr 26 19:35:07 2024] amd_pstate_ut: 4 amd_pstate_ut_check_freq
success!

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#22 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #22 from Perry Yuan(AMD) ([email protected]) --- Hi Andrei,

I saw the pstate passive mode driver was loaded on your system, how do you check the pstate dricer loaded or not?

# sudo  cpupower frequency-info
you could use cpupower to see if the driver loaded gernerally. 

[Fr Apr 26 19:20:02 2024] amd_pstate: AMD CPPC shared memory based functionality is supported.

root@fedora:/sys/devices/system/cpu/cpu0/cpufreq# grep -R .
amd_pstate_highest_perf:166
scaling_min_freq:550000
scaling_available_governors:conservative ondemand userspace powersave
performance schedutil 
scaling_governor:schedutil
cpuinfo_max_freq:5084000
boost:0
amd_pstate_lowest_nonlinear_freq:1743000
amd_pstate_max_freq:5084000
related_cpus:0
scaling_cur_freq:2880470
scaling_setspeed:<unsupported>
affected_cpus:0
scaling_max_freq:5084000
cpuinfo_transition_latency:20000
scaling_driver:amd-pstate<<<<<<<<<<<<<<<<<<<<<<<<<
cpuinfo_min_freq:550000

Perry.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#23 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #23 from Andrei Amuraritei ([email protected]) --- Hi Perry,

The driver loads when manually specifying amd_pstate kernel param. My issue is that it does not get automatically enabled for the system, as stated in the first message.

The issue is why is not enabled automatically, if the hardware support is there?

Thanks.
Andrei Amuraritei

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#24 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #24 from Perry Yuan(AMD) ([email protected]) --- Hi Andrei,

"pstate did not load automatically for me on this system as long as I remember (across Debian or Fedora with kernels 6.x)."

Ok, I thought your system cannot load pstate driver, not the problem is simple to resolve.

Have you configured the kernel config to enable the default mode 3(EPP) or set to disabled?

Could you check your kernel config if you have enabled the AMD pstate driver?

Here is my kernel config option, you can update config if you have not enabled it to default 3.

# grep -rsn  AMD_PSTATE .config
693:CONFIG_X86_AMD_PSTATE=y
694:CONFIG_X86_AMD_PSTATE_DEFAULT_MODE=3
695:# CONFIG_X86_AMD_PSTATE_UT is not set

Perry.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#25 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #25 from Andrei Amuraritei ([email protected]) --- Hi again,

I meant, amd_pstate did not load automatically, without me specifying a kernel param for it.

The .config values are (Fedora default config):

grep -rsn AMD_PSTATE /boot/config-6.8.7-200.fc39.x86_64 700:CONFIG_X86_AMD_PSTATE=y 701:CONFIG_X86_AMD_PSTATE_DEFAULT_MODE=3 702:CONFIG_X86_AMD_PSTATE_UT=m

Thanks.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#26 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #26 from Perry Yuan(AMD) ([email protected]) --- (In reply to Andrei Amuraritei from comment #25)

Quoted 5 lines

Hi again,

I meant, amd_pstate did not load automatically, without me specifying a kernel param for it.

Quoted 8 lines

The .config values are (Fedora default config):

grep -rsn AMD_PSTATE /boot/config-6.8.7-200.fc39.x86_64 700:CONFIG_X86_AMD_PSTATE=y 701:CONFIG_X86_AMD_PSTATE_DEFAULT_MODE=3 702:CONFIG_X86_AMD_PSTATE_UT=m

Thanks.

Thank you help to share the info, I have found the root cause, working on the fix patch, will send it out after we finish the testing.

Perry.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#27 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #27 from Perry Yuan(AMD) ([email protected]) --- Hi, Please try this patchset for the issue

https://lore.kernel.org/lkml/[email protected]/

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#28 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #28 from Brandon Nielsen ([email protected]) --- (In reply to Perry Yuan(AMD) from comment #27)

Quoted 3 lines

Hi, Please try this patchset for the issue

https://lore.kernel.org/lkml/[email protected]/

I see the same issue on my 5800x3d and Gigabyte X570S Aorus Elite and would like to test this fix. What kernel does this patchset apply to? I get conflicts on both 6.9 and linux-next.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#29 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #29 from Perry Yuan(AMD) ([email protected]) ---
Hi Brandon,

V2 patchset had been sent out,

https://lore.kernel.org/lkml/[email protected]/

the patches need to be applied to linux-pm/bleeding-ege branch,

https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/?h=bleeding-edge

Perry.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#30 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #30 from Brandon Nielsen ([email protected]) --- (In reply to Perry Yuan(AMD) from comment #29)

Quoted 7 lines

Hi Brandon,

V2 patchset had been sent out,

https://lore.kernel.org/lkml/[email protected]/

Quoted 6 lines

the patches need to be applied to linux-pm/bleeding-ege branch,

https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/
?h=bleeding-edge

Perry.

I can confirm with the V2 patchset applied to linux-pm/bleeding-ege, the AMD P-state driver loads by default on my system with no kernel arguments necessary.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#31 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

--- Comment #31 from Andrei Amuraritei ([email protected]) --- Hi Perry,

I can also confirm the module loads automatically now, without specifying a kernel parameter, with V2 patchset on the mentioned kernel branch:

uname -r ; cat /sys/devices/system/cpu/amd_pstate/{prefcore,status} ; git remote -v
6.9.0-rc7+
enabled
active
origin https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/
(fetch)
origin https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/
(push)

cpupower frequency-info gives driver: amd-pstate-epp

Waiting for V3 patchset. Do you think this will be merged for kernel 6.10?

Thanks.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#32 lore raw

[Bug 218705] amd_pstate fails to load on AMD 5950x with Asus ROG CROSSHAIR VIII DARK HERO x570

In reply to [email protected]

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

Artem S. Tashkinov ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX
Signature · 4 lines
You may reply to this email to add a comment.

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