Re: AMD CPU/APU temperature driver

From: Olivier Cochard-Labbé <olivier_at_freebsd.org>
Date: Wed, 8 Mar 2017 09:02:05 +0100
On Wed, Mar 8, 2017 at 7:29 AM, Rozhuk Ivan <rozhuk.im_at_gmail.com> wrote:

>
> Try now with last version of patch.
>
> ​Compile now and works on PC Engine APU1 and APU2:

[root_at_APU]~# kenv smbios.planar.product
APU
[root_at_APU]~# kldload amdtemp
amdtemp0: <AMD CPU On-Die Thermal Sensors> on hostb4
[root_at_APU]~# sysctl dev.amdtemp
dev.amdtemp.0.rtc.sensor_offset: 0
dev.amdtemp.0.rtc.PerStepTimeUp: 15
dev.amdtemp.0.rtc.PerStepTimeDn: 15
dev.amdtemp.0.rtc.TmpMaxDiffUp: 3
dev.amdtemp.0.rtc.TmpSlewDnEn: 1
dev.amdtemp.0.rtc.CurTmpTjSel: -1.4C
dev.amdtemp.0.rtc.CurTmp: 47.6C
dev.amdtemp.0.htc.PslApicLoEn: 0
dev.amdtemp.0.htc.PslApicHiEn: 0
dev.amdtemp.0.htc.HtcActSts: 0
dev.amdtemp.0.htc.HtcAct: 0
dev.amdtemp.0.htc.HtcPstateLimit: 2
dev.amdtemp.0.htc.HtcSlewSel: 0
dev.amdtemp.0.htc.HtcLock: 0
dev.amdtemp.0.htc.HtcEn: 1
dev.amdtemp.0.htc.HtcHystLmt: 3.1C
dev.amdtemp.0.htc.HtcTmpLmt: 100.1C
dev.amdtemp.0.%parent: hostb4
dev.amdtemp.0.%pnpinfo:
dev.amdtemp.0.%location:
dev.amdtemp.0.%driver: amdtemp
dev.amdtemp.0.%desc: AMD CPU On-Die Thermal Sensors
dev.amdtemp.%parent:

​

[root_at_apu2]~# kenv smbios.planar.product
apu2
[root_at_apu2]~# kldload amdtemp
amdtemp0: <AMD CPU On-Die Thermal Sensors> on hostb5
[root_at_apu2]~# sysctl dev.cpu.0.temperature
dev.cpu.0.temperature: 53.9C
[root_at_apu2]~# sysctl dev.amdtemp
dev.amdtemp.0.rtc.sensor_offset: 0
dev.amdtemp.0.rtc.PerStepTimeUp: 15
dev.amdtemp.0.rtc.PerStepTimeDn: 15
dev.amdtemp.0.rtc.TmpMaxDiffUp: 3
dev.amdtemp.0.rtc.TmpSlewDnEn: 1
dev.amdtemp.0.rtc.CurTmpTjSel: 4.6C
dev.amdtemp.0.rtc.CurTmp: 53.6C
dev.amdtemp.0.htc.PslApicLoEn: 0
dev.amdtemp.0.htc.PslApicHiEn: 0
dev.amdtemp.0.htc.HtcActSts: 1
dev.amdtemp.0.htc.HtcAct: 0
dev.amdtemp.0.htc.HtcPstateLimit: 4
dev.amdtemp.0.htc.HtcSlewSel: 0
dev.amdtemp.0.htc.HtcLock: 0
dev.amdtemp.0.htc.HtcEn: 1
dev.amdtemp.0.htc.HtcHystLmt: 1.1C
dev.amdtemp.0.htc.HtcTmpLmt: 105.1C
dev.amdtemp.0.%parent: hostb5
dev.amdtemp.0.%pnpinfo:
dev.amdtemp.0.%location:
dev.amdtemp.0.%driver: amdtemp
dev.amdtemp.0.%desc: AMD CPU On-Die Thermal Sensors
dev.amdtemp.%parent:
Received on Wed Mar 08 2017 - 07:02:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:10 UTC