summaryrefslogtreecommitdiff
path: root/Documentation/hwmon/peci-cpupower.rst
blob: d3b6a666f076d6fe5bf773fbe39c2356d813e566 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
.. SPDX-License-Identifier: GPL-2.0

Kernel driver peci-cpupower
==========================

:Copyright: |copy| 2018-2020 Intel Corporation

Supported chips:
	One of Intel server CPUs listed below which is connected to a PECI bus.
		* Intel Xeon E5/E7 v3 server processors
			Intel Xeon E5-14xx v3 family
			Intel Xeon E5-24xx v3 family
			Intel Xeon E5-16xx v3 family
			Intel Xeon E5-26xx v3 family
			Intel Xeon E5-46xx v3 family
			Intel Xeon E7-48xx v3 family
			Intel Xeon E7-88xx v3 family
		* Intel Xeon E5/E7 v4 server processors
			Intel Xeon E5-16xx v4 family
			Intel Xeon E5-26xx v4 family
			Intel Xeon E5-46xx v4 family
			Intel Xeon E7-48xx v4 family
			Intel Xeon E7-88xx v4 family
		* Intel Xeon Scalable server processors
			Intel Xeon D family
			Intel Xeon Bronze family
			Intel Xeon Silver family
			Intel Xeon Gold family
			Intel Xeon Platinum family

	Addresses scanned: PECI client address 0x30 - 0x37
	Datasheet: Available from http://www.intel.com/design/literature.htm

Author:
	Zhikui Ren <zhikui.ren@.intel.com>

Description
-----------

This driver implements a generic PECI hwmon feature which provides
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.

``sysfs`` interface
-------------------
======================= =======================================================
power1_label		Provides string "cpu power".
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.
======================= =======================================================