I enabled amd_pstate.shared_mem=1
in grub config and checked:
sudo cpupower frequency-info
analyzing CPU 0:
driver: amd-pstate
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 131 us
hardware limits: 550 MHz - 4.21 GHz
available cpufreq governors: conservative ondemand userspace powersave performance schedutil
current policy: frequency should be within 550 MHz and 4.21 GHz.
The governor "schedutil" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 647 MHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
Boost States: 0
Total States: 3
Pstate-P0: 3600MHz
Pstate-P1: 2800MHz
Pstate-P2: 2200MHz
But I got the two error messages in the log:
journalctl --no-pager -p 3 -b 8s
Mai 20 17:50:22 zesko systemd-udevd[425]: could not read from '/sys/module/pcc_cpufreq/initstate': No such device
Mai 20 17:50:23 zesko systemd-udevd[436]: could not read from '/sys/module/pcc_cpufreq/initstate': No such device
I think these error messages are related to amd-pstate or not?
Linux Kernel:
5.17.9-1-MANJARO
I disabled amd-pstate, these error messages are gone.