Re: BIOS and CPU C_states are strange

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

 



Hi,
> Only simple check value of edx.
> Well, unless CPU uses CPUID.5.EDX[31:20], the reserved area.

You mean that powertop is not correctly reading the states? Do you
mean that the BIOS reports better that the CPU ?

--------------------------
*Mahmood Naderan*



On Sat, Jun 20, 2009 at 7:26 AM, Edward Shao <laface.tw@xxxxxxxxx> wrote:
>
> Hi Mahmood,
>
> So far as I know, if your CPU is Intel, powertop maybe cause a misleading.
> Powertop uses CPUID.5.EDX to check CPU supported C states.
> According Intel's spec (Intel Processor Identification and the CPUID
> Instruction (Application Note 485), a CPU only has
>
> C0, C1, C2, C3, C4 (prior Core i7)
> C0, C1, C2, C6, C7 (Core i7 and subsequent)
>
> Check with source code of powertop
> while (edx) {
>                if (edx&7)
>                        printf("C%i ", i);
>                edx = edx >> 4;
>                i++;
>        }
> Only simple check value of edx.
> Well, unless CPU uses CPUID.5.EDX[31:20], the reserved area.
>
> Ps: I does not check AMD's spec.
>
> Best Regards,
> Edward
>
>
> On Sat, Jun 20, 2009 at 1:07 AM, Mahmood Naderan<mahmood.nt@xxxxxxxxx> wrote:
> > Hi,
> > I have run powertop with root permission with both AC and batter powers. The
> > reported C_States are the same and strange:
> >
> > mahmood@magma:~$ sudo powertop
> > PowerTOP 1.11   (C) 2007, 2008 Intel Corporation
> >
> > Collecting data for 5 seconds
> >
> > Your CPU supports the following C-states : C1 C2 C3 C4 C5 C6
> > Your BIOS reports the following C-states : C1 C2 C6
> >
> > Where are C4 and C5?
> >
> > --------------------------
> > *Mahmood Naderan*
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> > the body of a message to majordomo@xxxxxxxxxxxxxxx
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >
>
>
>
> --
> Best Regards,
> Edward
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux