linux-stable/tools/power/cpupower/lib
Borislav Petkov 8113ab20e8 tools/power/cpupower: Read energy_perf_bias from sysfs
... instead of poking at the MSR. For that, move the accessor functions
to misc.c and add a sysfs-writing function too.

There should be no functional changes resulting from this.

Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Cc: Thomas Renninger <trenn@suse.com>
Link: https://lkml.kernel.org/r/20201029190259.3476-2-bp@alien8.de
2020-11-16 17:42:12 +01:00
..
cpufreq.c cpupower: Fix NULL but dereferenced coccicheck errors 2020-07-06 16:11:04 -06:00
cpufreq.h cpupower: Revert library ABI changes from commit ae2917093f 2020-01-17 15:21:42 -07:00
cpuidle.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 166 2019-05-30 11:26:39 -07:00
cpuidle.h
cpupower.c tools/power/cpupower: Read energy_perf_bias from sysfs 2020-11-16 17:42:12 +01:00
cpupower.h
cpupower_intern.h tools/power/cpupower: Read energy_perf_bias from sysfs 2020-11-16 17:42:12 +01:00