kernel-ark/Documentation/power
Rafael J. Wysocki 2d984ad132 PM / QoS: Introcuce latency tolerance device PM QoS type
Add a new latency tolerance device PM QoS type to be use for
specifying active state (RPM_ACTIVE) memory access (DMA) latency
tolerance requirements for devices.  It may be used to prevent
hardware from choosing overly aggressive energy-saving operation
modes (causing too much latency to appear) for the whole platform.

This feature reqiures hardware support, so it only will be
available for devices having a new .set_latency_tolerance()
callback in struct dev_pm_info populated, in which case the
routine pointed to by it should implement whatever is necessary
to transfer the effective requirement value to the hardware.

Whenever the effective latency tolerance changes for the device,
its .set_latency_tolerance() callback will be executed and the
effective value will be passed to it.  If that value is negative,
which means that the list of latency tolerance requirements for
the device is empty, the callback is expected to switch the
underlying hardware latency tolerance control mechanism to an
autonomous mode if available.  If that value is PM_QOS_LATENCY_ANY,
in turn, and the hardware supports a special "no requirement"
setting, the callback is expected to use it.  That allows software
to prevent the hardware from automatically updating the device's
latency tolerance in response to its power state changes (e.g. during
transitions from D3cold to D0), which generally may be done in the
autonomous latency tolerance control mode.

If .set_latency_tolerance() is present for the device, a new
pm_qos_latency_tolerance_us attribute will be present in the
devivce's power directory in sysfs.  Then, user space can use
that attribute to specify its latency tolerance requirement for
the device, if any.  Writing "any" to it means "no requirement, but
do not let the hardware control latency tolerance" and writing
"auto" to it allows the hardware to be switched to the autonomous
mode if there are no other requirements from the kernel side in the
device's list.

This changeset includes a fix from Mika Westerberg.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2014-02-11 00:35:38 +01:00
..
powercap PowerCap: Documentation 2013-10-17 00:36:06 +02:00
regulator regulator: Update regulator_register() API signature in Documentation 2012-04-13 09:54:45 +01:00
00-INDEX PM / Documentation: Update docs about suspend and CPU hotplug 2011-10-22 00:22:28 +02:00
apm-acpi.txt Documentation: update broken web addresses. 2010-08-04 15:21:40 +02:00
basic-pm-debugging.txt Documentation/: update FireWire debugging documentation 2014-01-12 18:54:38 +01:00
charger-manager.txt charger-manager: Provide cm_notify_event function for in-kernel use 2012-05-05 19:51:58 -07:00
devices.txt PM: Documentation update for freeze state 2013-05-14 01:41:37 +02:00
drivers-testing.txt PM: Fix references to basic-pm-debugging.txt in drivers-testing.txt 2010-12-24 15:02:41 +01:00
freezing-of-tasks.txt suspend: enable freeze timeout configuration through sys 2013-02-09 22:32:48 +01:00
interface.txt PM: Documentation update for freeze state 2013-05-14 01:41:37 +02:00
notifiers.txt PM / hibernate: Correct documentation 2013-05-14 01:58:43 +02:00
opp.txt PM / OPP: rename header to linux/pm_opp.h 2013-10-25 22:33:23 +02:00
pci.txt PM/PCI: Update PCI power management documentation 2010-05-18 15:01:58 -07:00
pm_qos_interface.txt PM / QoS: Introcuce latency tolerance device PM QoS type 2014-02-11 00:35:38 +01:00
power_supply_class.txt power_supply: Fix documentation for TEMP_*ALERT* properties 2013-10-28 20:51:28 -07:00
runtime_pm.txt PM / Runtime: Update documentation around probe|remove|suspend 2013-11-12 23:20:30 +01:00
s2ram.txt PM: Add sysfs attr for rechecking dev hash from PM trace 2010-10-17 01:57:50 +02:00
states.txt PM / Documentation: remove inaccurate suspend/hibernate transition lantency statement 2013-05-14 01:46:50 +02:00
suspend-and-cpuhotplug.txt PM / Documentation: suspend-and-cpuhotplug.txt: Fix typo 2012-05-05 21:52:51 +02:00
swsusp-and-swap-files.txt
swsusp-dmcrypt.txt
swsusp.txt PM / Hibernate: add section for resume options 2013-08-27 10:44:52 +02:00
tricks.txt update email address 2010-07-19 10:56:54 +02:00
userland-swsusp.txt doc: fix broken references 2011-09-27 18:08:04 +02:00
video.txt Documentation: update broken web addresses. 2010-08-04 15:21:40 +02:00