View previous topic :: View next topic |
Author |
Message |
Nicias Guru
Joined: 06 Dec 2005 Posts: 446
|
Posted: Sat Nov 12, 2011 1:27 pm Post subject: ASPM patch getting backported |
|
|
I've been following the ASPM power regression issue introduced in 2.6.38, over at phoronix, and according to them, there is a patch that will likely get included in the 3.3 version of the kernel. Is there any plan of backporting this patch into the tuxonice sources, or should I just wait until 3.3 comes out for tuxonice? |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9334
|
Posted: Sat Nov 12, 2011 1:54 pm Post subject: |
|
|
Upstream has no plans currently to backport the patch as it is a big change, not a bugfix. |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Sat Nov 12, 2011 1:59 pm Post subject: |
|
|
I don't know the answer to your question, but you do know that it is easy to work around, right?
I just have it in a script in /etc/local.d :
Code: | echo powersave > /sys/module/pcie_aspm/parameters/policy |
You could also add it to your linux commandline in your bootloader:
Works fine with tuxonice-sources-2.6.38 on my Lenovo X301. _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9334
|
Posted: Sat Nov 12, 2011 2:09 pm Post subject: |
|
|
Well, I do that too, but:
Code: | [ 0.000000] Kernel command line: pcie_aspm=force
[ 0.000000] PCIe ASPM is forcedly enabled
[ 0.095091] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it |
|
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Sat Nov 12, 2011 2:45 pm Post subject: |
|
|
The message
Code: | ACPI FADT declares the system doesn't support PCIe ASPM, so disable it |
appears even on older kernels, and is printed whether support is enabled or not.
I clearly get 2-3 watts of power savings with the commandline parameters; you should check for yourself ith powertop _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
kimmie Guru
Joined: 08 Sep 2004 Posts: 531 Location: Australia
|
Posted: Sat Nov 12, 2011 3:13 pm Post subject: |
|
|
I get power savings with pcie_aspm=force, but I also get suspend/resume failures. I'm hoping the patch will give me only the good part! Lenovo W510. |
|
Back to top |
|
|
|