lscpu | grep cppc shows cppc among many, many other flags.
I am using dracut and added amd_pstate.shared_mem=1 amd_pstate=active in /efi/loader/entries/e3453a9d96ee492bb8be0b1b52780f08-6.3.2-zen1-1-zen.conf
I have /etc/modules-load.d/amd-pstate.conf containing a line
amd_pstate
Rebooted and issuing cpupower frequency-info I get still acpi-cpufreq as driver.
analyzing CPU 5:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 5
CPUs which need to have their frequency coordinated by software: 5
maximum transition latency: Cannot determine or is not supported.
hardware limits: 1.40 GHz - 3.00 GHz
available frequency steps: 3.00 GHz, 1.70 GHz, 1.40 GHz
available cpufreq governors: conservative ondemand userspace powersave performance schedutil
current policy: frequency should be within 1.40 GHz and 3.00 GHz.
The governor "schedutil" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 1.77 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: no
Also as a side note, if you are using EnOS’ implementation of systemd-boot plus dracut, you would need to add the kernel boot options in /etc/kernel/cmdline and then run sudo reinstall-kernels which will regenerate the loader entries and the initrds.
I didn’t find anything in the UEFI/Bios settings to enable it and (perhaps naively) thought that when cppc is shown in the lscpu output it means that it is enabled.
Not sure if you are using grub or systemd-boot. Not sure your cpu works with pstate. I couldn’t get my Ryzen 7 4700U to work. I’m using amd_pstate=active just in the command line and then update grub. Or if on systemd-boot in the kernel command line and then run the command to reinstall kernels.
There is no cppc setting on my HP but i think it’s enabled anyway but still this cpu doesn’t seem to enable pstates. You’ll have to try the various methods. My HP is using acpi_cpufreq
Edit: amd_pstate=active works on all my other amd systems with newer ryzen cpu’s
It may be the case. I tried every way shown on my HP 4700u and it doesn’t seem to work on this one. My other Ryzen 5 5500u and 5700u work amd also my desktop cpu Ryzen 3800X works.
at the time of writing, you can use the passive mode and the active mode. The guided mode will come with kernel 6.4
I’m not sure if amd_pstate.shared_mem=1 is still needed (in some cases maybe?) or also obsolete now.
I just add amd_pstate=active / amd_pstate=passive to my kernel parameters (Ryzen 7 5700U). For systemd-boot: add it to /etc/kernel/cmdline. Then run sudo reinstall-kernels as already mentioned.
Nothing more required.
cpupower frequency-info
analyzing CPU 1:
driver: amd_pstate_epp
If you look in the other topic, I also write guides there - It is working like that since 6.1
Edit: you simply looked at the wrong part of the documentation that you linked. The correct part reads this:
Global Attributes
amd-pstate exposes several global attributes (files) in sysfs to control its functionality at the system level. They are located in the /sys/devices/system/cpu/amd-pstate/ directory and affect all CPUs.
status
Operation mode of the driver: "active", "passive" or "disable".
"active"
The driver is functional and in the active mode
"passive"
The driver is functional and in the passive mode
"guided"
The driver is functional and in the guided mode
"disable"
The driver is unregistered and not functional now.
guided will only be available with 6.4 though active is available since 6.3
If using Kernel 6.1 LTS, check $ modinfo amd-pstate and $ modinfo amd_pstate, both are the same, but I am wondering if their parameters e.g. shared_mem were removed.
modinfo amd-pstate does not exist in Kernel 6.3 unlike 6.1