Date: Wed, 8 Mar 2017 09:02:05 +0100 From: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= <olivier@freebsd.org> To: Rozhuk Ivan <rozhuk.im@gmail.com> Cc: "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>, freebsd-drivers@freebsd.org Subject: Re: AMD CPU/APU temperature driver Message-ID: <CA%2Bq%2BTcoBufzyCpXPy18kQXDfROXd4fx5FAfy7jTe6JSfvnjUFw@mail.gmail.com> In-Reply-To: <20170308092919.54eb97b5@rimwks> References: <20170306050431.6fff2cbe@rimwks> <CA%2Bq%2BTco6DFvQ2gpP1%2BC-_tn9EfdJfDTxsdn7ygJ87b67dWVO7Q@mail.gmail.com> <20170308092919.54eb97b5@rimwks>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 8, 2017 at 7:29 AM, Rozhuk Ivan <rozhuk.im@gmail.com> wrote: > > Try now with last version of patch. > > =E2=80=8BCompile now and works on PC Engine APU1 and APU2: [root@APU]~# kenv smbios.planar.product APU [root@APU]~# kldload amdtemp amdtemp0: <AMD CPU On-Die Thermal Sensors> on hostb4 [root@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: =E2=80=8B [root@apu2]~# kenv smbios.planar.product apu2 [root@apu2]~# kldload amdtemp amdtemp0: <AMD CPU On-Die Thermal Sensors> on hostb5 [root@apu2]~# sysctl dev.cpu.0.temperature dev.cpu.0.temperature: 53.9C [root@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2Bq%2BTcoBufzyCpXPy18kQXDfROXd4fx5FAfy7jTe6JSfvnjUFw>