linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHSET] new Power Management for libata
@ 2006-06-12 15:50 Tejun Heo
  2006-06-12 15:50 ` [PATCH 01/10] libata: power down controller only on PMSG_SUSPEND Tejun Heo
                   ` (13 more replies)
  0 siblings, 14 replies; 39+ messages in thread
From: Tejun Heo @ 2006-06-12 15:50 UTC (permalink / raw)
  To: jgarzik, lkml, axboe, forrest.zhao, alan, linux-ide, htejun

Hello, all.

This patchset implements new Power Management for libata.  Currently,
only controller-wide suspend and resume are supported.  No per-device
power management yet.  Both memsleep and disksleep work on supported
controllers.

All PM operations are performed by EH and thus fully synchronized w/
EH.  Suspend/resume operations should be safe under all circumstances
as long as libata is concerned.  Attaching/detaching/exchanging
devices while sleeping is allowed and handled correctly.

ata_piix, sata_sil and sata_sil24 are updated to use new PM.  PM is
tested on the following machines.

* ASUS P5LD2: sky2 disabled as it oopses on PM

	O ICH7R in piix mode (advanced/compatible)
	O sil3112 PCI card
	O sil3114 PCI card
	O sil3124 PCI-x card on PCI slot
	X sil3132 failed probably due to PCI-e PM problem

* Fujitsu lifebook P7120: enabled ATA_ENABLE_PATA and added entry for
  0x266f in ata_piix pci table.  Net console makes resume from
  memsleep fail.

	O ICH6M in piix mode
	O sil3112 PCMCIA card

This patchset contains 10 patches.

#01-04	prep for new PM
#05-06	implement new PM
#07-10	update LLDs

This patchset is against

     upstream (aeb2ecd6096182cc080d37679080c0f088dcd4a4)
     + [1] kill-ATA_FLAG_SRST patch
     + [2] shift-ATA_FLAG_-bits patch

Jens, Mark, can you guys please test if this patch works on your
notebooks?  Note that AHCI isn't updated yet.

Zhao, can you port your AHCI PM stuff over this?  This should solve
the problem you talked about in the other mail.  Recent changes update
ahci such that it listens to more PHY events for hotplug and that
causes EH to kick in after resuming.  The original PM implementation
didn't synchronize w/ EH and thus caused problems.

This patchset is for review only.

Thanks.

--
tejun

[1] http://marc.theaimsgroup.com/?l=linux-ide&m=115012501502940&w=2
[2] http://marc.theaimsgroup.com/?l=linux-ide&m=115012349728574&w=2



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

end of thread, other threads:[~2006-06-19  8:46 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-12 15:50 [PATCHSET] new Power Management for libata Tejun Heo
2006-06-12 15:50 ` [PATCH 01/10] libata: power down controller only on PMSG_SUSPEND Tejun Heo
2006-06-12 16:32   ` Jeff Garzik
2006-06-13  2:20     ` Tejun Heo
2006-06-12 15:50 ` [PATCH 03/10] libata: move ata_do_simple_cmd() right below ata_exec_internal() Tejun Heo
2006-06-12 15:50 ` [PATCH 02/10] libata: kill per-device PM Tejun Heo
2006-06-12 15:50 ` [PATCH 04/10] libata: update ata_do_simple_cmd() Tejun Heo
2006-06-12 15:50 ` [PATCH 09/10] sata_sil24: separate out sil24_init_controller() Tejun Heo
2006-06-12 15:50 ` [PATCH 10/10] sata_sil24: add suspend/sleep support Tejun Heo
2006-06-12 15:50 ` [PATCH 08/10] sata_sil: " Tejun Heo
2006-06-12 15:50 ` [PATCH 07/10] sata_sil: separate out sil_init_controller() Tejun Heo
2006-06-12 15:50 ` [PATCH 05/10] libata: implement new EH action ATA_EH_SPINUP Tejun Heo
2006-06-14  1:18   ` Jeff Garzik
2006-06-14 15:02     ` Tejun Heo
2006-06-14 15:25       ` Alan Cox
2006-06-12 15:50 ` [PATCH 06/10] libata: implement new Power Management framework Tejun Heo
2006-06-12 16:34   ` Alan Cox
2006-06-13  2:08     ` Tejun Heo
2006-06-13  6:25   ` zhao, forrest
2006-06-13  8:56     ` Tejun Heo
2006-06-13 11:59       ` Jeff Garzik
2006-06-13  8:17   ` zhao, forrest
2006-06-13  9:00     ` Tejun Heo
2006-06-13  8:54       ` zhao, forrest
2006-06-13  9:15         ` Tejun Heo
2006-06-13  8:37   ` zhao, forrest
2006-06-14  7:56   ` zhao, forrest
2006-06-14 13:29     ` Tejun Heo
2006-06-15  1:33       ` zhao, forrest
2006-06-15  3:41         ` Tejun Heo
2006-06-12 15:57 ` [PATCHSET] new Power Management for libata Tejun Heo
2006-06-13  6:28 ` zhao, forrest
2006-06-13  9:09 ` rolled up patch for " Tejun Heo
2006-06-13 10:38   ` Jens Axboe
2006-06-19  5:46     ` Jens Axboe
2006-06-14  1:25 ` [PATCHSET] " Jeff Garzik
2006-06-14 13:46   ` Tejun Heo
2006-06-19  5:18     ` zhao, forrest
2006-06-19  8:46       ` Tejun Heo

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