public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali@linux-fr.org>
To: Kasper Sandberg <lkml@metanurb.dk>
Cc: Rudolf Marek <r.marek@assembler.cz>,
	Maxim Levitsky <maximlevitsky@gmail.com>,
	trenn@suse.de, Len Brown <lenb@kernel.org>,
	Matthew <jackdachef@gmail.com>,
	linux-acpi@vger.kernel.org, torvalds@linux-foundation.org,
	linux-kernel@vger.kernel.org, "Zhang, Rui" <rui.zhang@intel.com>
Subject: Re: Linux 2.6.25 (coretemp reads high temperatures)
Date: Wed, 30 Apr 2008 08:20:05 +0200	[thread overview]
Message-ID: <20080430082005.4b76186f@hyperion.delvare> (raw)
In-Reply-To: <1209514274.27499.12.camel@localhost>

On Wed, 30 Apr 2008 02:11:14 +0200, Kasper Sandberg wrote:
> On Wed, 2008-04-30 at 00:14 +0200, Rudolf Marek wrote:
> > Well again, I tried hard at Intel and I really could not get any info on some
> > calibration bit. The temperature is non-physical on arbitrary scale. I changed
> > that so for some people it jumped to 100C, for some it remained.
> 
> So, im confused.. The reason for this is that the internal sensor is
> operating on some sort of weird scale, and thus when you interpolate it
> into "your" scale, it doesent quite come out in the actual degrees
> celcius the cpu temperature really is?

It's really only an offset, rather than scaling. The temperature
reported by the Core and Core2 CPUs is a relative temperature. It tells
how far you are from the maximum temperature the CPU can survive. The
value is expressed in (relative) degrees C.

Rudolf did his best to find out the (absolute) temperature each CPU
model can survive (known as TJmax) so that the coretemp driver can
provide an absolute temperature to user-space, as all other hardware
monitoring drivers do. Our hope was to limit the confusion, but it
seems we failed ;) Maybe it would be better if the driver was reporting
the relative temperature value directly when we don't know the TJmax
value for sure - but then all user-space tools would need to learn how
to deal with this.

> so if i understand this correctly, the coretemp output does NOT
> represent the actual deg celcius temperature my cpu is?

It should, but there's no guarantee on desktop/server CPUs. It can be
offset by 15°C if the driver's heuristic to determine TJmax for your
CPU is incorrect. I guess the offset could even be different - after
all the documentation we got from Intel was incomplete so we don't
really know.

-- 
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2008-04-30  6:20 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <e85b9d30804180837y39c52e26i588e4b67c87a5e9d@mail.gmail.com>
2008-04-19  1:51 ` Linux 2.6.25 (coretemp reads high temperatures) Len Brown
2008-04-21 16:10   ` Thomas Bächler
2008-04-23  8:43   ` Maxim Levitsky
2008-04-28 18:19     ` Kasper Sandberg
2008-04-29 13:07       ` Thomas Renninger
2008-04-29 15:08         ` Jean Delvare
2008-04-29 22:14           ` Rudolf Marek
2008-04-29 22:58             ` Matthew
2008-04-30  6:10               ` Jean Delvare
2008-04-30 14:46                 ` Henrique de Moraes Holschuh
2008-04-30 14:50                   ` Rudolf Marek
2008-04-30 15:18                     ` Jean Delvare
2008-05-02 20:35                   ` Pavel Machek
2008-04-30  0:11             ` Kasper Sandberg
2008-04-30  6:20               ` Jean Delvare [this message]
2008-04-30 14:51                 ` Henrique de Moraes Holschuh
2008-04-30 15:28                   ` Jean Delvare
2008-05-02 20:36                   ` Pavel Machek
2008-05-04 17:42                     ` Henrique de Moraes Holschuh
2008-05-05 13:45                       ` Pavel Machek
2008-05-02 20:35             ` Pavel Machek
     [not found] ` <alpine.LFD.1.00.0804180843150.2879@woody.linux-foundation.org>
     [not found]   ` <20080418193802.GK7674@cvg>
     [not found]     ` <20080418200338.GL7674@cvg>
     [not found]       ` <48096179.4060803@keyaccess.nl>
     [not found]         ` <480964F7.3040701@keyaccess.nl>
     [not found]           ` <20080419061701.GA7688@cvg>
2008-04-19 10:18             ` Linux 2.6.25 Matthew

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080430082005.4b76186f@hyperion.delvare \
    --to=khali@linux-fr.org \
    --cc=jackdachef@gmail.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@metanurb.dk \
    --cc=maximlevitsky@gmail.com \
    --cc=r.marek@assembler.cz \
    --cc=rui.zhang@intel.com \
    --cc=torvalds@linux-foundation.org \
    --cc=trenn@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox