Re: question on flushing buffers and spinning down disk

Alan Stern <[email protected]>
Newsgroups gmane.linux.scsi,gmane.linux.usb.devel
Message-ID <[email protected]>
On Mon, 24 Sep 2007, Oliver Neukum wrote:

> > suspend.  The PM and driver cores don't include _any_ provision for
> > runtime suspend; it has to be managed separately by each subsystem.
> 
> There we have a problem. We'd have to solve it for each subsystem transition.
> Storage has this type of children, other devices will have to care for other
> types of child devices. If we have a device tree, we should use it.

It sounds like you want to add the equivalent of
usb_autopm_get/set_device() and usb_autopm_get/set_interface() into the
driver model.  But it would not be appropriate, since other subsystems
don't have the same kinds of runtime power levels as USB does.

There may be no way of getting around the need for specialized 
communication methods between subsystems for runtime PM.

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.