Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 376632
b: refs/heads/master
c: 2a7851b
h: refs/heads/master
v: v3
  • Loading branch information
Florian Westphal authored and Pablo Neira Ayuso committed May 23, 2013
1 parent 08f3d5c commit aca8bba
Show file tree
Hide file tree
Showing 557 changed files with 3,754 additions and 5,692 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8e6d91ae0917bf934ed86411148f79d904728d51
refs/heads/master: 2a7851bffb008ff4882eee673da74718997b4265
8 changes: 3 additions & 5 deletions trunk/Documentation/devicetree/usage-model.txt
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,9 @@ Linux it will look something like this:
};

The bootargs property contains the kernel arguments, and the initrd-*
properties define the address and size of an initrd blob. Note that
initrd-end is the first address after the initrd image, so this doesn't
match the usual semantic of struct resource. The chosen node may also
optionally contain an arbitrary number of additional properties for
platform-specific configuration data.
properties define the address and size of an initrd blob. The
chosen node may also optionally contain an arbitrary number of
additional properties for platform-specific configuration data.

During early boot, the architecture setup code calls of_scan_flat_dt()
several times with different helper callbacks to parse device tree
Expand Down
21 changes: 0 additions & 21 deletions trunk/Documentation/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3005,27 +3005,6 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
Force threading of all interrupt handlers except those
marked explicitly IRQF_NO_THREAD.

tmem [KNL,XEN]
Enable the Transcendent memory driver if built-in.

tmem.cleancache=0|1 [KNL, XEN]
Default is on (1). Disable the usage of the cleancache
API to send anonymous pages to the hypervisor.

tmem.frontswap=0|1 [KNL, XEN]
Default is on (1). Disable the usage of the frontswap
API to send swap pages to the hypervisor. If disabled
the selfballooning and selfshrinking are force disabled.

tmem.selfballooning=0|1 [KNL, XEN]
Default is on (1). Disable the driving of swap pages
to the hypervisor.

tmem.selfshrinking=0|1 [KNL, XEN]
Default is on (1). Partial swapoff that immediately
transfers pages from Xen hypervisor back to the
kernel based on different criteria.

topology= [S390]
Format: {off | on}
Specify if the kernel should make use of the cpu
Expand Down
202 changes: 0 additions & 202 deletions trunk/Documentation/kernel-per-CPU-kthreads.txt

This file was deleted.

15 changes: 7 additions & 8 deletions trunk/Documentation/power/devices.txt
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ situations.
System Power Management Phases
------------------------------
Suspending or resuming the system is done in several phases. Different phases
are used for freeze, standby, and memory sleep states ("suspend-to-RAM") and the
are used for standby or memory sleep states ("suspend-to-RAM") and the
hibernation state ("suspend-to-disk"). Each phase involves executing callbacks
for every device before the next phase begins. Not all busses or classes
support all these callbacks and not all drivers use all the callbacks. The
Expand Down Expand Up @@ -309,8 +309,7 @@ execute the corresponding method from dev->driver->pm instead if there is one.

Entering System Suspend
-----------------------
When the system goes into the freeze, standby or memory sleep state,
the phases are:
When the system goes into the standby or memory sleep state, the phases are:

prepare, suspend, suspend_late, suspend_noirq.

Expand Down Expand Up @@ -369,7 +368,7 @@ the devices that were suspended.

Leaving System Suspend
----------------------
When resuming from freeze, standby or memory sleep, the phases are:
When resuming from standby or memory sleep, the phases are:

resume_noirq, resume_early, resume, complete.

Expand Down Expand Up @@ -434,8 +433,8 @@ the system log.

Entering Hibernation
--------------------
Hibernating the system is more complicated than putting it into the other
sleep states, because it involves creating and saving a system image.
Hibernating the system is more complicated than putting it into the standby or
memory sleep state, because it involves creating and saving a system image.
Therefore there are more phases for hibernation, with a different set of
callbacks. These phases always run after tasks have been frozen and memory has
been freed.
Expand Down Expand Up @@ -486,8 +485,8 @@ image forms an atomic snapshot of the system state.

At this point the system image is saved, and the devices then need to be
prepared for the upcoming system shutdown. This is much like suspending them
before putting the system into the freeze, standby or memory sleep state,
and the phases are similar.
before putting the system into the standby or memory sleep state, and the phases
are similar.

9. The prepare phase is discussed above.

Expand Down
4 changes: 2 additions & 2 deletions trunk/Documentation/power/interface.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ running. The interface exists in /sys/power/ directory (assuming sysfs
is mounted at /sys).

/sys/power/state controls system power state. Reading from this file
returns what states are supported, which is hard-coded to 'freeze',
'standby' (Power-On Suspend), 'mem' (Suspend-to-RAM), and 'disk'
returns what states are supported, which is hard-coded to 'standby'
(Power-On Suspend), 'mem' (Suspend-to-RAM), and 'disk'
(Suspend-to-Disk).

Writing to this file one of those strings causes the system to
Expand Down
6 changes: 2 additions & 4 deletions trunk/Documentation/power/notifiers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ A suspend/hibernation notifier may be used for this purpose.
The subsystems or drivers having such needs can register suspend notifiers that
will be called upon the following events by the PM core:

PM_HIBERNATION_PREPARE The system is going to hibernate, tasks will be frozen
immediately. This is different from PM_SUSPEND_PREPARE
below because here we do additional work between notifiers
and drivers freezing.
PM_HIBERNATION_PREPARE The system is going to hibernate or suspend, tasks will
be frozen immediately.

PM_POST_HIBERNATION The system memory state has been restored from a
hibernation image or an error occurred during
Expand Down
30 changes: 13 additions & 17 deletions trunk/Documentation/power/states.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,12 @@
System Power Management States


The kernel supports four power management states generically, though
one is generic and the other three are dependent on platform support
code to implement the low-level details for each state.
This file describes each state, what they are
The kernel supports three power management states generically, though
each is dependent on platform support code to implement the low-level
details for each state. This file describes each state, what they are
commonly called, what ACPI state they map to, and what string to write
to /sys/power/state to enter that state

state: Freeze / Low-Power Idle
ACPI state: S0
String: "freeze"

This state is a generic, pure software, light-weight, low-power state.
It allows more energy to be saved relative to idle by freezing user
space and putting all I/O devices into low-power states (possibly
lower-power than available at run time), such that the processors can
spend more time in their idle states.
This state can be used for platforms without Standby/Suspend-to-RAM
support, or it can be used in addition to Suspend-to-RAM (memory sleep)
to provide reduced resume latency.


State: Standby / Power-On Suspend
ACPI State: S1
Expand All @@ -36,6 +22,9 @@ We try to put devices in a low-power state equivalent to D1, which
also offers low power savings, but low resume latency. Not all devices
support D1, and those that don't are left on.

A transition from Standby to the On state should take about 1-2
seconds.


State: Suspend-to-RAM
ACPI State: S3
Expand All @@ -53,6 +42,9 @@ transition back to the On state.
For at least ACPI, STR requires some minimal boot-strapping code to
resume the system from STR. This may be true on other platforms.

A transition from Suspend-to-RAM to the On state should take about
3-5 seconds.


State: Suspend-to-disk
ACPI State: S4
Expand Down Expand Up @@ -82,3 +74,7 @@ low-power state (like ACPI S4), or it may simply power down. Powering
down offers greater savings, and allows this mechanism to work on any
system. However, entering a real low-power state allows the user to
trigger wake up events (e.g. pressing a key or opening a laptop lid).

A transition from Suspend-to-Disk to the On state should take about 30
seconds, though it's typically a bit more with the current
implementation.
Loading

0 comments on commit aca8bba

Please sign in to comment.