On Wed 2009-04-08 12:53:30, Mark Brown wrote: > On Tue, Apr 07, 2009 at 11:40:53PM +0200, Rafael J. Wysocki wrote: > > > IMO, there is a danger that suspend will break or even the machine will crash > > if this is used for a wrong device. I don't think it's generally safe to add > > switches like this on the core level, because the core doesn't really know > > which drivers are prepared for it. > > OTOH it would be good to have a standard way of exposing this behaviour > to user space when it can be supported so that applications have some > degree of abstraction when working with these systems and drivers don't > have to keep on cooking up their own methods of exposing it. Well, "standard way of exposing the behaviour" is quite useless if it leads to kernel crashes, right? Those drivers that can do it can do it themselves. And yes, they should all use the same interface. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm