diff options
| author | Len Brown <[email protected]> | 2025-08-09 20:31:31 +0000 |
|---|---|---|
| committer | Len Brown <[email protected]> | 2025-08-10 01:24:46 +0000 |
| commit | e60a13bcef206795d3ddf82f130fe8f570176d06 (patch) | |
| tree | 61d064ca4bec2792434f42c176750f22ac183577 /fs/netfs/misc.c | |
| parent | tools/power turbostat: standardize PER_THREAD_PARAMS (diff) | |
| download | kernel-e60a13bcef206795d3ddf82f130fe8f570176d06.tar.gz kernel-e60a13bcef206795d3ddf82f130fe8f570176d06.zip | |
tools/power turbostat: Handle non-root legacy-uncore sysfs permissions
/sys/devices/system/cpu/intel_uncore_frequency/package_X_die_Y/
may be readable by all, but
/sys/devices/system/cpu/intel_uncore_frequency/package_X_die_Y/current_freq_khz
may be readable only by root.
Non-root turbostat users see complaints in this scenario.
Fail probe of the interface if we can't read current_freq_khz.
Reported-by: Artem Bityutskiy <[email protected]>
Original-patch-by: Zhang Rui <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'fs/netfs/misc.c')
0 files changed, 0 insertions, 0 deletions
