mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 17:44:14 +08:00
cb8b340de2
Adds a generic powercap framework to change the system powercap inband through OPAL-OCC command/response interface. Signed-off-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
What: /sys/firmware/opal/powercap
|
|
Date: August 2017
|
|
Contact: Linux for PowerPC mailing list <linuxppc-dev@ozlabs.org>
|
|
Description: Powercap directory for Powernv (P8, P9) servers
|
|
|
|
Each folder in this directory contains a
|
|
power-cappable component.
|
|
|
|
What: /sys/firmware/opal/powercap/system-powercap
|
|
/sys/firmware/opal/powercap/system-powercap/powercap-min
|
|
/sys/firmware/opal/powercap/system-powercap/powercap-max
|
|
/sys/firmware/opal/powercap/system-powercap/powercap-current
|
|
Date: August 2017
|
|
Contact: Linux for PowerPC mailing list <linuxppc-dev@ozlabs.org>
|
|
Description: System powercap directory and attributes applicable for
|
|
Powernv (P8, P9) servers
|
|
|
|
This directory provides powercap information. It
|
|
contains below sysfs attributes:
|
|
|
|
- powercap-min : This file provides the minimum
|
|
possible powercap in Watt units
|
|
|
|
- powercap-max : This file provides the maximum
|
|
possible powercap in Watt units
|
|
|
|
- powercap-current : This file provides the current
|
|
powercap set on the system. Writing to this file
|
|
creates a request for setting a new-powercap. The
|
|
powercap requested must be between powercap-min
|
|
and powercap-max.
|