Re: [PATCH] drivers: thermal: processor_thermal_device: Export sysfs inteface for TCC offset

2019-07-24 Thread Benjamin Berg
Tested-by: Benjamin Berg Hi, this patch allows performance improvements of some machines. It would be nice if this could still make 5.3. Benjamin On Mon, 2019-07-22 at 18:03 -0700, Srinivas Pandruvada wrote: > This change exports an interface to read tcc offset and allow writing if > the platf

[PATCH] drivers: thermal: processor_thermal_device: Export sysfs inteface for TCC offset

2019-07-22 Thread Srinivas Pandruvada
This change exports an interface to read tcc offset and allow writing if the platform is not locked. Refer to Intel SDM for details on the MSR: MSR_TEMPERATURE_TARGET. Here TCC Activation Offset (R/W) bits allow temperature offset in degrees in relation to TjMAX. This change will be useful for im