Zhang Rui fae30e3c20 hwmon: (coretemp) Add support for dynamic ttarget
Tjmax value retrieved from MSR_IA32_TEMPERATURE_TARGET can be changed at
runtime when the Intel SST-PP (Intel Speed Select Technology -
Performance Profile) level is changed. As a result, the ttarget value
also becomes dyamic.

Improve the code to always get updated ttarget value.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Link: https://lore.kernel.org/r/20221113153145.32696-4-rui.zhang@intel.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2022-12-04 16:45:03 -08:00
..
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-12-04 16:45:02 -08:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-12-04 16:45:02 -08:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2020-09-23 09:42:39 -07:00
2020-09-23 09:42:39 -07:00
2022-08-16 12:46:26 +02:00
2022-02-27 17:03:19 -08:00
2019-11-06 14:37:19 -08:00
2022-12-04 16:45:02 -08:00
2020-09-23 09:42:39 -07:00
2022-12-04 16:45:02 -08:00
2021-04-20 06:50:14 -07:00
2022-09-19 06:17:05 -07:00
2022-05-22 11:32:31 -07:00
2022-12-04 16:45:02 -08:00
2022-12-04 16:45:02 -08:00
2020-09-23 09:42:39 -07:00
2022-12-04 16:45:02 -08:00
2022-08-16 12:46:26 +02:00
2020-09-23 09:42:39 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2020-09-23 09:42:39 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00