On 12-02-12 23:57, Michael Lampe wrote:
After going from CentOS 5.7 to 6.2, a lot of things turned out to be much better, but there are also quite some regressions. The most obvious one is power consumption on my notebook. It was notably lower before.
The ASPM issue introduced in 2.6.38 was widely reported and discussed, and the 6.2 kernel has exacatly this code as a backport.
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdif...
So I started to experiment with the upstream patch:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commitdi...
To make it apply, one needs to change 'pci_is_pcie(pdev)' into 'pdev->is_pcie'. One also needs to fiddle a little with the first chunk.
I came up with the patch attached, but unfortunately the new kernel showed no improvement. Most probably I got something wrong.
Anyone else here who tried this or is interested in sorting this out?
Iirc to enable ASPM on Fedora the kernel must be booted with pcie_aspm=force. Maybe you need to use that option too? For more info see: http://www.phoronix.com/scan.php?page=article&item=linux_aspm_solution&a...
Regards, Patrick