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
Rebooted and issuing cpupower frequency-info I get still acpi-cpufreq as driver.
analyzing CPU 5:
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:
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.
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
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.
analyzing CPU 1:
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:
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.
Operation mode of the driver: "active", "passive" or "disable".
The driver is functional and in the active mode
The driver is functional and in the passive mode
The driver is functional and in the guided mode
The driver is unregistered and not functional now.
guided will only be available with 6.4 though active is available since 6.3