You are not logged in.
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
$ 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.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
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