All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] AHCI powersaving and port-stopping (2.6.22-rc4)
@ 2007-06-11 10:54 John Fremlin
  2007-06-11 11:20 ` Peter Ganzhorn
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: John Fremlin @ 2007-06-11 10:54 UTC (permalink / raw)
  To: linux-ide-u79uwXL29TY76Z2rM5mHXA, power-072X8lT/F9NAfugRpC6u6w

[-- Attachment #1: Type: text/plain, Size: 859 bytes --]

Tejun Heo has made an excellent patch for saving power with the AHCI
chipset. It saves about 1 W on my Thinkpad X60s.

This patch will stop the ports when they are idle. To turn it on, 

     echo 1 > /sys/module/libata/parameters/powersave

This is very different from the patch I posted a while ago turning on
a few bits in the CMD register (ALPE and ASP) and which Intel is
apparently now trying. That only saves around 250mW. Tejun's patch
saves about 1 W. It should also make the ALPE and ASP stuff irrelevant
because it performs the same operation in software where better
information about usage is (theoretically) available.

I have updated the patch for 2.6.22-rc4. That is the extent of my
involvement - if it works, thank Tejun Heo. But problems are quite
likely to have been introduced by my clumsy update, so if it doesn't
work, blame me first.


[-- Attachment #2: ahci-powersave-linux-2.6.22-rc4-clean.patch.bz2 --]
[-- Type: application/octet-stream, Size: 11253 bytes --]

[-- Attachment #3: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Power mailing list
Power-072X8lT/F9NAfugRpC6u6w@public.gmane.org
http://www.bughost.org/mailman/listinfo/power

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

end of thread, other threads:[~2007-06-12  0:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-11 10:54 [PATCH] AHCI powersaving and port-stopping (2.6.22-rc4) John Fremlin
2007-06-11 11:20 ` Peter Ganzhorn
2007-06-11 11:33 ` Peter Ganzhorn
2007-06-11 14:20   ` John Fremlin
2007-06-11 21:49     ` Peter Ganzhorn
2007-06-12  0:43       ` John Fremlin
2007-06-11 14:05 ` Arjan van de Ven
2007-06-11 19:44   ` Kristen Carlson Accardi
2007-06-12  0:52     ` AHCI aggressive powersaving John Fremlin

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.