Re: [PATCH v4 6/6] hwmon: (k10temp) Add debugfs support

From: Guenter Roeck
Date: Thu Jan 23 2020 - 23:47:53 EST


Hi Ken,

On 1/23/20 4:01 PM, Ken Moffat wrote:
Hi Guenter,


Thanks a lot for the additional information. The following
is interesting.

-0x059960: 00000000 08400001 00004623 00000039
+0x059960: 00000000 08400001 00008241 00000045

The last two blocks also temperatures. In the AMD thermal code,
we find definitions for CG_MULT_THERMAL_STATUS and
CG_THERMAL_RANGE. The first consists of 2 x 9 bit (0x23
and 0x43 above for idle and under load), the second is just
a value. On Zen2, the address for those values is 20 higher
(0x05997c instead of 0x059968), but the numbers are pretty
much the same. The AMD thermal code reads those values for
some graphics chips and displays it directly in degrees C.

I am just not sure what exactly it represents. I see those
temperatures on 3900X as well. Actually, it looks like all
chips report them, including server chips, so it is not the
graphics temperature. But it is definitely worth keeping an eye
on it; maybe someone can figure out what it is.

Hope this is not a waste of your time.

No, it is definitely worth it. It will give me data to work with
in the future.

Would you like similar for the 2500u ?

Yes, that would be great.

Thanks,
Guenter