Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ASPM patch getting backported
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Nicias
Guru
Guru


Joined: 06 Dec 2005
Posts: 446

PostPosted: Sat Nov 12, 2011 1:27 pm    Post subject: ASPM patch getting backported Reply with quote

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
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9334

PostPosted: Sat Nov 12, 2011 1:54 pm    Post subject: Reply with quote

Upstream has no plans currently to backport the patch as it is a big change, not a bugfix.
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Sat Nov 12, 2011 1:59 pm    Post subject: Reply with quote

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:

Code:
pcie_aspm=force


Works fine with tuxonice-sources-2.6.38 on my Lenovo X301.
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9334

PostPosted: Sat Nov 12, 2011 2:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Sat Nov 12, 2011 2:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
kimmie
Guru
Guru


Joined: 08 Sep 2004
Posts: 531
Location: Australia

PostPosted: Sat Nov 12, 2011 3:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum