AMD Processor hwpstate_intel.1 loaded

Pete Wright pete at nomadlogic.org
Mon Jul 12 19:18:50 UTC 2021



On 7/11/21 10:02 PM, Thomas D. Dean wrote:
> > uname -a
> FreeBSD aorus 13.0-RELEASE FreeBSD 13.0-RELEASE #0:
>    Sat Jul 10 23:47:01 PDT 2021
>    tomdean at aorus:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64
>
> > dmesg | tail -3
> Security policy loaded: MAC/ntpd (mac_ntpd)
> interface hwpstate_intel.1 already present in the KLD 'kernel'!
> linker_load_file: /boot/kernel/cpufreq.ko - unsupported file type
>
> Cpu is AMD Ryzen Threadripper 3970X
>
> Current CPU speed is 3700 MHz.  Should go to 4550 Mhz.  How do I get 
> there.
>
> Does hwpstate_intel.1 support the AMD 3970X or, is it intel specific 
> as the name suggests?
>
> sys/amd64/conf/GENERIC has
> # CPU frequency control
> device          cpufreq
>
> Should this compile in the cpufreq driver?

i can confirm same issue loading cpufreq.ko on my ryzen system running 
14-current.  interestingly enough these sysctl oid's are available:
dev.cpufreq.0.freq_driver: hwpstate0
dev.hwpstate.0.freq_settings: 3600/4275 3200/3260 2200/1842
dev.hwpstate.0.%parent: cpu0
dev.hwpstate.0.%pnpinfo:
dev.hwpstate.0.%location:
dev.hwpstate.0.%driver: hwpstate
dev.hwpstate.0.%desc: Cool`n'Quiet 2.0

which makes sense as cpufreq(4) states:
hwpstate            AMD Cool'n'Quiet2 used in K10 through Family 17h

whereas hwpstate_intel is "SpeedShift" specific.


are you seeeing anything under dev.hwpstate.*?

-pete


-- 
Pete Wright
pete at nomadlogic.org
@nomadlogicLA



More information about the freebsd-questions mailing list