mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 18:25:04 +07:00
18a387099b
Since ACPI power resources are going to be used more extensively on new hardware platforms, it is necessary to allow user space (powertop in particular) to look at the lists of power resources corresponding to different power states of devices for diagnostics and control purposes. For this reason, for each power state of an ACPI device node using power resources create a special attribute group under the device node's directory in sysfs containing links to sysfs directories representing the power resources in that list. The names of the new attribute groups are "power_resources_<state>", where <state> is the state name i.e. "D0", "D1", "D2", or "D3hot". Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
14 lines
580 B
Plaintext
14 lines
580 B
Plaintext
What: /sys/devices/.../power_resources_D0/
|
|
Date: January 2013
|
|
Contact: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|
|
Description:
|
|
The /sys/devices/.../power_resources_D0/ directory is only
|
|
present for device objects representing ACPI device nodes that
|
|
use ACPI power resources for power management.
|
|
|
|
If present, it contains symbolic links to device directories
|
|
representing ACPI power resources that need to be turned on for
|
|
the given device node to be in ACPI power state D0. The names
|
|
of the links are the same as the names of the directories they
|
|
point to.
|