Migrate SCSI drivers to use dev_pm_ops
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest posting 2/25 patches 2 repliesIn review
- v4 posting 1/25 patches 1 replySuperseded
- v35 patches 3 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 5 patches | 4 replies | Superseded | |
| v1 | 2 patches | 4 replies | Superseded |
Changes in v4 from the cover letter
Only Patch 4 is modified:
Fixed a line over 80 characters warning by checkpatch.pl; Update the changelog so that it is no more a try :-)
Patches in v4 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | sd: put to stopped power state when runtime suspenddrivers/ | +2 | 0 replies | |
| 2/5 | Revert "[SCSI] scsi_pm: set device runtime state before parent suspended"drivers/ | +11 | 0 replies | |
| 3/5 | Revert "[SCSI] runtime resume parent for child's system-resume"drivers/ | +1 | 0 replies | |
| 4/5 | pm: use callbacks from dev_pm_ops for scsi devicesdrivers/ | +53 | 0 replies | |
| 5/5 | sd: update sd to use the new pm callbacksdrivers/ | +13 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Alan Stern | Rafael J. Wysocki |
|---|---|---|
| 1/5 | A-b | A-b |
| 2/5 | A-b | A-b |
| 3/5 | A-b | A-b |
| 4/5 | A-b | A-b |
| 5/5 | A-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH RESEND v4 0/5] Migrate SCSI drivers to use dev_pm_ops
This patchset has been quiet for a while, so resend them.
v4:
Only Patch 4 is modified:
Fixed a line over 80 characters warning by checkpatch.pl; Update the changelog so that it is no more a try :-)
v3:
Only patch 4 is modified:
Remove the special case for system freeze in scsi_bus_suspend_common as pointed out by Alan Stern;
Updated some comments;
Removed the use of typedef (*pm_callback_t)(struct device *).
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 | 98 +++++++++++++++++++++++++++----------------------- drivers/scsi/sd.c | 18 +++++++--- 2 files changed, 67 insertions(+), 49 deletions(-)
Signature · 1 line
1.7.12.21.g871e293