SparkyLinux Forums

Software & hardware support => Sparky Linux kernel => Topic started by: AxL on August 26, 2022, 04:17:41 PM

Title: AMD's P-state driver for Zen2 and Zen3 processors
Post by: AxL on August 26, 2022, 04:17:41 PM
Hi! @pavroo


I would like to know, if the sparky 5.19.x series kernels, use AMD's P-state driver for Zen2 and Zen3 processors.

As always, thank you very much for all your work and support with SparkyLinux. (https://i.imgur.com/RKk45Tn.gif)









Cheers !!  (https://i.imgur.com/emjz0.gif)
Title: Re: AMD's P-state driver for Zen2 and Zen3 processors
Post by: AxL on August 30, 2022, 12:47:26 PM
Quote from: AxL on August 26, 2022, 04:17:41 PM[...]
I would like to know, if the sparky 5.19.x series kernels, use AMD's P-state driver for Zen2 and Zen3 processors.


Anyway, if after four days there is no answer, it is clear to me that your kernels don't use AMD P-state. (https://i.imgur.com/jwFubep.gif)


Thanks anyway
Title: Re: AMD's P-state driver for Zen2 and Zen3 processors
Post by: AxL on December 26, 2022, 11:34:57 PM
(https://i.imgur.com/bDtcOwK.gif) For those who might be interested:


The latest version of the kernel (6.1.x series) amd_pstate driver is included by default (builtin) in the kernel itself (NO longer available as a module anymore).


➤ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
amd-pstate

➤ sudo 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>

So with this change, anyone who wants to enable it, will have to add 'amd_pstate=passive' to the kernel (as boot parameter) in the command line.



(https://i.imgur.com/bpw3iIG.png)




- More info:

















Cheers !!  (https://i.imgur.com/BXCIu.gif)
Title: Re: AMD's P-state driver for Zen2 and Zen3 processors
Post by: AxL on September 24, 2023, 06:57:33 PM
An update about the message written above.  (https://i.imgur.com/4GCd6.gif)

With versions 6.4.x and 6.5.x series kernels, there are new options with the amd_pstate driver.