linux-stable/tools/power
Prarit Bhargava 038765a095 tools/power turbostat: Fix /dev/cpu_dma_latency warnings
[ Upstream commit 40aafc7d58 ]

When running as non-root the following error is seen in turbostat:

turbostat: fopen /dev/cpu_dma_latency
: Permission denied

turbostat and the man page have information on how to avoid other
permission errors, so these can be fixed the same way.

Provide better /dev/cpu_dma_latency warnings that provide instructions on
how to avoid the error, and update the man page.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Cc: linux-pm@vger.kernel.org
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-05 11:23:46 +02:00
..
acpi tools: Factor HOSTCC, HOSTLD, HOSTAR definitions 2021-01-30 13:55:19 +01:00
cpupower More power management updates for 5.10-rc1 2020-10-23 16:27:03 -07:00
pm-graph notifier: Fix broken error handling pattern 2020-09-01 09:58:03 +02:00
x86 tools/power turbostat: Fix /dev/cpu_dma_latency warnings 2023-04-05 11:23:46 +02:00