diff options
author | Zbigniew Lukwinski <zbigniew.lukwinski@linux.intel.com> | 2020-06-17 09:12:27 +0300 |
---|---|---|
committer | Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com> | 2021-11-05 10:22:10 +0300 |
commit | 282381c9fff62daec199bfdc3a1dddc139721405 (patch) | |
tree | d98e17a546d82cf8f2f86d02aeea7fbd6c4680e9 /Documentation | |
parent | bc6765fabf974449d2663896e611347c74461d48 (diff) | |
download | linux-282381c9fff62daec199bfdc3a1dddc139721405.tar.xz |
hwmon: peci: dimmpower implementation
1. Peci dimmpower module implementation.
2. Enable DIMM avarage power, power limit, power limit max setting,
power limit min setting reading and expose them under
power1_avarage, power1_cap, power1_cap_max, power1_cap_min in
sysfs.
3. Enable DIMM power limit writing through power1_cap.
Tested:
* on WilsonCity platform,
* power1_avarage, power1_cap, power1_cap_max and power1_cap_min work
as expected
Signed-off-by: Zbigniew Lukwinski <zbigniew.lukwinski@linux.intel.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/hwmon/index.rst | 1 | ||||
-rw-r--r-- | Documentation/hwmon/peci-dimmpower.rst | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/Documentation/hwmon/index.rst b/Documentation/hwmon/index.rst index 9f321a311db1..7257214e5408 100644 --- a/Documentation/hwmon/index.rst +++ b/Documentation/hwmon/index.rst @@ -156,6 +156,7 @@ Hardware Monitoring Kernel Drivers peci-cputemp peci-dimmtemp peci-cpupower + peci-dimmpower pim4328 pm6764tr pmbus diff --git a/Documentation/hwmon/peci-dimmpower.rst b/Documentation/hwmon/peci-dimmpower.rst new file mode 100644 index 000000000000..0d9c58fdaf9c --- /dev/null +++ b/Documentation/hwmon/peci-dimmpower.rst @@ -0,0 +1,57 @@ +.. SPDX-License-Identifier: GPL-2.0 + +Kernel driver peci-dimmpower +========================== + +:Copyright: |copy| 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: + Zbigniew Lukwinski <zbigniew.lukwinski@linux.intel.com> + +Description +----------- + +This driver implements a generic PECI hwmon feature which provides +average power consumption readings of the memory basing on energy counter. +Power value is average power since last measure given in milli Watt and +will be measurable only when the target CPU is powered on. +Driver provides current plane power limit, maximal 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 "dimm power". +power1_average Provides average DRAM power since last read in milli Watt. +power1_cap Provides current DRAM plane power limit. +power1_cap_max Provides maximal DRAM power setting. +power1_cap_min Provides minimal DRAM power setting. +======================= ======================================================= |