aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorZhang Rui <[email protected]>2022-11-13 23:31:44 +0800
committerGuenter Roeck <[email protected]>2022-12-04 16:45:03 -0800
commitc0c67f8761cec1fe36c21d85b1a5400ea7ac30cd (patch)
treed171cebd4f9c4a95c5b89abe13a605c87b0beee3 /tools/perf/scripts/python/libxed.py
parent2bc0e6d07ee50497043112d677fdd34327cf025c (diff)
hwmon: (coretemp) Add support for dynamic tjmax
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. Improve the code to always use updated tjmax when it can be retrieved from MSR_IA32_TEMPERATURE_TARGET. When tjmax can not be retrieved from MSR_IA32_TEMPERATURE_TARGET, still follow the previous logic and always use a static tjmax value. Signed-off-by: Zhang Rui <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions