aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2014-03-28 06:15:14 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-04-07 08:18:24 -0400
commitd0549801659747c46092fb22db1488100d7923e4 (patch)
treefa38e3b6e382e20611144164b9f6ed5c154af2a2 /Documentation
parent70f6c087573eeb406252ff8d98f511eb5f71496e (diff)
PM / wakeup: Correct presence vs. emptiness of wakeup_* attributes
According to the documentation, the various wakeup_* attributes in sysfs are not present if the device is not enabled to wake up the system. This is not correct: the attributes are not present if the device is not capable to wake up the system. They are empty if the device is not enabled to wake up the system. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/ABI/testing/sysfs-devices-power46
1 files changed, 30 insertions, 16 deletions
diff --git a/Documentation/ABI/testing/sysfs-devices-power b/Documentation/ABI/testing/sysfs-devices-power
index 7dbf96b724ed..676fdf5f2a99 100644
--- a/Documentation/ABI/testing/sysfs-devices-power
+++ b/Documentation/ABI/testing/sysfs-devices-power
@@ -83,8 +83,10 @@ Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
83Description: 83Description:
84 The /sys/devices/.../wakeup_count attribute contains the number 84 The /sys/devices/.../wakeup_count attribute contains the number
85 of signaled wakeup events associated with the device. This 85 of signaled wakeup events associated with the device. This
86 attribute is read-only. If the device is not enabled to wake up 86 attribute is read-only. If the device is not capable to wake up
87 the system from sleep states, this attribute is not present. 87 the system from sleep states, this attribute is not present.
88 If the device is not enabled to wake up the system from sleep
89 states, this attribute is empty.
88 90
89What: /sys/devices/.../power/wakeup_active_count 91What: /sys/devices/.../power/wakeup_active_count
90Date: September 2010 92Date: September 2010
@@ -93,8 +95,10 @@ Description:
93 The /sys/devices/.../wakeup_active_count attribute contains the 95 The /sys/devices/.../wakeup_active_count attribute contains the
94 number of times the processing of wakeup events associated with 96 number of times the processing of wakeup events associated with
95 the device was completed (at the kernel level). This attribute 97 the device was completed (at the kernel level). This attribute
96 is read-only. If the device is not enabled to wake up the 98 is read-only. If the device is not capable to wake up the
97 system from sleep states, this attribute is not present. 99 system from sleep states, this attribute is not present. If
100 the device is not enabled to wake up the system from sleep
101 states, this attribute is empty.
98 102
99What: /sys/devices/.../power/wakeup_abort_count 103What: /sys/devices/.../power/wakeup_abort_count
100Date: February 2012 104Date: February 2012
@@ -104,8 +108,9 @@ Description:
104 number of times the processing of a wakeup event associated with 108 number of times the processing of a wakeup event associated with
105 the device might have aborted system transition into a sleep 109 the device might have aborted system transition into a sleep
106 state in progress. This attribute is read-only. If the device 110 state in progress. This attribute is read-only. If the device
107 is not enabled to wake up the system from sleep states, this 111 is not capable to wake up the system from sleep states, this
108 attribute is not present. 112 attribute is not present. If the device is not enabled to wake
113 up the system from sleep states, this attribute is empty.
109 114
110What: /sys/devices/.../power/wakeup_expire_count 115What: /sys/devices/.../power/wakeup_expire_count
111Date: February 2012 116Date: February 2012
@@ -114,8 +119,10 @@ Description:
114 The /sys/devices/.../wakeup_expire_count attribute contains the 119 The /sys/devices/.../wakeup_expire_count attribute contains the
115 number of times a wakeup event associated with the device has 120 number of times a wakeup event associated with the device has
116 been reported with a timeout that expired. This attribute is 121 been reported with a timeout that expired. This attribute is
117 read-only. If the device is not enabled to wake up the system 122 read-only. If the device is not capable to wake up the system
118 from sleep states, this attribute is not present. 123 from sleep states, this attribute is not present. If the
124 device is not enabled to wake up the system from sleep states,
125 this attribute is empty.
119 126
120What: /sys/devices/.../power/wakeup_active 127What: /sys/devices/.../power/wakeup_active
121Date: September 2010 128Date: September 2010
@@ -124,8 +131,10 @@ Description:
124 The /sys/devices/.../wakeup_active attribute contains either 1, 131 The /sys/devices/.../wakeup_active attribute contains either 1,
125 or 0, depending on whether or not a wakeup event associated with 132 or 0, depending on whether or not a wakeup event associated with
126 the device is being processed (1). This attribute is read-only. 133 the device is being processed (1). This attribute is read-only.
127 If the device is not enabled to wake up the system from sleep 134 If the device is not capable to wake up the system from sleep
128 states, this attribute is not present. 135 states, this attribute is not present. If the device is not
136 enabled to wake up the system from sleep states, this attribute
137 is empty.
129 138
130What: /sys/devices/.../power/wakeup_total_time_ms 139What: /sys/devices/.../power/wakeup_total_time_ms
131Date: September 2010 140Date: September 2010
@@ -134,8 +143,9 @@ Description:
134 The /sys/devices/.../wakeup_total_time_ms attribute contains 143 The /sys/devices/.../wakeup_total_time_ms attribute contains
135 the total time of processing wakeup events associated with the 144 the total time of processing wakeup events associated with the
136 device, in milliseconds. This attribute is read-only. If the 145 device, in milliseconds. This attribute is read-only. If the
137 device is not enabled to wake up the system from sleep states, 146 device is not capable to wake up the system from sleep states,
138 this attribute is not present. 147 this attribute is not present. If the device is not enabled to
148 wake up the system from sleep states, this attribute is empty.
139 149
140What: /sys/devices/.../power/wakeup_max_time_ms 150What: /sys/devices/.../power/wakeup_max_time_ms
141Date: September 2010 151Date: September 2010
@@ -144,8 +154,10 @@ Description:
144 The /sys/devices/.../wakeup_max_time_ms attribute contains 154 The /sys/devices/.../wakeup_max_time_ms attribute contains
145 the maximum time of processing a single wakeup event associated 155 the maximum time of processing a single wakeup event associated
146 with the device, in milliseconds. This attribute is read-only. 156 with the device, in milliseconds. This attribute is read-only.
147 If the device is not enabled to wake up the system from sleep 157 If the device is not capable to wake up the system from sleep
148 states, this attribute is not present. 158 states, this attribute is not present. If the device is not
159 enabled to wake up the system from sleep states, this attribute
160 is empty.
149 161
150What: /sys/devices/.../power/wakeup_last_time_ms 162What: /sys/devices/.../power/wakeup_last_time_ms
151Date: September 2010 163Date: September 2010
@@ -156,7 +168,8 @@ Description:
156 signaling the last wakeup event associated with the device, in 168 signaling the last wakeup event associated with the device, in
157 milliseconds. This attribute is read-only. If the device is 169 milliseconds. This attribute is read-only. If the device is
158 not enabled to wake up the system from sleep states, this 170 not enabled to wake up the system from sleep states, this
159 attribute is not present. 171 attribute is not present. If the device is not enabled to wake
172 up the system from sleep states, this attribute is empty.
160 173
161What: /sys/devices/.../power/wakeup_prevent_sleep_time_ms 174What: /sys/devices/.../power/wakeup_prevent_sleep_time_ms
162Date: February 2012 175Date: February 2012
@@ -165,9 +178,10 @@ Description:
165 The /sys/devices/.../wakeup_prevent_sleep_time_ms attribute 178 The /sys/devices/.../wakeup_prevent_sleep_time_ms attribute
166 contains the total time the device has been preventing 179 contains the total time the device has been preventing
167 opportunistic transitions to sleep states from occurring. 180 opportunistic transitions to sleep states from occurring.
168 This attribute is read-only. If the device is not enabled to 181 This attribute is read-only. If the device is not capable to
169 wake up the system from sleep states, this attribute is not 182 wake up the system from sleep states, this attribute is not
170 present. 183 present. If the device is not enabled to wake up the system
184 from sleep states, this attribute is empty.
171 185
172What: /sys/devices/.../power/autosuspend_delay_ms 186What: /sys/devices/.../power/autosuspend_delay_ms
173Date: September 2010 187Date: September 2010