Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Tejun Heo <htejun <at> gmail.com>
Subject: [PATCHSET] new Power Management for libata
Newsgroups: gmane.linux.ide
Date: Monday 12th June 2006 15:50:28 UTC (over 10 years ago)
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


-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
 
CD: 3ms