Re: [PATCH] hwmon: (k10temp) Add support for family 17h
From: Clemens Ladisch
Date: Tue Sep 05 2017 - 13:50:01 EST
Guenter Roeck wrote:
> On Tue, Sep 05, 2017 at 04:12:07PM +0200, Clemens Ladisch wrote:
>> Guenter Roeck wrote:
>>> What we should do then, as we did for coretemp, would be to collect the various
>>> temperature offsets (and temperature limits, for that matter) and apply per-CPU
>>> adjustments. Are the offsets documented somewhere ?
>>
>> AMD says:
>> "Tctl is the processor temperature control value, used by the platform to
>> control cooling systems. Tctl is a non-physical temperature on an
>> arbitrary scale measured in degrees. It does _not_ represent an actual
>> physical temperature like die or case temperature. Instead, it specifies
>> the processor temperature relative to the point at which the system must
>> supply the maximum cooling for the processor's specified maximum case
>> temperature and maximum thermal power dissipation."
>
> Pretty much the same as Intel. That doesn't mean we should not (try to) report
> the real temperature as good as we can, as at least most of the BIOSes do,
AFAIK the BIOSes use the thermal diode (with external circuitry) for that.
> and as all the Windows tools do, and as users expect us to do.
>
> Do we really have to argue about this ?
Looking at coretemp, this is going to be a maintenance nightmare.
Oh well. If you insist, please add a proper chip-to-offset database, and
apply the offset to all four values.
Regards,
Clemens