Skip to contentSkip to conversation

PM: schedule /sys/devices/.../power/state for removal

PATCH New David Brownell 1 participant 1 message Aug 30, 2006 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PM: schedule /sys/devices/.../power/state for removal

[ this is my update to Pavel's original patch ]

From: Pavel Machek <[email protected]>

This lists the /sys/devices/.../power/state file, and its internal support, as due for removal next year.

Documentation/feature-removal-schedule.txt +15 -0
Index: o26/Documentation/feature-removal-schedule.txt
===================================================================
@@ -6,6 +6,21 @@ be removed from this file.
 
 ---------------------------
 
+What:	/sys/devices/.../power/state
+	dev->power.power_state
+	dpm_runtime_{suspend,resume)()
+When:	July 2007
+Why:	Broken design for runtime control over driver power states, confusing
+	driver-internal runtime power management with:  mechanisms to support
+	system-wide sleep state transitions; event codes that distinguish
+	different phases of swsusp "sleep" transitions; and userspace policy
+	inputs.  This framework was never widely used, and most attempts to
+	use it were broken.  Drivers should instead be exposing domain-specific
+	interfaces either to kernel or to userspace.
+Who:	Pavel Machek <[email protected]>
+
+---------------------------
+
 What:	RAW driver (CONFIG_RAW_DRIVER)
 When:	December 2005
 Why:	declared obsolete since kernel 2.6.3