diff options
| author | Borislav Petkov <[email protected]> | 2021-01-28 19:28:56 +0000 |
|---|---|---|
| committer | Borislav Petkov <[email protected]> | 2021-02-03 10:58:19 +0000 |
| commit | 7f1b11ba3564a391169420d98162987a12d0795d (patch) | |
| tree | 3b2563f7b5e3e8edaf41a7cc7d015f82fbb5a1ed /drivers/usb/cdns3/cdns3-imx.c | |
| parent | x86/split_lock: Enable the split lock feature on another Alder Lake CPU (diff) | |
| download | kernel-7f1b11ba3564a391169420d98162987a12d0795d.tar.gz kernel-7f1b11ba3564a391169420d98162987a12d0795d.zip | |
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 <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Tested-by: Artem Bityutskiy <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions
