* ACPI processor throttling problem in 2.4.10
@ 2001-09-28 13:50 Martin Röder
0 siblings, 0 replies; only message in thread
From: Martin Röder @ 2001-09-28 13:50 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 444 bytes --]
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
[-- Attachment #2: prpower.diff --]
[-- Type: text/plain, Size: 471 bytes --]
--- 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;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-09-28 13:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-28 13:50 ACPI processor throttling problem in 2.4.10 Martin Röder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®