From: Andreas Herrmann <andreas.herrmann3@amd.com>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH 1/2] k8temp warn about errata
Date: Tue, 18 Nov 2008 11:18:45 +0000 [thread overview]
Message-ID: <20081118111845.GL12095@alberich.amd.com> (raw)
In-Reply-To: <48E3F505.40401@assembler.cz>
On Tue, Nov 18, 2008 at 11:40:52AM +0100, Jean Delvare wrote:
> On Tue, 18 Nov 2008 10:25:01 +0100, Andreas Herrmann wrote:
> > I am just curious how you'd like to determine the accuracy of the
> > thermal sensor ... As an example, if the sensor reports 70 degC when
> > the true temperature is 65 degC -- is it worth to blacklist it?
>
> If we are 100% certain that this is the case then yes, I would
> blacklist it.
>
> The whole point of hardware monitoring is to report accurate values.
>
> Additional software can be used to take actions based on temperature
> values, for example fan speed regulation or CPU frequency changes. If
> you can't trust the temperature readings then these operations become
> dangerous.
Then we need to blacklist it. The suggested workaround for this erratum is
to use "temperature measurements from an analog thermal diode" for thermal
control ...
If the system should be designed not to rely on the thermal sensor
(due to accuracy issue) the OS shouldn't use it either.
> That being said, I guess that the example above is essentially
> theoretical? Most cases we've seen so far were not off by 5 degrees.
> They were plain wrong, with reported temperatures being in the -20 to
> +15 degrees C.
Was this observed with k8temp or other sensor chips?
> > Jordan, do you know more details about the deviation of the reported
> > temparature sensor values from the real ones?
> >
> > I'd prefer not to blacklist but to keep the warning about potential
> > inaccurate temperature values as introduced by Rudolf. I use k8temp on
> > my private machines -- Athlon X2 and a Turion X2 (both are revF CPUs
> > and thus affected by erratum 141). I admit, this is more or less a
> > gimmick but I would miss it (if blacklisted).
>
> Whatever we end up with, we will add a module parameter to let the user
> force the driver binding, exactly for advanced users like you.
Ok, a module parameter should do it.
> My point with the blacklist is that we should not report knowingly
> incorrect values to the user _by default_, especially given that the
> k8temp driver loads automatically. I think it is better to not
> report anything by default rather than potentially wrong values. But
> I also agree that we must provide a way to bypass the tests, if
> nothing else, because our blacklist or heuristic may be incorrect.
Regards,
Andreas
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2008-11-18 11:18 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-01 22:09 [lm-sensors] [PATCH 1/2] k8temp warn about errata Rudolf Marek
2008-10-25 12:43 ` Jean Delvare
2008-10-27 1:18 ` Jean-Marc Spaggiari
2008-11-09 19:56 ` Rudolf Marek
2008-11-09 20:47 ` Jean Delvare
2008-11-09 20:54 ` Jean Delvare
2008-11-10 1:27 ` Jordan Crouse
2008-11-10 9:38 ` Jean Delvare
2008-11-18 8:41 ` Andreas Herrmann
2008-11-18 8:55 ` Andreas Herrmann
2008-11-18 9:06 ` Jean Delvare
2008-11-18 9:25 ` Andreas Herrmann
2008-11-18 10:10 ` Andreas Herrmann
2008-11-18 10:40 ` Jean Delvare
2008-11-18 11:18 ` Andreas Herrmann [this message]
2008-11-18 11:26 ` Andreas Herrmann
2008-11-18 12:33 ` Jean Delvare
2008-11-18 12:57 ` Jean Delvare
2008-11-18 17:46 ` Jordan Crouse
2008-11-18 18:15 ` Jean Delvare
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=20081118111845.GL12095@alberich.amd.com \
--to=andreas.herrmann3@amd.com \
--cc=lm-sensors@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.