Skip to content

ata port runtime power management support

Lin Ming linux-ide linux-scsi lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest6 patches 8 repliesIn review
  2. v46 patches 8 repliesSuperseded
  3. v36 patches 9 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v24 patches16 repliesSuperseded
v13 patches14 repliesSuperseded

Changes in v4 from the cover letter

- check SCSI device runtime PM status in system PM (Alan Stern, Tejun Heo)

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ata: make ata port as parent device of scsi hostdrivers/ata/libata-scsi.c+1 -11 reply
2/6add flag to skip the runtime PM calls on the hostdrivers/scsi/scsi_error.c include/scsi/scsi_host.h+6 -20 replies
3/6check runtime PM status in system PMdrivers/scsi/scsi_pm.c+15 -10 replies
4/6sd: check runtime PM status in sd_shutdowndrivers/scsi/sd.c+5 -00 replies
5/6ata: add ata port system PM callbacksdrivers/ata/libata-core.c drivers/ata/libata-transport.c drivers/ata/libata.h+76 -705 replies
6/6ata: add ata port runtime PM callbacksdrivers/ata/libata-core.c drivers/ata/libata-scsi.c drivers/ata/libata-transport.c+15 -02 replies

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchTejun HeoAlan Stern
SeriesA-b
1/6A-b
2/6A-b
3/6
4/6A-b
5/6
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/6] ata port runtime power management support

Hi Jeff,

This is the v5 patches to add ata port runtime pm support. Applied on top of v3.2-rc4.

Patch 1 was acked by Tejun Heo.
Patch 2, 3, 4 were signed/acked by Alan Stern.

Could you consider merging these patches?

Chanes in v5(no functional change):
- add SCSI patches acks by Alan Stern
- rebase to v3.2-rc4

Changes in v4:
- check SCSI device runtime PM status in system PM (Alan Stern, Tejun Heo)

Changes in v3:
- runtime resume scsi device before system suspend (Alan Stern)
- check runtime status in sd_shutdown

v1:
https://lkml.org/lkml/2011/11/2/23

v2:
https://lkml.org/lkml/2011/11/10/71

Kay Sievers reviewed sysfs change

v3:
https://lkml.org/lkml/2011/11/23/37

v4:
https://lkml.org/lkml/2011/11/27/275

Lin Ming (6):
ata: make ata port as parent device of scsi host [SCSI] add flag to skip the runtime PM calls on the host [SCSI] check runtime PM status in system PM [SCSI] sd: check runtime PM status in sd_shutdown
ata: add ata port system PM callbacks
ata: add ata port runtime PM callbacks

 drivers/ata/libata-core.c      |  154 ++++++++++++++++++++++------------------
 drivers/ata/libata-scsi.c      |    3 +-
 drivers/ata/libata-transport.c |    5 ++
 drivers/ata/libata.h           |    1 +
 drivers/scsi/scsi_error.c      |    5 +-
 drivers/scsi/scsi_pm.c         |   16 ++++-
 drivers/scsi/sd.c              |    5 ++
 include/scsi/scsi_host.h       |    3 +
 8 files changed, 118 insertions(+), 74 deletions(-)

Thanks for any comment,
Lin Ming