diff options
author | Borislav Petkov <bp@suse.de> | 2021-01-28 20:28:56 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-02-03 11:58:19 +0100 |
commit | 7f1b11ba3564a391169420d98162987a12d0795d (patch) | |
tree | 3b2563f7b5e3e8edaf41a7cc7d015f82fbb5a1ed /tools/power/cpupower/man | |
parent | 8acf417805a5f5c69e9ff66f14cab022c2755161 (diff) |
tools/power/turbostat: Fallback to an MSR read for EPB
Commit
6d6501d912a9 ("tools/power/turbostat: Read energy_perf_bias from sysfs")
converted turbostat to read the energy_perf_bias value from sysfs.
However, older kernels which do not have that file yet, would fail. For
those, fall back to the MSR reading.
Fixes: 6d6501d912a9 ("tools/power/turbostat: Read energy_perf_bias from sysfs")
Reported-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Tested-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Link: https://lkml.kernel.org/r/20210127132444.981120-1-dedekind1@gmail.com
Diffstat (limited to 'tools/power/cpupower/man')
0 files changed, 0 insertions, 0 deletions