Re: [PATCH] hwmon: (k10temp) Add support for family 17h

2017-09-05 Thread Clemens Ladisch
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 >>>

Re: [PATCH] hwmon: (k10temp) Add support for family 17h

2017-09-05 Thread Clemens Ladisch
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 >>>

Re: [PATCH] hwmon: (k10temp) Add support for family 17h

2017-09-05 Thread Guenter Roeck
On Tue, Sep 05, 2017 at 04:12:07PM +0200, Clemens Ladisch wrote: > Guenter Roeck wrote: > > On 09/04/2017 11:47 PM, Clemens Ladisch wrote: > >> Guenter Roeck wrote: > >>> Some of this is guesswork, but afaics it is working. No idea if there > >>> is a better way to determine the temperature

Re: [PATCH] hwmon: (k10temp) Add support for family 17h

2017-09-05 Thread Guenter Roeck
On Tue, Sep 05, 2017 at 04:12:07PM +0200, Clemens Ladisch wrote: > Guenter Roeck wrote: > > On 09/04/2017 11:47 PM, Clemens Ladisch wrote: > >> Guenter Roeck wrote: > >>> Some of this is guesswork, but afaics it is working. No idea if there > >>> is a better way to determine the temperature

Re: [PATCH] hwmon: (k10temp) Add support for family 17h

2017-09-05 Thread Clemens Ladisch
Guenter Roeck wrote: > On 09/04/2017 11:47 PM, Clemens Ladisch wrote: >> Guenter Roeck wrote: >>> Some of this is guesswork, but afaics it is working. No idea if there >>> is a better way to determine the temperature offset. >> >> The reported value is not an absolute temperature on any CPU. >> >>

Re: [PATCH] hwmon: (k10temp) Add support for family 17h

2017-09-05 Thread Clemens Ladisch
Guenter Roeck wrote: > On 09/04/2017 11:47 PM, Clemens Ladisch wrote: >> Guenter Roeck wrote: >>> Some of this is guesswork, but afaics it is working. No idea if there >>> is a better way to determine the temperature offset. >> >> The reported value is not an absolute temperature on any CPU. >> >>

Re: [PATCH] hwmon: (k10temp) Add support for family 17h

2017-09-05 Thread Guenter Roeck
On 09/04/2017 11:47 PM, Clemens Ladisch wrote: Guenter Roeck wrote: Add support for temperature sensors on Family 17h (Ryzen) processors. Signed-off-by: Guenter Roeck --- Some of this is guesswork, but afaics it is working. No idea if there is a better way to determine the

Re: [PATCH] hwmon: (k10temp) Add support for family 17h

2017-09-05 Thread Guenter Roeck
On 09/04/2017 11:47 PM, Clemens Ladisch wrote: Guenter Roeck wrote: Add support for temperature sensors on Family 17h (Ryzen) processors. Signed-off-by: Guenter Roeck --- Some of this is guesswork, but afaics it is working. No idea if there is a better way to determine the temperature offset.

Re: [PATCH] hwmon: (k10temp) Add support for family 17h

2017-09-05 Thread Clemens Ladisch
Guenter Roeck wrote: > Add support for temperature sensors on Family 17h (Ryzen) processors. > > Signed-off-by: Guenter Roeck > --- > Some of this is guesswork, but afaics it is working. No idea if there > is a better way to determine the temperature offset. The reported

Re: [PATCH] hwmon: (k10temp) Add support for family 17h

2017-09-05 Thread Clemens Ladisch
Guenter Roeck wrote: > Add support for temperature sensors on Family 17h (Ryzen) processors. > > Signed-off-by: Guenter Roeck > --- > Some of this is guesswork, but afaics it is working. No idea if there > is a better way to determine the temperature offset. The reported value is not an absolute

[PATCH] hwmon: (k10temp) Add support for family 17h

2017-09-04 Thread Guenter Roeck
Add support for temperature sensors on Family 17h (Ryzen) processors. Signed-off-by: Guenter Roeck --- Some of this is guesswork, but afaics it is working. No idea if there is a better way to determine the temperature offset. drivers/hwmon/k10temp.c | 42

[PATCH] hwmon: (k10temp) Add support for family 17h

2017-09-04 Thread Guenter Roeck
Add support for temperature sensors on Family 17h (Ryzen) processors. Signed-off-by: Guenter Roeck --- Some of this is guesswork, but afaics it is working. No idea if there is a better way to determine the temperature offset. drivers/hwmon/k10temp.c | 42