Fix C state selection and reduce power consumption
On 06/22/2011 03:40 AM, Colin King wrote:
From: Colin Ian King<colin.king@canonical.com>
SRU Request:
When running the 'stress' stress testing tool a Lenovo Edge 11 locks
up because of CPU overheating. This is fixed using upstream patch
"cpuidle: menu: fixed wrapping timers at 4.294 seconds" (merge
commit f310642123e0d32d919c60ca3fab5acd130c4ba3 and 2.38.y stable
commit 4a1163dff6592dcee594b2bee597aafd749b93ee).
This patch fixes errors in predicted sleep times which selected
incorrect C states, causing increased power consumption and on some
machines overheating and critical thermal shutdown. The bug also
broke cpuidle state residency statistics which made it hard to spot
this bug.
With this fix, the Lenovo runs the stress test without locking up.
Also this fix reduces overall power consumption and hence longer
battery life.
BugLink: http://bugs.launchpad.net/bugs/774947
Tero Kristo (1):
cpuidle: menu: fixed wrapping timers at 4.294 seconds
drivers/cpuidle/governors/menu.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
This is a clean cherry-pick of 7467571f4480b273007517b26297c07154c73924
Acked-by: Tim Gardner <tim.gardner@canonical.com>
--
Tim Gardner tim.gardner@canonical.com
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
|