You are not logged in.

#1 2022-12-08 10:49:56

neimbysp91
Member
Registered: 2022-12-08
Posts: 2

[Solved] amd_pstate driver suddenly missing

I was successfully using the amd_pstate driver for a few months, and then switched back to acpi_cpufreq to compare. Now I want to use amd_pstate again but it doesn't exist anymore and I have no idea why.

$ modinfo amd_pstate
modinfo: ERROR: Module amd_pstate not found.

I am using the mainline kernel but the module is not in the default kernel either it seems.

$ ls /usr/lib/modules/*/kernel/drivers/cpufreq
/usr/lib/modules/6.0.11-arch1-1/kernel/drivers/cpufreq:
acpi-cpufreq.ko.zst  amd_freq_sensitivity.ko.zst  p4-clockmod.ko.zst  pcc-cpufreq.ko.zst  powernow-k8.ko.zst  speedstep-lib.ko.zst

/usr/lib/modules/6.1.0-rc8-1-mainline/kernel/drivers/cpufreq:
acpi-cpufreq.ko.zst  amd_freq_sensitivity.ko.zst  p4-clockmod.ko.zst  pcc-cpufreq.ko.zst  powernow-k8.ko.zst  speedstep-lib.ko.zst

Can anyone help me here please, what am I missing? Why is the driver no longer there?

Last edited by neimbysp91 (2022-12-08 13:53:55)

Offline

#2 2022-12-08 12:57:11

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: [Solved] amd_pstate driver suddenly missing

$ uname -r
6.0.11-arch1-1
$ modinfo amd_pstate
name:           amd_pstate
filename:       (builtin)
license:        GPL
file:           drivers/cpufreq/amd_pstate
description:    AMD Processor P-state Frequency Driver
author:         Huang Rui <ray.huang@amd.com>
parm:           shared_mem:enable amd-pstate on processors with shared memory solution (false = disabled (default), true = enabled) (bool)
$ 

Looks like it's now built-in instead of a module in stock repo kernel .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2022-12-08 13:11:02

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: [Solved] amd_pstate driver suddenly missing


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2022-12-08 13:53:35

neimbysp91
Member
Registered: 2022-12-08
Posts: 2

Re: [Solved] amd_pstate driver suddenly missing

I see, it's built in now. I just booted the stock kernel and it actually loads amd_pstate by default, however on mainline acpi_cpufreq gets loaded by default. Not sure why that is but I will be going back to stock kernel when 6.1 hits stable so that is fine with me.

Thanks for the help guys.

Offline

Board footer

Powered by FluxBB