All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHSET #upstream] libata: reimplement LPM support
@ 2010-09-01 15:50 Tejun Heo
  2010-09-01 15:50 ` [PATCH 1/5] libata: clean up lpm related symbols and sysfs show/store functions Tejun Heo
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Tejun Heo @ 2010-09-01 15:50 UTC (permalink / raw)
  To: jeff, linux-ide

Hello,

This patchset reimplement LPM support so that it's better integrated
with the rest of libata and supports more than just ALPM.  After the
patchset, DIPM works on ahci w/o ALPM support, host link of PMP can
use both H/DIPM and fan-out links supports DIPM, and ata_piix w/ SIDPR
also supports DIPM.

Adding DIPM support for other controllers should be easy and DIPM
actually works better than ALPM because DIPM implements sane timeout
before entering powersave mode and thus doesn't hurt throughput like
ALPM does.

Tested with intel and JMB ahci's, ich8 ata_piix, SIMG and marvell
PMPs.  SATA bus analyzer was used to verify links are actually
entering and coming out of powersave mode.

This patchset contains the following five patches

 0001-libata-clean-up-lpm-related-symbols-and-sysfs-show-s.patch
 0002-libata-implement-sata_link_scr_lpm-and-make-ata_dev_.patch
 0003-libata-reimplement-link-power-management.patch
 0004-libata-implement-LPM-support-for-port-multipliers.patch
 0005-ata_piix-implement-LPM-support.patch

and available in the folloing git tree

 git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata-dev.git lpm

with the following changes.

 drivers/ata/ahci.c          |    3 
 drivers/ata/ahci.h          |    3 
 drivers/ata/ahci_platform.c |    3 
 drivers/ata/ata_piix.c      |   24 +++
 drivers/ata/libahci.c       |  160 ++++++-------------------
 drivers/ata/libata-core.c   |  276 +++++++++++---------------------------------
 drivers/ata/libata-eh.c     |  173 ++++++++++++++++++++++++---
 drivers/ata/libata-pmp.c    |   48 +++++++
 drivers/ata/libata-scsi.c   |   73 ++++-------
 drivers/ata/libata.h        |   12 +
 include/linux/libata.h      |   42 +++---
 11 files changed, 397 insertions(+), 420 deletions(-)

Thanks.

--
tejun

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

end of thread, other threads:[~2010-09-17  6:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-01 15:50 [PATCHSET #upstream] libata: reimplement LPM support Tejun Heo
2010-09-01 15:50 ` [PATCH 1/5] libata: clean up lpm related symbols and sysfs show/store functions Tejun Heo
2010-09-01 15:50 ` [PATCH 2/5] libata: implement sata_link_scr_lpm() and make ata_dev_set_feature() global Tejun Heo
2010-09-01 15:50 ` [PATCH 3/5] libata: reimplement link power management Tejun Heo
2010-09-01 15:50 ` [PATCH 4/5] libata: implement LPM support for port multipliers Tejun Heo
2010-09-01 15:50 ` [PATCH 5/5] ata_piix: implement LPM support Tejun Heo
2010-09-17  6:06 ` [PATCHSET #upstream] libata: reimplement " Jeff Garzik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.