Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2013 01:09:00 +0400
From:      rozhuk.im@gmail.com
To:        "'Willem Jan Withagen'" <wjw@digiware.nl>
Cc:        hackers@freebsd.org
Subject:   RE: amdtemp need help with testing
Message-ID:  <525f0076.c402cd0a.5f4e.7f67@mx.google.com>
In-Reply-To: <5255478B.9090305@digiware.nl>
References:  <52520d5f.c402cd0a.5f4e.ffffffa2@mx.google.com> <52553F3F.9090707@digiware.nl> <5255478B.9090305@digiware.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the help with testing!
I fixed a bug, added HTC registers, changed the _ident() and the _probe():
no binding processor Family.
The latest version here: http://netlab.linkpc.net/download/tmp/amdtemp.c


> -----Original Message-----
> From: Willem Jan Withagen [mailto:wjw@digiware.nl]
> Sent: Wednesday, October 09, 2013 4:10 PM
> To: Rozhuk.IM@gmail.com
> Cc: hackers@freebsd.org
> Subject: Re: amdtemp need help with testing
> 
> On 2013-10-09 13:34, Willem Jan Withagen wrote:
> > On 2013-10-07 3:24, rozhuk.im@gmail.com wrote:
> >> I updated amdtemp and now I need your help with testing.
> >>
> >> Now the driver should support all AMD processors.
> >> For a family of 15h and 16h, not all sensors are available - for my
> >> system does not find drivers for ati SMBus, and other systems based
> >> on the AMD I have not.
> >
> > CPU: AMD Phenom(tm) II X6 1075T Processor (3013.83-MHz K8-class CPU)
> >    Origin = "AuthenticAMD"  Id = 0x100fa0  Family = 0x10  Model = 0xa
> > Stepping = 0
> >
> Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P
> > GE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
> >
> >    Features2=0x802009<SSE3,MON,CX16,POPCNT>
> >    AMD
> >
> Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DN
> ow!>
> >    AMD
> >
> Features2=0x37ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,
> > IBS,SKINIT,WDT>
> >
> >    TSC: P-state invariant, performance statistics
> > L1 2MB data TLB: 48 entries, fully associative
> > L1 2MB instruction TLB: 16 entries, fully associative
> > L1 4KB data TLB: 48 entries, fully associative
> > L1 4KB instruction TLB: 32 entries, fully associative
> > L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way
> > associative
> > L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way
> > associative
> > L2 2MB data TLB: 128 entries, 2-way associative
> > L2 2MB instruction TLB: 0 entries, 2-way associative
> >
> > This is what I get with the 10.0-ALPHA4 driver.
> >
> > sysctl -a | grep amd
> > machine amd64
> > hw.machine: amd64
> > hw.machine_arch: amd64
> > hw.snd.version: 2009061500/amd64
> > hw.mca.amd10h_L1TP: 1
> > dev.amdtemp.0.%desc: AMD CPU On-Die Thermal Sensors
> > dev.amdtemp.0.%driver: amdtemp
> > dev.amdtemp.0.%parent: hostb4
> > dev.amdtemp.0.sensor_offset: 0
> > dev.amdtemp.0.core0.sensor0: 58.0C
> >
> After bruteforce fixing the compile error by deleting the #ifdef around
> the definition...
> 
> --WjW
> 
> freetest# sysctl -a | grep amd
> machine amd64
> "Giant","amdtemp"
> hw.machine: amd64
> hw.machine_arch: amd64
> hw.snd.version: 2009061500/amd64
> hw.mca.amd10h_L1TP: 1
> dev.amdtemp.0.%desc: AMD CPU On-Die Thermal Sensors
> dev.amdtemp.0.%driver: amdtemp
> dev.amdtemp.0.%parent: hostb4
> dev.amdtemp.0.rtc.CurTmp: 36.6C
> dev.amdtemp.0.rtc.CurTmpTjSel: -12.5C
> dev.amdtemp.0.rtc.TmpSlewDnEn: 1
> dev.amdtemp.0.rtc.TmpMaxDiffUp: 3
> dev.amdtemp.0.rtc.PerStepTimeDn: 15
> dev.amdtemp.0.rtc.PerStepTimeUp: 15
> dev.amdtemp.0.rtc.sensor_offset: 0
> dev.amdtemp.0.tsi.sensor0.cpu_temperature: 36.6C
> dev.amdtemp.0.tsi.sensor0.high_temperature_threshold: 70.0C
> dev.amdtemp.0.tsi.sensor0.low_temperature_threshold: 0.0C
> dev.amdtemp.0.tsi.sensor0.cpu_temperature_offset_hi: 0
> dev.amdtemp.0.tsi.sensor0.cpu_temperature_offset_lo: 0
> dev.amdtemp.0.tsi.sensor0.status: 0
> dev.amdtemp.0.tsi.sensor0.cfg3: 0
> dev.amdtemp.0.tsi.sensor0.cfg9: 0
> dev.amdtemp.0.tsi.sensor0.upd_rate: 8
> dev.amdtemp.0.tsi.sensor0.timeout_cfg: 128
> dev.amdtemp.0.tsi.sensor0.alert_threshold: 0
> dev.amdtemp.0.tsi.sensor0.alert_cfg: 0
> dev.amdtemp.0.tsi.sensor0.manufacture_id: 0
> dev.amdtemp.0.tsi.sensor0.revision: 1
> dev.amdtemp.0.tsi.sensor0.sensor_offset: 0
> dev.amdtemp.0.tsi.sensor1.cpu_temperature: 36.6C
> dev.amdtemp.0.tsi.sensor1.high_temperature_threshold: 70.0C
> dev.amdtemp.0.tsi.sensor1.low_temperature_threshold: 0.0C
> dev.amdtemp.0.tsi.sensor1.cpu_temperature_offset_hi: 0
> dev.amdtemp.0.tsi.sensor1.cpu_temperature_offset_lo: 0
> dev.amdtemp.0.tsi.sensor1.status: 0
> dev.amdtemp.0.tsi.sensor1.cfg3: 0
> dev.amdtemp.0.tsi.sensor1.cfg9: 0
> dev.amdtemp.0.tsi.sensor1.upd_rate: 8
> dev.amdtemp.0.tsi.sensor1.timeout_cfg: 128
> dev.amdtemp.0.tsi.sensor1.alert_threshold: 0
> dev.amdtemp.0.tsi.sensor1.alert_cfg: 0
> dev.amdtemp.0.tsi.sensor1.manufacture_id: 0
> dev.amdtemp.0.tsi.sensor1.revision: 1
> dev.amdtemp.0.tsi.sensor1.sensor_offset: 0
> dev.amdtemp.0.tsi.sensor2.cpu_temperature: 36.6C
> dev.amdtemp.0.tsi.sensor2.high_temperature_threshold: 70.0C
> dev.amdtemp.0.tsi.sensor2.low_temperature_threshold: 0.0C
> dev.amdtemp.0.tsi.sensor2.cpu_temperature_offset_hi: 0
> dev.amdtemp.0.tsi.sensor2.cpu_temperature_offset_lo: 0
> dev.amdtemp.0.tsi.sensor2.status: 0
> dev.amdtemp.0.tsi.sensor2.cfg3: 0
> dev.amdtemp.0.tsi.sensor2.cfg9: 0
> dev.amdtemp.0.tsi.sensor2.upd_rate: 8
> dev.amdtemp.0.tsi.sensor2.timeout_cfg: 128
> dev.amdtemp.0.tsi.sensor2.alert_threshold: 0
> dev.amdtemp.0.tsi.sensor2.alert_cfg: 0
> dev.amdtemp.0.tsi.sensor2.manufacture_id: 0
> dev.amdtemp.0.tsi.sensor2.revision: 1
> dev.amdtemp.0.tsi.sensor2.sensor_offset: 0
> dev.amdtemp.0.tsi.sensor3.cpu_temperature: 36.6C
> dev.amdtemp.0.tsi.sensor3.high_temperature_threshold: 70.0C
> dev.amdtemp.0.tsi.sensor3.low_temperature_threshold: 0.0C
> dev.amdtemp.0.tsi.sensor3.cpu_temperature_offset_hi: 0
> dev.amdtemp.0.tsi.sensor3.cpu_temperature_offset_lo: 0
> dev.amdtemp.0.tsi.sensor3.status: 0
> dev.amdtemp.0.tsi.sensor3.cfg3: 0
> dev.amdtemp.0.tsi.sensor3.cfg9: 0
> dev.amdtemp.0.tsi.sensor3.upd_rate: 8
> dev.amdtemp.0.tsi.sensor3.timeout_cfg: 128
> dev.amdtemp.0.tsi.sensor3.alert_threshold: 0
> dev.amdtemp.0.tsi.sensor3.alert_cfg: 0
> dev.amdtemp.0.tsi.sensor3.manufacture_id: 0
> dev.amdtemp.0.tsi.sensor3.revision: 1
> dev.amdtemp.0.tsi.sensor3.sensor_offset: 0
> dev.amdtemp.0.tsi.sensor4.cpu_temperature: 36.6C
> dev.amdtemp.0.tsi.sensor4.high_temperature_threshold: 70.0C
> dev.amdtemp.0.tsi.sensor4.low_temperature_threshold: 0.0C
> dev.amdtemp.0.tsi.sensor4.cpu_temperature_offset_hi: 0
> dev.amdtemp.0.tsi.sensor4.cpu_temperature_offset_lo: 0
> dev.amdtemp.0.tsi.sensor4.status: 0
> dev.amdtemp.0.tsi.sensor4.cfg3: 0
> dev.amdtemp.0.tsi.sensor4.cfg9: 0
> dev.amdtemp.0.tsi.sensor4.upd_rate: 8
> dev.amdtemp.0.tsi.sensor4.timeout_cfg: 128
> dev.amdtemp.0.tsi.sensor4.alert_threshold: 0
> dev.amdtemp.0.tsi.sensor4.alert_cfg: 0
> dev.amdtemp.0.tsi.sensor4.manufacture_id: 0
> dev.amdtemp.0.tsi.sensor4.revision: 1
> dev.amdtemp.0.tsi.sensor4.sensor_offset: 0
> dev.amdtemp.0.tsi.sensor5.cpu_temperature: 36.6C
> dev.amdtemp.0.tsi.sensor5.high_temperature_threshold: 70.0C
> dev.amdtemp.0.tsi.sensor5.low_temperature_threshold: 0.0C
> dev.amdtemp.0.tsi.sensor5.cpu_temperature_offset_hi: 0
> dev.amdtemp.0.tsi.sensor5.cpu_temperature_offset_lo: 0
> dev.amdtemp.0.tsi.sensor5.status: 0
> dev.amdtemp.0.tsi.sensor5.cfg3: 0
> dev.amdtemp.0.tsi.sensor5.cfg9: 0
> dev.amdtemp.0.tsi.sensor5.upd_rate: 8
> dev.amdtemp.0.tsi.sensor5.timeout_cfg: 128
> dev.amdtemp.0.tsi.sensor5.alert_threshold: 0
> dev.amdtemp.0.tsi.sensor5.alert_cfg: 0
> dev.amdtemp.0.tsi.sensor5.manufacture_id: 0
> dev.amdtemp.0.tsi.sensor5.revision: 1
> dev.amdtemp.0.tsi.sensor5.sensor_offset: 0
> dev.amdtemp.0.tsi.sensor6.cpu_temperature: 36.6C
> dev.amdtemp.0.tsi.sensor6.high_temperature_threshold: 70.0C
> dev.amdtemp.0.tsi.sensor6.low_temperature_threshold: 0.0C
> dev.amdtemp.0.tsi.sensor6.cpu_temperature_offset_hi: 0
> dev.amdtemp.0.tsi.sensor6.cpu_temperature_offset_lo: 0
> dev.amdtemp.0.tsi.sensor6.status: 0
> dev.amdtemp.0.tsi.sensor6.cfg3: 0
> dev.amdtemp.0.tsi.sensor6.cfg9: 0
> dev.amdtemp.0.tsi.sensor6.upd_rate: 8
> dev.amdtemp.0.tsi.sensor6.timeout_cfg: 128
> dev.amdtemp.0.tsi.sensor6.alert_threshold: 0
> dev.amdtemp.0.tsi.sensor6.alert_cfg: 0
> dev.amdtemp.0.tsi.sensor6.manufacture_id: 0
> dev.amdtemp.0.tsi.sensor6.revision: 1
> dev.amdtemp.0.tsi.sensor6.sensor_offset: 0
> dev.amdtemp.0.tsi.sensor7.cpu_temperature: 36.6C
> dev.amdtemp.0.tsi.sensor7.high_temperature_threshold: 70.0C
> dev.amdtemp.0.tsi.sensor7.low_temperature_threshold: 0.0C
> dev.amdtemp.0.tsi.sensor7.cpu_temperature_offset_hi: 0
> dev.amdtemp.0.tsi.sensor7.cpu_temperature_offset_lo: 0
> dev.amdtemp.0.tsi.sensor7.status: 0
> dev.amdtemp.0.tsi.sensor7.cfg3: 0
> dev.amdtemp.0.tsi.sensor7.cfg9: 0
> dev.amdtemp.0.tsi.sensor7.upd_rate: 8
> dev.amdtemp.0.tsi.sensor7.timeout_cfg: 128
> dev.amdtemp.0.tsi.sensor7.alert_threshold: 0
> dev.amdtemp.0.tsi.sensor7.alert_cfg: 0
> dev.amdtemp.0.tsi.sensor7.manufacture_id: 0
> dev.amdtemp.0.tsi.sensor7.revision: 1
> dev.amdtemp.0.tsi.sensor7.sensor_offset: 0
> 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?525f0076.c402cd0a.5f4e.7f67>