Re: [PATCH v4] hwmon: (coretemp) Improve support for TjMax detection on Atom CPUs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2012-06-11 at 16:17 -0400, Jean Delvare wrote:
> On Mon, 11 Jun 2012 12:41:07 -0700, Guenter Roeck wrote:
> > Atom CPUs don't have a register to retrieve TjMax. Detection so far was
> > incomplete. Use the X86 model ID to improve it.
> > 
> > Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
> > ---
> > v4: Rearranged code to check tjmax table entries first.
> > 
> > v3: Reverted PCI code to avoid possible regressions. Run PCI code first,
> >     then override resulting value with table entry if one exists.
> >     Dropped entries for N2000 and D2000 CPUs as those all have a Tjmax of 100 C
> >     which we can detect separately based on the CPU model number.
> >     Dropped table entries for E6xx series, since the E6xx can not be
> >     distinguished from E6xxT using the model ID string (nor by any other means).
> > 
> > v2: Dropped PCI dependencies
> >     Fixed 330 and 230 detection (2 spaces between CPU and 330/230)
> >     Added support for Cedar Creek CPUs
> >     Declared atom_tjmax as __cpuinitconst
> > 
> > 
> >  drivers/hwmon/coretemp.c |   25 +++++++++++++++++++++++++
> >  1 file changed, 25 insertions(+)
> > (...)
> 
> Applied, thanks.
> 
> I have also updated my standalone driver at:
> http://khali.linux-fr.org/devel/misc/coretemp/
> with a version with all your patches applied.
> 
Great, thanks!

Guenter



_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux