lkml.org 
[lkml]   [2001]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectACPI processor throttling problem in 2.4.10
Date
Hi,

with the 2.4.10 kernel my processor doesn't enter the C2 power state any
more. I found the reason to be the state promotion part of pr_power_idle()
which actually does no state promotion if bm_control is 0.
As far as I understand, the bm_control flag should only disable the C3 state
on machines where busmastering can't be controlled and not disable state
changing completely.
The attached patch should correct this problem.

Martin--- linux/drivers/acpi/ospm/processor/prpower.c.orig Sun Sep 23 18:42:32 2001
+++ linux/drivers/acpi/ospm/processor/prpower.c Fri Sep 28 13:01:45 2001
@@ -274,7 +274,7 @@
* by this state's promotion policy, prevents
* promotions from occuring.
*/
- if (bm_control && !(processor->power.bm_activity &
+ if (!bm_control || !(processor->power.bm_activity &
c_state->promotion.bm_threshold)) {
next_state = c_state->promotion.target_state;
}
\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.025 / U:0.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site