Revision tags: v5.15.73, v6.0.1, v5.15.72 |
|
#
9992dd77 |
| 04-Oct-2022 |
Len Brown <len.brown@intel.com> |
tools/power turbostat: version 2022.10.04
Signed-off-by: Len Brown <len.brown@intel.com>
|
Revision tags: v6.0, v5.15.71 |
|
#
b2d433ae |
| 24-Sep-2022 |
Zhang Rui <rui.zhang@intel.com> |
tools/power turbostat: Use standard Energy Unit for SPR Dram RAPL domain
Intel Xeon servers used to use a fixed energy resolution (15.3uj) for Dram RAPL domain. But on SPR, Dram RAPL domain follows
tools/power turbostat: Use standard Energy Unit for SPR Dram RAPL domain
Intel Xeon servers used to use a fixed energy resolution (15.3uj) for Dram RAPL domain. But on SPR, Dram RAPL domain follows the standard energy resolution as described in MSR_RAPL_POWER_UNIT.
Remove the SPR rapl_dram_energy_units quirk.
Fixes: e7af1ed3fa47 ("tools/power turbostat: Support additional CPU model numbers") Signed-off-by: Zhang Rui <rui.zhang@intel.com> Tested-by: Wang Wendy <wendy.wang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
show more ...
|
Revision tags: v5.15.70, v5.15.69 |
|
#
3ea8e52e |
| 16-Sep-2022 |
Artem Bityutskiy <artem.bityutskiy@linux.intel.com> |
tools/power turbostat: Do not dump TRL if turbo is not supported
Do not dump turbo ratio limits if platform does not support turbo, because it is confusing and the TRL MSRs may even include misleadi
tools/power turbostat: Do not dump TRL if turbo is not supported
Do not dump turbo ratio limits if platform does not support turbo, because it is confusing and the TRL MSRs may even include misleading information. And they are not supposed to be relied on if turbo is not supported.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
show more ...
|
Revision tags: v5.15.68 |
|
#
8e45a9bf |
| 10-Sep-2022 |
Zhang Rui <rui.zhang@intel.com> |
tools/power turbostat: Add support for MeteorLake platforms
Add turbostat support for MeteorLake platforms, which behave the same as RaptorLake platforms.
Signed-off-by: Zhang Rui <rui.zhang@intel.
tools/power turbostat: Add support for MeteorLake platforms
Add turbostat support for MeteorLake platforms, which behave the same as RaptorLake platforms.
Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
show more ...
|
Revision tags: v5.15.67, v5.15.66, v5.15.65, v5.15.64 |
|
#
9b1c2ecf |
| 31-Aug-2022 |
Zhang Rui <rui.zhang@intel.com> |
tools/power turbostat: Add support for RPL-S
Add turbostat support for RAPTORLAKE_S platform, which behaves the same as RAPTORLAKE and RAPTORLAKE_P platforms.
RPL-S 601/801 have different CPU ID th
tools/power turbostat: Add support for RPL-S
Add turbostat support for RAPTORLAKE_S platform, which behaves the same as RAPTORLAKE and RAPTORLAKE_P platforms.
RPL-S 601/801 have different CPU ID than the Hybrid ADL-S platforms.
Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
show more ...
|
Revision tags: v5.15.63, v5.15.62, v5.15.61, v5.15.60, v5.15.59, v5.19, v5.15.58 |
|
#
3afe697b |
| 28-Jul-2022 |
Len Brown <len.brown@intel.com> |
tools/power turbostat: version 2022.07.28
update version number
Signed-off-by: Len Brown <len.brown@intel.com>
|
#
6287e6f0 |
| 26-Jul-2022 |
Artem Bityutskiy <artem.bityutskiy@linux.intel.com> |
tools/power turbostat: do not decode ACC for ICX and SPR
The ACC (automatic C-state conversion) feature was available on Sky Lake and Cascade Lake Xeons (SKX and CLX), but it is not available on Ice
tools/power turbostat: do not decode ACC for ICX and SPR
The ACC (automatic C-state conversion) feature was available on Sky Lake and Cascade Lake Xeons (SKX and CLX), but it is not available on Ice Lake and Sapphire Rapids Xeons (ICX and SPR). Therefore, stop decoding it for ICX and SPR.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
show more ...
|
#
0e4d42af |
| 26-Jul-2022 |
Artem Bityutskiy <artem.bityutskiy@linux.intel.com> |
tools/power turbostat: fix SPR PC6 limits
Sapphire Rapids Xeon (SPR) supports 2 flavors of PC6 - PC6N (non-retention) and PC6R (retention). Before this patch we used ICX package C-state limits, whic
tools/power turbostat: fix SPR PC6 limits
Sapphire Rapids Xeon (SPR) supports 2 flavors of PC6 - PC6N (non-retention) and PC6R (retention). Before this patch we used ICX package C-state limits, which was wrong, because ICX has only one PC6 flavor. With this patch, we use SKX PC6 limits for SPR, because they are the same.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
show more ...
|
#
eade39b2 |
| 26-Jul-2022 |
Artem Bityutskiy <artem.bityutskiy@linux.intel.com> |
tools/power turbostat: cleanup 'automatic_cstate_conversion_probe()'
The 'automatic_cstate_conversion_probe()' function has a too long 'if' statement, convert it to a 'switch' statement in order to
tools/power turbostat: cleanup 'automatic_cstate_conversion_probe()'
The 'automatic_cstate_conversion_probe()' function has a too long 'if' statement, convert it to a 'switch' statement in order to improve code readability a bit.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
show more ...
|
#
684e40e9 |
| 26-Jul-2022 |
Artem Bityutskiy <artem.bityutskiy@linux.intel.com> |
tools/power turbostat: separate SPR from ICX
Before this patch, SPR platform was considered identical to ICX platform. This patch separates SPR support from ICX.
This patch is a preparation for add
tools/power turbostat: separate SPR from ICX
Before this patch, SPR platform was considered identical to ICX platform. This patch separates SPR support from ICX.
This patch is a preparation for adding SPR-specific package C-state limits support.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Reviewed-by: Chen Yu <yu.c.chen@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
show more ...
|
Revision tags: v5.15.57, v5.15.56, v5.15.55, v5.15.54, v5.15.53, v5.15.52, v5.15.51, v5.15.50, v5.15.49 |
|
#
2db0e5eb |
| 21-Jun-2022 |
Jiang Jian <jiangjian@cdjrlc.com> |
tools/power turbosstat: fix comment
remove duplicate "the" in comment
Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com> Signed-off-by: Len Brown <len.brown@intel.com>
|
Revision tags: v5.15.48, v5.15.47, v5.15.46, v5.15.45 |
|
#
6f9cf553 |
| 01-Jun-2022 |
George D Sworo <george.d.sworo@intel.com> |
tools/power turbostat: Support RAPTORLAKE P
Add initial support for Raptorlake model
Signed-off-by: George D Sworo <george.d.sworo@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
|
Revision tags: v5.15.44, v5.15.43, v5.15.42, v5.18, v5.15.41, v5.15.40 |
|
#
1c1313b5 |
| 13-May-2022 |
Zhang Rui <rui.zhang@intel.com> |
tools/power turbostat: add support for ALDERLAKE_N
Add support for ALDERLAKE_N platform.
Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
|
#
4af184ee |
| 31-May-2022 |
Len Brown <len.brown@intel.com> |
tools/power turbostat: dump secondary Turbo-Ratio-Limit
Intel Performance Hybrid processors have a 2nd MSR describing the turbo limits enforced on the Ecores.
Note, TRL and Secondary-TRL are usuall
tools/power turbostat: dump secondary Turbo-Ratio-Limit
Intel Performance Hybrid processors have a 2nd MSR describing the turbo limits enforced on the Ecores.
Note, TRL and Secondary-TRL are usually R/O information, but on overclock-capable parts, they can be written.
Signed-off-by: Len Brown <len.brown@intel.com>
show more ...
|
#
5d622845 |
| 31-May-2022 |
Len Brown <len.brown@intel.com> |
tools/power turbostat: simplify dump_turbo_ratio_limits()
code cleanup only. no functional change.
Signed-off-by: Len Brown <len.brown@intel.com>
|
#
774627c5 |
| 31-May-2022 |
Len Brown <len.brown@intel.com> |
tools/power turbostat: dump CPUID.7.EDX.Hybrid
CPUID leaf 7 EDX now tells us if the processor has hybrid CPUs
Signed-off-by: Len Brown <len.brown@intel.com>
|
#
a5c6d65d |
| 13-May-2022 |
Len Brown <len.brown@intel.com> |
tools/power turbostat: Show uncore frequency
When CONFIG_INTEL_UNCORE_FREQ_CONTROL is effective, (Linux 5.9 and later), print the current (and default) min and max uncore frequency limits.
When tha
tools/power turbostat: Show uncore frequency
When CONFIG_INTEL_UNCORE_FREQ_CONTROL is effective, (Linux 5.9 and later), print the current (and default) min and max uncore frequency limits.
When that driver provides the current uncore frequency (Linux 5.18 and later), print a UncMHz column reflecting the current uncore frequency.
Note that UncMHz is an instantaneous sample, not an average.
eg.
$ sudo ./turbostat -S --show frequency ... Uncore Frequency pkg0 die0: 800 - 3900 MHz (800 - 3900 MHz) ... Avg_MHz Busy% Bzy_MHz TSC_MHz UncMHz 28 0.70 4049 3095 3900
Signed-off-by: Len Brown <len.brown@intel.com>
show more ...
|
Revision tags: v5.15.39, v5.15.38, v5.15.37, v5.15.36 |
|
#
5e5fd36c |
| 26-Apr-2022 |
Colin Ian King <colin.i.king@gmail.com> |
tools/power turbostat: Fix file pointer leak
Currently if a fscanf fails then an early return leaks an open file pointer. Fix this by fclosing the file before the return. Detected using static analy
tools/power turbostat: Fix file pointer leak
Currently if a fscanf fails then an early return leaks an open file pointer. Fix this by fclosing the file before the return. Detected using static analysis with cppcheck:
tools/power/x86/turbostat/turbostat.c:2039:3: error: Resource leak: fp [resourceLeak]
Fixes: eae97e053fe3 ("tools/power turbostat: Support thermal throttle count print") Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Acked-by: Chen Yu <yu.c.chen@intel.com> Reviewed-by: Tom Rix <trix@redhat.com> Signed-off-by: Len Brown <len.brown@intel.com>
show more ...
|
#
e13da9a1 |
| 26-Apr-2022 |
Colin Ian King <colin.i.king@gmail.com> |
tools/power turbostat: replace strncmp with single character compare
Using strncmp for a single character comparison is overly complicated, just use a simpler single character comparison instead. Al
tools/power turbostat: replace strncmp with single character compare
Using strncmp for a single character comparison is overly complicated, just use a simpler single character comparison instead. Also stops static analyzers (such as cppcheck) from complaining about strncmp on non-null terminated strings.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Signed-off-by: Len Brown <len.brown@intel.com>
show more ...
|
#
03331233 |
| 21-Apr-2022 |
Chen Yu <yu.c.chen@intel.com> |
tools/power turbostat: print the kernel boot commandline
It would be handy to have cmdline in turbostat output. For example, according to the turbostat output, there are no C-states requested. In th
tools/power turbostat: print the kernel boot commandline
It would be handy to have cmdline in turbostat output. For example, according to the turbostat output, there are no C-states requested. In this case the user is very curious if something like intel_idle.max_cstate=0 was used, or may be idle=none too. It is also curious whether things like intel_pstate=nohwp were used.
Print the boot command line accordingly: turbostat version 21.05.04 - Len Brown <lenb@kernel.org> Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.16.0+ root=UUID= b42359ed-1e05-42eb-8757-6bf2a1c19070 ro quiet splash vt.handoff=7
Suggested-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: Chen Yu <yu.c.chen@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
show more ...
|
#
fb5e29df |
| 21-Apr-2022 |
Zhang Rui <rui.zhang@intel.com> |
tools/power turbostat: Introduce support for RaptorLake
RaptorLake is compatible with AlderLake.
Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
|
Revision tags: v5.15.35 |
|
#
58990892 |
| 16-Apr-2022 |
Len Brown <len.brown@intel.com> |
tools/power turbostat: version 2022.04.16
Signed-off-by: Len Brown <len.brown@intel.com>
|
#
9878bf7a |
| 16-Apr-2022 |
Len Brown <len.brown@intel.com> |
tools/power turbostat: No build warnings with -Wextra
Signed-off-by: Len Brown <len.brown@intel.com>
|
#
164d7a96 |
| 16-Apr-2022 |
Len Brown <len.brown@intel.com> |
tools/power turbostat: be more useful as non-root
Don't exit if used this way:
sudo setcap cap_sys_nice,cap_sys_rawio=+ep ./turbostat sudo chmod +r /dev/cpu/*/msr ./turbostat
note: cap_sys_admin i
tools/power turbostat: be more useful as non-root
Don't exit if used this way:
sudo setcap cap_sys_nice,cap_sys_rawio=+ep ./turbostat sudo chmod +r /dev/cpu/*/msr ./turbostat
note: cap_sys_admin is now also needed for the perf IPC counter: sudo setcap cap_sys_admin,cap_sys_nice,cap_sys_rawio=+ep ./turbostat
Reported-by: Artem S. Tashkinov <aros@gmx.com> Reported-by: Toby Broom <tbroom@outlook.com> Signed-off-by: Len Brown <len.brown@intel.com>
show more ...
|
Revision tags: v5.15.34, v5.15.33, v5.15.32, v5.15.31, v5.17, v5.15.30, v5.15.29, v5.15.28, v5.15.27, v5.15.26, v5.15.25, v5.15.24, v5.15.23 |
|
#
6397b641 |
| 10-Feb-2022 |
Len Brown <len.brown@intel.com> |
tools/power turbostat: fix ICX DRAM power numbers
ICX (and its duplicates) require special hard-coded DRAM RAPL units, rather than using the generic RAPL energy units.
Reported-by: Srinivas Pandruv
tools/power turbostat: fix ICX DRAM power numbers
ICX (and its duplicates) require special hard-coded DRAM RAPL units, rather than using the generic RAPL energy units.
Reported-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
show more ...
|