Re: patch: Intel CPU sensor readout correction

2015-01-04 Thread Mages Simon
Thank you, fixed. Index: sys/arch/amd64//amd64/identcpu.c === RCS file: /home/cvs/src/sys/arch/amd64/amd64/identcpu.c,v retrieving revision 1.54 diff -u -p -r1.54 identcpu.c --- sys/arch/amd64//amd64/identcpu.c13 Jul 2014 12:11:01

Re: patch: Intel CPU sensor readout correction

2015-01-04 Thread Mages Simon
The undocumented ones are already in the kernel but not marked as such. Thats why i renamed them because they have the names of the documented features. To cut a long story short, the undocumented MSRs have now the name *_UNDOCUMENTED. So that the real documented MSRs can get there real names accor

Re: patch: Intel CPU sensor readout correction

2015-01-04 Thread Mike Larkin
On Thu, Nov 27, 2014 at 12:44:54PM +0100, Mages, Simon wrote: > Hi there, > > the temperatures 'sysctl hw.sensors' displays for each CPU > are wrong for the most modern Intel CPUs. > > OpenBSD uses only 100 or 85 degC as TJmax for Intel CPUs, but > in reality the TJmax value is somewhere around t

Re: patch: Intel CPU sensor readout correction

2014-12-03 Thread Simon Mages
Hi, i would like to ask if everything's ok with my patch. If somethings wrong, tell me, i'll fix it. I think this patch is a nice correction of the temperature readout of Intel CPU's. I tested this patch on some CPU's and everything looks fine so far. BR Simon 2014-11-27 12:44 GMT+01:00, Mag

patch: Intel CPU sensor readout correction

2014-11-27 Thread Mages, Simon
Hi there, the temperatures 'sysctl hw.sensors' displays for each CPU are wrong for the most modern Intel CPUs. OpenBSD uses only 100 or 85 degC as TJmax for Intel CPUs, but in reality the TJmax value is somewhere around those specified values. Intel defines a TJmax for every production batch indi