public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Oliver Neukum <oliver@neukum.org>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: SCSI development list <linux-scsi@vger.kernel.org>,
	Linux-pm mailing list <linux-pm@lists.linux-foundation.org>
Subject: Re: [RFC] Implementation of SCSI dynamic power management
Date: Wed, 9 Jan 2008 17:11:32 +0100	[thread overview]
Message-ID: <200801091711.33394.oliver@neukum.org> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0801071244180.2748-100000@iolanthe.rowland.org>

Am Montag, 7. Januar 2008 20:42:23 schrieb Alan Stern:
> When all the devices under a host are suspended, the LLD is informed 
> (via a new "autosuspend" method in the host template) so that it can 
> put the host adapter in a low-power state.  Likewise, a new 
> "autoresume" method is called when the host adapter needs to return to 
> full power.  An implementation of these methods for the usb-storage 
> driver will be posted in a followup patch.

This has an interesting implication. As the storage driver can share
a device with in principle any other usb driver, we must audit all usb
drivers if we wish to adopt this patch.
All a device's interfaces must be resumed when the storage interface
is resumed. To resume a storage device no memory must be allocated
because that could deadlock.

	Regards
		Oliver

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2008-01-09 16:10 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-07 19:42 [RFC] Implementation of SCSI dynamic power management Alan Stern
2008-01-07 20:31 ` Oliver Neukum
2008-01-07 21:34   ` Alan Stern
2008-01-07 22:06     ` Oliver Neukum
2008-01-08  3:56       ` Alan Stern
2008-01-08 13:42         ` Oliver Neukum
2008-01-08 15:06           ` Alan Stern
2008-01-08 15:10             ` Oliver Neukum
2008-01-08 21:24     ` [linux-pm] " Pavel Machek
2008-01-09 15:25       ` Alan Stern
2008-01-08 14:12 ` Oliver Neukum
2008-01-08 15:12   ` Alan Stern
2008-01-08 15:18     ` Oliver Neukum
2008-01-08 18:06     ` Stefan Richter
2008-01-08 18:51       ` Alan Stern
2008-01-08 15:00 ` Oliver Neukum
2008-01-08 15:16   ` Alan Stern
2008-01-08 15:30     ` Oliver Neukum
2008-01-09 16:11 ` Oliver Neukum [this message]
2008-01-09 17:22   ` Alan Stern
2008-01-09 17:31     ` Oliver Neukum
2008-01-09 20:36       ` Alan Stern
2008-01-10  9:26         ` Oliver Neukum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200801091711.33394.oliver@neukum.org \
    --to=oliver@neukum.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox