Re: [RFT PATCH 0/4] hwmon: k10temp driver improvements

Guenter Roeck
2020-01-17T03:58:20Z

Hi Ken,

On 1/16/20 4:38 PM, Ken Moffat wrote:
> On Thu, 16 Jan 2020 at 14:18, Guenter Roeck <linux@roeck-us.net> wrote:
[ ... ]
> I have some Zen1 and Zen1+ here.
>
> My Ryzen 3 1300X, applied to 5.5.0-rc5
>
> machine idle, I thought at first the temperature may be a bit low, so
> I've added other reported temperatures. I now think it is maybe ok.
>
> k10temp-pci-00c3
> Adapter: PCI adapter
> Vcore: +1.41 V
> Vsoc: +0.89 V
> Tdie: +21.2°C (high = +70.0°C)
> Tctl: +21.2°C
> Icore: +30.14 A
> Isoc: +8.66 A
>
> SYSTIN: +29.0°C (high = +0.0°C, hyst = +0.0°C)
> ALARM sensor = thermistor
> CPUTIN: +25.5°C (high = +80.0°C, hyst = +75.0°C)
> sensor = thermistor
> AUXTIN0: -1.5°C sensor = thermistor
> AUXTIN1: +87.0°C sensor = thermistor
> AUXTIN2: +23.0°C sensor = thermistor
> AUXTIN3: -27.0°C sensor = thermistor
> SMBUSMASTER 0: +20.5°C
>
SMBUSMASTER 0 is the CPU, so we have a match with the temperatures.

> After about 2 minutes of make -j8 on kernel, to load it
>
> k10temp-pci-00c3
> Adapter: PCI adapter
> Vcore: +1.26 V
> Vsoc: +0.89 V
> Tdie: +46.2°C (high = +70.0°C)
> Tctl: +46.2°C
> Icore: +45.73 A
> Isoc: +11.18 A
>

Both Vcore and Icore should be much less when idle, and higher under
load. The data from the Super-IO chip suggests that it is a Nuvoton
chip. Can you report its first voltage (in0) ? That should roughly
match Vcore.

> SYSTIN: +29.0°C (high = +0.0°C, hyst = +0.0°C)
> ALARM sensor = thermistor
> CPUTIN: +38.5°C (high = +80.0°C, hyst = +75.0°C)
> sensor = thermistor
> AUXTIN0: -7.5°C sensor = thermistor
> AUXTIN1: +85.0°C sensor = thermistor
> AUXTIN2: +23.0°C sensor = thermistor
> AUXTIN3: -27.0°C sensor = thermistor
> SMBUSMASTER 0: +46.0°C
>
> So I guess the temperatures *are* in the right area.
> Interestingly, the Vcore restores to above +1.4V when idle.
>
It should be much lower when idle, actually, not higher.

All other data looks ok.

Thanks,
Guenter