Skip to content

Support runtime power off of HDD

Aaron Lu linux-ide linux-scsi 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 7 repliesIn review
  2. v12 patches 21 repliesSuperseded

Changes in v2 from the cover letter

Introduced a new flag sync_before_stop as scsi_stop = ata_flush_cache + ata_standby_immediate. This flag specifies that when stop command is to send to this device, please issue an additional synchronize cache command to it before the stop command.
Put device into stop power condition on runtime suspend.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4scsi: introduce sync_before_stop flaginclude/scsi/scsi_device.h+1 -07 replies
2/4scsi: sd: enter stop power condition on runtime suspenddrivers/ata/libata-scsi.c drivers/scsi/sd.c+9 -20 replies
3/4scsi: sd: set ready_to_power_off for scsi diskdrivers/scsi/sd.c+1 -00 replies
4/4libata: acpi: set can_power_off for both ODD and HDDdrivers/ata/libata-acpi.c+17 -80 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchJeff Garzik
1/4
2/4
3/4
4/4A-b

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

Read the v2 thread

Cover letter [PATCH v2 0/4] Support runtime power off of HDD

v2:
Introduced a new flag sync_before_stop as scsi_stop = ata_flush_cache + ata_standby_immediate. This flag specifies that when stop command is to send to this device, please issue an additional synchronize cache command to it before the stop command.
Put device into stop power condition on runtime suspend.

v1:
This patch set is baed on v7 ZPODD patches.

Aaron Lu (4):
scsi: introduce sync_before_stop flag
scsi: sd: enter stop power condition on runtime suspend
scsi: sd: set ready_to_power_off for scsi disk
libata: acpi: set can_power_off for both ODD and HDD

 drivers/ata/libata-acpi.c  | 25 +++++++++++++++++--------
 drivers/ata/libata-scsi.c  |  1 +
 drivers/scsi/sd.c          | 11 +++++++++--
 include/scsi/scsi_device.h |  1 +
 4 files changed, 28 insertions(+), 10 deletions(-)
Signature · 1 line
1.7.12.21.g871e293