All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aravind Gopalakrishnan <aravind.gopalakrishnan@amd.com>
To: Guenter Roeck <linux@roeck-us.net>, James Cloos <cloos@jhcloos.com>
Cc: dri-devel@lists.freedesktop.org, lm-sensors@lm-sensors.org
Subject: Re: [lm-sensors] Kaveri [and Radeon] temps
Date: Thu, 06 Nov 2014 15:17:52 +0000	[thread overview]
Message-ID: <545B9120.4080106@amd.com> (raw)
In-Reply-To: <20141105235022.GA26085@roeck-us.net>

On 11/5/2014 5:50 PM, Guenter Roeck wrote:
> On Wed, Nov 05, 2014 at 06:34:20PM -0500, James Cloos wrote:
>>>>>>> "GR" = Guenter Roeck <linux@roeck-us.net> writes:
>> ...
>> GR> AMD CPUs are known report wildly off temperatures especially at
>> GR> low temperatures.
>>
>> Thanks.  After some further digging, I wonder whether Aravind's recent
>> patch might help?  The apu does have both PCI_DEVICE_ID_AMD_16H_M30H_NB_F3
>> and PCI_DEVICE_ID_AMD_16H_M30H_NB_F4 and lspci reports no driver for the
>> F4 device.
>>
> Aravind would have to comment; my understanding is that the F4 device
> reports the power, not the temperature. You could try to apply the patch
> and see if it makes a difference. Worst case there will be no change ;-).

Right, F4 is for reporting power values.
The recent patch was a bug fix for fam15h_power, so I don't think that's 
what you are looking for..

>> GR>  Does the temperature increase with load ?
>>
>> It seems to max out w/in a kelvin or two of the room's ambient temp.
>>
> Even under load ? Sounds weird.

Yeah, I have not come across such odd behavior neither. So not able to 
tell you what might be wrong..

> Question of course is if the chip really
> reports a useful temperature in the first place; this is something I can
> not answer, since I have neither a datasheet nor a system with that CPU.

Yes, the values reported are accurate and AFAIK there are folks who are 
interested to look into temperature/power values reported by hwmon, so I 
guess it's useful :)
I shall try and ask around if someone knows anything about incorrect 
values being exposed in the registers and let you know.

Thanks,
-Aravind

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

WARNING: multiple messages have this Message-ID (diff)
From: Aravind Gopalakrishnan <aravind.gopalakrishnan@amd.com>
To: Guenter Roeck <linux@roeck-us.net>, James Cloos <cloos@jhcloos.com>
Cc: dri-devel@lists.freedesktop.org, lm-sensors@lm-sensors.org
Subject: Re: Kaveri [and Radeon] temps
Date: Thu, 6 Nov 2014 09:17:52 -0600	[thread overview]
Message-ID: <545B9120.4080106@amd.com> (raw)
In-Reply-To: <20141105235022.GA26085@roeck-us.net>

On 11/5/2014 5:50 PM, Guenter Roeck wrote:
> On Wed, Nov 05, 2014 at 06:34:20PM -0500, James Cloos wrote:
>>>>>>> "GR" == Guenter Roeck <linux@roeck-us.net> writes:
>> ...
>> GR> AMD CPUs are known report wildly off temperatures especially at
>> GR> low temperatures.
>>
>> Thanks.  After some further digging, I wonder whether Aravind's recent
>> patch might help?  The apu does have both PCI_DEVICE_ID_AMD_16H_M30H_NB_F3
>> and PCI_DEVICE_ID_AMD_16H_M30H_NB_F4 and lspci reports no driver for the
>> F4 device.
>>
> Aravind would have to comment; my understanding is that the F4 device
> reports the power, not the temperature. You could try to apply the patch
> and see if it makes a difference. Worst case there will be no change ;-).

Right, F4 is for reporting power values.
The recent patch was a bug fix for fam15h_power, so I don't think that's 
what you are looking for..

>> GR>  Does the temperature increase with load ?
>>
>> It seems to max out w/in a kelvin or two of the room's ambient temp.
>>
> Even under load ? Sounds weird.

Yeah, I have not come across such odd behavior neither. So not able to 
tell you what might be wrong..

> Question of course is if the chip really
> reports a useful temperature in the first place; this is something I can
> not answer, since I have neither a datasheet nor a system with that CPU.

Yes, the values reported are accurate and AFAIK there are folks who are 
interested to look into temperature/power values reported by hwmon, so I 
guess it's useful :)
I shall try and ask around if someone knows anything about incorrect 
values being exposed in the registers and let you know.

Thanks,
-Aravind

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

  reply	other threads:[~2014-11-06 15:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-05 21:15 [lm-sensors] Kaveri temps James Cloos
2014-11-05 23:21 ` [lm-sensors] Kaveri [and Radeon] temps Guenter Roeck
2014-11-05 23:21   ` Guenter Roeck
2014-11-05 23:34   ` [lm-sensors] " James Cloos
2014-11-05 23:34     ` James Cloos
2014-11-05 23:50     ` [lm-sensors] " Guenter Roeck
2014-11-05 23:50       ` Guenter Roeck
2014-11-06 15:17       ` Aravind Gopalakrishnan [this message]
2014-11-06 15:17         ` Aravind Gopalakrishnan

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=545B9120.4080106@amd.com \
    --to=aravind.gopalakrishnan@amd.com \
    --cc=cloos@jhcloos.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux@roeck-us.net \
    --cc=lm-sensors@lm-sensors.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.