Re: [PATCH] Dynamic tick for x86 version 050609-2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[email protected] wrote:
> On Mon, 13 Jun 2005 20:01:11 +0200, Thomas Renninger said:
> 
>>>Should there be a C3/C4?  Is my laptop just plain borked? :)
>>Depends on your machine and BIOS, whether it's supported -> seems as if it's not.
>>
>>You could verify by having a deeper look in your FADT/DSDT.
>>You need the acpi tools from Len Brown (acpidmp/acpixtract) and the iasl Intel ACPI
>>compiler.
>>AFAIK checking for C-support is rather robust in recent kernels as long as you don't have a broken
>>DSDT table.
> 
> OK, found acpidmp and iasl, now have a decompiled DSDT - now to figure out
> if it's busticated or not.... :)

There are two ways C-state addresses are exported to OS.

     - Some flags in the FADT (-> ACPI spec) -> this gives you two C-states maximum, AFAIK.
     - Through the _CST function in your DSDT (-> ACPI spec, sorry). If you have
       have a look in dsdt.dsl at the _CST function there are that much packages returned as
       your BIOS claims to support. Hmm, _CST code is often in the SSDT an extention
       of the DSDT code. If you have one: acpidmp > acpidmp; acpixtract ssdt acpidmp >my_ssdt;
       iasl -d my_ssdt.

If your dsdt/ssdt compiles again without errors (better tell me privately if you get some),
you should not have much hope, higher states are probably not supported.

You could also increase ACPI debug output when loading the processor module to get more information:
cat /proc/acpi/debug_level /proc/acpi/debug_layer
echo 0x00000FFF >/proc/acpi/debug_level      (or whatever enables INFO, you need ACPI_DEBUG defined)
modprobe processor

      Thomas
> 
>>Maybe you find a newer BIOS supporting C3?
> 
> Nope, I just checked, and the A13 BIOS from 02/06/2004 is the latest that Dell
> has released for the C840.  Not much hope there unless there's some special
> secret site that even newer BIOS updates hide until they escape.. ;)
>  
>>To be honest, I doubt you save much power even with dyn tick enabled if you only have support
>>for C1 and C2. The pmstats tool from Tony (see link above)
>>could tell you nicely whether you gain anything.
> 
> Well, it's a start, anyhow. :)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux