Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2021 12:18:38 -0700
From:      Pete Wright <pete@nomadlogic.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: AMD Processor hwpstate_intel.1 loaded
Message-ID:  <14865d35-4204-abbd-16ae-5a8b46baca87@nomadlogic.org>
In-Reply-To: <95d1d130-9f23-2506-fe48-ea7cbd774e89@wavecable.com>
References:  <95d1d130-9f23-2506-fe48-ea7cbd774e89@wavecable.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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@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@nomadlogic.org
@nomadlogicLA




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14865d35-4204-abbd-16ae-5a8b46baca87>