public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Praveen C" <cpravn-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: acpi on r40e
Date: Thu, 18 Mar 2004 15:27:43 +0000 (GMT)	[thread overview]
Message-ID: <20040318152743.81889.qmail@web14525.mail.yahoo.com> (raw)

Hello,
I posted to this list about acpi problems on r40e. The processor module
was causing the system to hang and I found that cpu power management
was the cause of the trouble. So in drivers/acpi/processor.c, in
function acpi_processor_add(), I disabled power managment by setting
the power flag to zero as follows:

    /*
      Install the idle handler if processor power management is
supported.
      Note that the default idle handler (default_idle) will be used on

      platforms that only support C1.
     */
    pr->flags.power = 0; //Disable cpu power management for r40e
    if ((pr->id == 0) && (pr->flags.power)) {
        pm_idle_save = pm_idle;
        pm_idle = acpi_processor_idle;
    }

With this change the processor module does not hang. But the system is
always in C1 and it becomes hot (~50C) even when there is no load. Here
is

cat /proc/acpi/processor/cpu/*

processor id:            0
acpi id:                 1
bus mastering control:   yes
power management:        no
throttling control:      yes
limit interface:         yes
active limit:            P0:T0
user limit:              P0:T0
thermal limit:           P0:T0
active state:            C1
default state:           C1
bus master activity:     00000000
states:
   *C1:                  promotion[C2] demotion[--] latency[000]
usage[00000000]
    C2:                  promotion[C3] demotion[C1] latency[003]
usage[00000000]
    C3:                  promotion[--] demotion[C2] latency[250]
usage[00000000]
state count:             8
active state:            T0
states:
   *T0:                  00%
    T1:                  12%
    T2:                  25%
    T3:                  37%
    T4:                  50%
    T5:                  62%
    T6:                  75%
    T7:                  87%

I hope someone can find a solution for this.
Thanks
praveen

=====
http://www.cpraveen.tk/

________________________________________________________________________
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more. 
Go to: http://in.insurance.yahoo.com/licspecial/index.html


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

             reply	other threads:[~2004-03-18 15:27 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-18 15:27 Praveen C [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-03-02  5:57 acpi on r40e Praveen C
2004-02-25 17:53 Praveen C
2004-02-25  9:29 Yu, Luming
2004-02-21 14:27 Praveen C
2004-02-17  8:14 Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB6CD-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-02-17 16:36   ` Praveen C
2004-02-17  7:03 Brown, Len
     [not found] ` <BF1FE1855350A0479097B3A0D2A80EE0025A6413-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
2004-02-17  7:40   ` Ian Pilcher
2004-02-19 14:04   ` Praveen C
2004-02-21 13:26   ` Praveen C
2004-02-17  5:47 Yu, Luming
2004-02-17  5:10 Brown, Len
2004-02-16 10:25 Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB6C4-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-02-16 14:03   ` Praveen C
2004-02-13  5:46 Brown, Len
2004-02-13  4:22 Yu, Luming
2004-02-12  3:18 Yu, Luming
2004-02-10  5:18 Praveen C
     [not found] ` <Pine.LNX.4.44.0402101040090.27892-100000-8a50ANe9Mx0/NI2e8YfAcJ/QNRX+jHPU@public.gmane.org>
2004-02-11 21:48   ` Sandro Weiser
2004-02-08  5:31 Praveen C
2004-02-07 16:20 Praveen C
     [not found] ` <Pine.LNX.4.44.0402072145280.2886-100000-8a50ANe9Mx0/NI2e8YfAcJ/QNRX+jHPU@public.gmane.org>
2004-02-10  4:34   ` Len Brown
     [not found]     ` <1076387688.4110.576.camel-D2Zvc0uNKG8@public.gmane.org>
2004-02-10 16:12       ` Nate Lawson
2004-02-12 16:57       ` Praveen C
     [not found]         ` <20040212165744.446.qmail-78ZWb/MBLhGA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
2004-02-12 18:01           ` Nate Lawson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040318152743.81889.qmail@web14525.mail.yahoo.com \
    --to=cpravn-/e1597as9lqavxtiumwx3w@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox