x86: Remove direct use of MSR_IA32_ENERGY_PERF_BIAS
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | tools/power/cpupower: Read energy_perf_bias from sysfstools/ tools/ tools/ +4 more | +81 | 7 replies | |
| 2/4 | tools/power/turbostat: Read energy_perf_bias from sysfstools/ | +24 | 0 replies | |
| 3/4 | tools/power/x86_energy_perf_policy: Read energy_perf_bias from sysfstools/ | +99 | 0 replies | |
| 4/4 | x86/msr: Do not allow writes to MSR_IA32_ENERGY_PERF_BIASarch/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] x86: Remove direct use of MSR_IA32_ENERGY_PERF_BIAS
From: Borislav Petkov <[email protected]>
Hi all,
here's something from my todo list: remove all in-kernel tools use of that MSR and lastly drop it from the allowed-MSRs-list in the filtering.
Out-of-tree tools should do a similar, trivial conversion.
Constructive comments are, as always, appreciated.
Thx.
Borislav Petkov (4):
tools/power/cpupower: Read energy_perf_bias from sysfs tools/power/turbostat: Read energy_perf_bias from sysfs tools/power/x86_energy_perf_policy: Read energy_perf_bias from sysfs x86/msr: Do not allow writes to MSR_IA32_ENERGY_PERF_BIAS
arch/x86/kernel/msr.c | 3 - tools/power/cpupower/lib/cpupower.c | 23 +++- tools/power/cpupower/lib/cpupower_intern.h | 5 + tools/power/cpupower/utils/cpupower-info.c | 2 +- tools/power/cpupower/utils/cpupower-set.c | 2 +- tools/power/cpupower/utils/helpers/helpers.h | 8 +- tools/power/cpupower/utils/helpers/misc.c | 48 ++++++++ tools/power/cpupower/utils/helpers/msr.c | 28 ----- tools/power/x86/turbostat/turbostat.c | 29 ++++- .../x86_energy_perf_policy.c | 109 ++++++++++++++++-- 10 files changed, 204 insertions(+), 53 deletions(-)
Signature · 1 line
2.21.0