linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Support runtime power off of HDD
@ 2012-09-18  7:00 Aaron Lu
  2012-09-18  7:00 ` [PATCH v2 1/4] scsi: introduce sync_before_stop flag Aaron Lu
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Aaron Lu @ 2012-09-18  7:00 UTC (permalink / raw)
  To: Alan Stern, Jeff Garzik, James Bottomley, Oliver Neukum
  Cc: Aaron Lu, Jack Wang, Shane Huang, linux-scsi, linux-ide, linux-pm,
	Aaron Lu

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(-)

-- 
1.7.12.21.g871e293


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

end of thread, other threads:[~2012-09-24 22:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-18  7:00 [PATCH v2 0/4] Support runtime power off of HDD Aaron Lu
2012-09-18  7:00 ` [PATCH v2 1/4] scsi: introduce sync_before_stop flag Aaron Lu
2012-09-18  7:30   ` Oliver Neukum
2012-09-18  7:47     ` Aaron Lu
2012-09-18  7:56   ` James Bottomley
2012-09-18  8:09     ` Aaron Lu
2012-09-18  8:20       ` James Bottomley
2012-09-18  8:31         ` Aaron Lu
2012-09-24 22:13           ` Jeff Garzik
2012-09-18  7:00 ` [PATCH v2 2/4] scsi: sd: enter stop power condition on runtime suspend Aaron Lu
2012-09-18  7:00 ` [PATCH v2 3/4] scsi: sd: set ready_to_power_off for scsi disk Aaron Lu
2012-09-18  7:00 ` [PATCH v2 4/4] libata: acpi: set can_power_off for both ODD and HDD 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).