pci: Rework ASPM disable code patch
Hi John/Garrett/Greg,
We test the ASPM patch with the Intel WiFi devices on number of platforms and the improvement is huge.
In the "idle associated" mode, the power consumption number for our new devices down to ~40mW range from over 120mW.
We will do more testing but I will suggest to apply this patch to the stable release.
Thanks
Wey
Quoted 4 lines · Wey-Yi
Hi John/Garrett/Greg,
We test the ASPM patch with the Intel WiFi devices on number of platforms and the improvement is huge.
What "ASPM patch"?
Quoted 5 lines
In the "idle associated" mode, the power consumption number for our new devices down to ~40mW range from over 120mW.
We will do more testing but I will suggest to apply this patch to the stable release.
What is the git commit id of this patch? Have you read Documentation/stable_kernel_rules.txt for how to properly submit a patch to the stable kernel trees?
thanks,
greg k-h
Quoted 7 lines · Greg KH
Quoted 4 lines · Wey-Yi
Hi John/Garrett/Greg,
We test the ASPM patch with the Intel WiFi devices on number of platforms and the improvement is huge.
What "ASPM patch"?
https://lkml.org/lkml/2011/11/11/212
Quoted 18 lines
Quoted 6 lines
In the "idle associated" mode, the power consumption number for our new devices down to ~40mW range from over 120mW.
We will do more testing but I will suggest to apply this patch to the stable release.
What is the git commit id of this patch? Have you read
Documentation/stable_kernel_rules.txtfor how to properly submit a patch to the stable kernel trees?thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 10 lines · Wey-Yi
Quoted 7 lines · Greg KH
Quoted 4 lines · Wey-Yi
Hi John/Garrett/Greg,
We test the ASPM patch with the Intel WiFi devices on number of platforms and the improvement is huge.
What "ASPM patch"?
Ok, yet you feel that my statement there is not sufficient right now?
Quoted 9 lines
Quoted 9 lines
Quoted 5 lines
In the "idle associated" mode, the power consumption number for our new devices down to ~40mW range from over 120mW.
We will do more testing but I will suggest to apply this patch to the stable release.
What is the git commit id of this patch? Have you read
Documentation/stable_kernel_rules.txtfor how to properly submit a patch to the stable kernel trees?
You failed to answer this :(
{sigh}
greg k-h
Quoted 5 lines · Greg KH
Quoted 4 lines · Wey-Yi
Quoted 3 lines · Greg KH
Quoted 2 lines · Wey-Yi
Hi John/Garrett/Greg,
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
We test the ASPM patch with the Intel WiFi devices on number of platforms and the improvement is huge.
What "ASPM patch"?
Ok, yet you feel that my statement there is not sufficient right now?
oh, I am just want to let you know we test this patch and the result is very good, it make huge improvement with our devices.
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
In the "idle associated" mode, the power consumption number for our new devices down to ~40mW range from over 120mW.
Quoted 8 lines
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
We will do more testing but I will suggest to apply this patch to the stable release.
What is the git commit id of this patch? Have you read
Documentation/stable_kernel_rules.txtfor how to properly submit a patch to the stable kernel trees?You failed to answer this :(
oh here is the patch already in linux-next tree
commit 7f92c4f7d92a7558ed7eb29fa59e1c98402dc3c2
Author: Matthew Garrett <[email protected]> Date: Thu Nov 10 16:38:33 2011 -0500
PCI: Rework ASPM disable code
Right now we forcibly clear ASPM state on all devices if the BIOS
indicates
that the feature isn't supported. Based on the Microsoft
presentation
"PCI Express In Depth for Windows Vista and Beyond", I'm starting to
think
that this may be an error. The implication is that unless the
platform
grants full control via _OSC, Windows will not touch any PCIe
features -
including ASPM. In that case clearing ASPM state would be an error
unless
the platform has granted us that control.
This patch reworks the ASPM disabling code such that the actual
clearing
of state is triggered by a successful handoff of PCIe control to the
OS.
The general ASPM code undergoes some changes in order to ensure that
the
ability to clear the bits isn't overridden by ASPM having already
been
disabled. Further, this theoretically now allows for situations
where
only a subset of PCIe roots hand over control, leaving the others in
the
BIOS state.
It's difficult to know for sure that this is the right thing to do - there's zero public documentation on the interaction between all of
these
components. But enough vendors enable ASPM on platforms and then set
this
bit that it seems likely that they're expecting the OS to leave them
alone.
Measured to save around 5W on an idle Thinkpad X220.
Thanks
Wey