linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Migrate SCSI drivers to use dev_pm_ops
@ 2012-10-11  5:08 Aaron Lu
  2012-10-11  5:08 ` [PATCH v2 1/5] sd: put to stopped power state when runtime suspend Aaron Lu
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Aaron Lu @ 2012-10-11  5:08 UTC (permalink / raw)
  To: Alan Stern, Rafael J. Wysocki, James Bottomley
  Cc: linux-scsi, linux-pm, Aaron Lu, Aaron Lu

v2:
Change the runtime suspend behaviour of sd driver by putting the device
into stopped power state.
Revert 2 patches which are no longer needed as pointed out by Alan Stern.
Find out device callbacks in bus callbacks as suggested by Alan Stern.

Due to these changes, patch number grows from 2 -> 5.

v1:
The 2 patches will migrate SCSI drivers to use the pm callbacks defined
in dev_pm_ops as pm_message is deprecated and should not be used by driver.
Bus level callback is changed to use callbacks defined in dev_pm_ops when
needed and sd's pm callback is updated to use what are defined in dev_pm_ops.

Aaron Lu (5):
  sd: put to stopped power state when runtime suspend
  Revert "[SCSI] scsi_pm: set device runtime state before parent
    suspended"
  Revert "[SCSI] runtime resume parent for child's system-resume"
  pm: use callbacks from dev_pm_ops for scsi devices
  sd: update sd to use the new pm callbacks

 drivers/scsi/scsi_pm.c | 138 +++++++++++++++++++++++++++++--------------------
 drivers/scsi/sd.c      |  18 +++++--
 2 files changed, 96 insertions(+), 60 deletions(-)

-- 
1.7.12.21.g871e293


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-10-12  6:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-11  5:08 [PATCH v2 0/5] Migrate SCSI drivers to use dev_pm_ops Aaron Lu
2012-10-11  5:08 ` [PATCH v2 1/5] sd: put to stopped power state when runtime suspend Aaron Lu
2012-10-11 14:50   ` Alan Stern
2012-10-12  6:45     ` Aaron Lu
2012-10-11  5:08 ` [PATCH v2 2/5] Revert "[SCSI] scsi_pm: set device runtime state before parent suspended" Aaron Lu
2012-10-11  5:08 ` [PATCH v2 3/5] Revert "[SCSI] runtime resume parent for child's system-resume" Aaron Lu
2012-10-11  5:08 ` [PATCH v2 4/5] pm: use callbacks from dev_pm_ops for scsi devices Aaron Lu
2012-10-11 14:57   ` Alan Stern
2012-10-12  6:48     ` Aaron Lu
2012-10-11  5:08 ` [PATCH v2 5/5] sd: update sd to use the new pm callbacks Aaron Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).