linux-stable/tools/power/x86
Chen Yu 8c69da2930 tools/power turbostat: Enable tsc_tweak for Elkhart Lake and Jasper Lake
It was found that on Elkhart Lake the TSC frequency is driven by
a separate crystal-clock domain, which is different from the
BCLK domain which includes mperf. This has result in small different
speed thus inconsistence between TSC and the mperf, which caused the
Busy% to be higher than 100%. On this platform it seems that the mperf
runs faster than tsc when the CPU is 100% utilized:
delta tsc(18815473183) < delta mperf(18958403680) for 10 seconds.

To align TSC with mperf, leverage the tsc_tweak mechanism introduced for
cores newer than Skylake, so that TSC and mperf would be calculated in
the same domain.

Reported-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2021-05-04 19:09:00 -04:00
..
intel-speed-select tools/power/x86/intel-speed-select: Update version to 1.8 2021-02-08 11:56:55 -08:00
intel_pstate_tracer tweewide: Fix most Shebang lines 2020-12-08 23:30:04 +09:00
turbostat tools/power turbostat: Enable tsc_tweak for Elkhart Lake and Jasper Lake 2021-05-04 19:09:00 -04:00
x86_energy_perf_policy The main part of this branch is the ongoing fight against windmills in 2020-12-14 13:29:34 -08:00