From: Guenter Roeck <linux@roeck-us.net>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH 9/9] hwmon: (it87) Report thermal sensor type as Intel PECI if appropriate
Date: Thu, 01 Nov 2012 13:40:51 +0000 [thread overview]
Message-ID: <20121101134051.GA11091@roeck-us.net> (raw)
In-Reply-To: <1351448401-13985-10-git-send-email-linux@roeck-us.net>
On Thu, Nov 01, 2012 at 01:56:07PM +0100, Jean Delvare wrote:
> On Mon, 29 Oct 2012 10:28:30 -0700, Guenter Roeck wrote:
> > On Mon, Oct 29, 2012 at 05:55:20PM +0100, Jean Delvare wrote:
> > > On Sun, 28 Oct 2012 11:20:01 -0700, Guenter Roeck wrote:
> > > > diff --git a/Documentation/hwmon/it87 b/Documentation/hwmon/it87
> > > > index 92ce617..3d938aea 100644
> > > > --- a/Documentation/hwmon/it87
> > > > +++ b/Documentation/hwmon/it87
> > > > @@ -217,4 +217,5 @@ Temperature offset attributes
> > > > The driver supports temp[1-3]_offset sysfs attributes to adjust the reported
> > > > temperature for thermal diodes or diode connected thermal transistors.
> > > > If a temperature sensor is configured for thermistors, the attribute values
> > > > -are ignored.
> > > > +are ignored. If the thermal sensor type is Intel PECI, the temperature offset
> > > > +must be programmed to the critical CPU temperature.
> > >
> > > I don't quite get this part.. Who should do that, and how?
> >
> > The BIOS, presumably. It does it on my board, but wrongly. It sets it
> > to 97 degrees C, while the CPU's Tcrit is 105 degrees C. I fixed the
> > offset to 105, and now the reported temperature matches the CPU temperature
> > (and moves with it). This is how I found out about PECI support in the
> > first place.
>
> In which register is the PECI temperature offset value stored? I am
> looking at the IT8720F datasheet and I can't find it.
>
On IT8728F it is in the diode zero degree adjust registers.
I found this from experiments; it is not mentioned in the datasheet.
I would guess it is the same on the other chips, though I can not test
it on those.
Guenter
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2012-11-01 13:40 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-28 18:20 [lm-sensors] [PATCH 9/9] hwmon: (it87) Report thermal sensor type as Intel PECI if appropriate Guenter Roeck
2012-10-29 16:55 ` Jean Delvare
2012-10-29 17:28 ` Guenter Roeck
2012-11-01 12:56 ` Jean Delvare
2012-11-01 13:40 ` Guenter Roeck [this message]
2012-11-01 16:37 ` Jean Delvare
2012-11-01 17:17 ` Guenter Roeck
2012-11-01 18:12 ` Jean Delvare
2012-11-01 20:54 ` Guenter Roeck
2012-11-01 21:18 ` Phil Pokorny
2012-11-02 3:09 ` Guenter Roeck
2012-11-02 15:24 ` Jean Delvare
2012-11-02 17:19 ` Guenter Roeck
2012-11-02 17:31 ` Jean Delvare
2012-11-03 16:03 ` Guenter Roeck
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=20121101134051.GA11091@roeck-us.net \
--to=linux@roeck-us.net \
--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.