summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorOlender, Agata <agata.olender@intel.com>2020-10-23 15:43:21 +0300
committerJae Hyun Yoo <jae.hyun.yoo@linux.intel.com>2021-11-05 10:22:12 +0300
commitd48527d8ef7adc8946c031e38753acb077435535 (patch)
treecb3a5f9ff8ced634d9d8b6cfdb30f800e1405404 /Documentation
parentedb18aec4bc81b0f01b3ab08a9d5a4781de83830 (diff)
downloadlinux-d48527d8ef7adc8946c031e38753acb077435535.tar.xz
hwmon: peci: add energy sensor to peci-cpupower
Add support for energy consumption of CPU package sensor. Energy is reported in micro Joules and exposed under energyN_input file. Signed-off-by: Olender, Agata <agata.olender@intel.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/hwmon/peci-cpupower.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/hwmon/peci-cpupower.rst b/Documentation/hwmon/peci-cpupower.rst
index 1e1f4e0fd395..d3b6a666f076 100644
--- a/Documentation/hwmon/peci-cpupower.rst
+++ b/Documentation/hwmon/peci-cpupower.rst
@@ -38,13 +38,17 @@ Description
-----------
This driver implements a generic PECI hwmon feature which provides
-average power consumption readings of the CPU package based on energy counter.
+average power and energy consumption readings of the CPU package based on
+energy counter.
Power values are average power since last measure given in milli Watt and
will be measurable only when the target CPU is powered on.
+Energy values are energy consumption in micro Joules.
+
Driver provides current package power limit, maximal (TDP) and minimal power
setting as well.
+
All needed processor registers are accessible using the PECI Client Command
Suite via the processor PECI client.
@@ -56,4 +60,6 @@ power1_average Provides average power since last read in milli Watt.
power1_cap Provides current package power limit 1 (PPL1).
power1_cap_max Provides maximal (TDP) package power setting.
power1_cap_min Provides minimal package power setting.
+energy1_label Provides string "cpu energy".
+energy1_input Provides energy consumption in micro Joules.
======================= =======================================================