[Testing Update] 2022-06-03 - Linux 5.18, Systemd 251, GNOME 42.2, NVIDIA, Mesa, Pulseaudio, Perl

How to enable amd_pstate for AMD Zen 2+ and Linux Kernel 5.17 or 5.18 only

  1. Edit /etc/mkinitcpio.conf to add
MODULES=(amd_pstate)
  1. sudo mkinitcpio -P linux

  2. Edit /etc/default/grub to add it in GRUB_CMDLINE_LINUX_DEFAULT:

amd_pstate.shared_mem=1
  1. sudo update-grub

  2. reboot.

  3. Enable CPPC in BIOS setting.

It works for me in Linux Kernel 5.18:

❯ sudo cpupower frequency-info                                                                                                                                                                                            
analyzing CPU 0:
  driver: amd-pstate

❯ modinfo amd_pstate
filename:       /lib/modules/5.18.1-1-MANJARO/kernel/drivers/cpufreq/amd_pstate.ko.xz
license:        GPL
description:    AMD Processor P-state Frequency Driver
author:         Huang Rui <ray.huang@amd.com>
srcversion:     39739A8C79AAB14F2C15670
depends:        
retpoline:      Y
intree:         Y
name:           amd_pstate
vermagic:       5.18.1-1-MANJARO SMP preempt mod_unload 

5 Likes