All of lore.kernel.org
 help / color / mirror / Atom feed
* 8 cstates but only 4 to use?
@ 2006-03-04  5:54 David W. Hankins
  2006-03-04 12:44 ` Dominik Brodowski
  0 siblings, 1 reply; 2+ messages in thread
From: David W. Hankins @ 2006-03-04  5:54 UTC (permalink / raw)
  To: linux-acpi

I looked through the excellent Howto/FAQ provided by Glenn Ariel (thank
you, sir), and he answered a lot of my questions, but was unable to find
the answer to one remaining niggling curiosity.

The 'power' procfile lists a max_cstate of C8, but only lists C1-C4 as
usable states to enter...I notice it is also this way in the example
file output provided in Mr. Ariel's howto, so this must not be uncommon
or new.

But, if 8 states are avaialble, why are only 4 in use?

>From a cursory investigation of the sources, it seems through #def's,
this is a fixed upper limit.

And I figure it can't be just that no one ever thought to #define 5-9,
that would be silly.

Thanks in advance, sorry if this is in a FAQ elsewhere, google is getting
a lot of folks' dmesg output when I try to find answers along these lines.

-- 
David W. Hankins		"If you don't do it right the first time,
Software Engineer			you'll just have to do it again."
Internet Systems Consortium, Inc.		-- Jack T. Hankins

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 8 cstates but only 4 to use?
  2006-03-04  5:54 8 cstates but only 4 to use? David W. Hankins
@ 2006-03-04 12:44 ` Dominik Brodowski
  0 siblings, 0 replies; 2+ messages in thread
From: Dominik Brodowski @ 2006-03-04 12:44 UTC (permalink / raw)
  To: David W. Hankins; +Cc: linux-acpi

Hi,

On Sat, Mar 04, 2006 at 05:54:23AM +0000, David W. Hankins wrote:
> The 'power' procfile lists a max_cstate of C8, but only lists C1-C4 as
> usable states to enter...I notice it is also this way in the example
> file output provided in Mr. Ariel's howto, so this must not be uncommon
> or new.

max_cstate is the maximum the kernel would make use of if they were provided
by the hardware and by the BIOS. However,

> But, if 8 states are avaialble, why are only 4 in use?

it is quite common that only one, two, three or -- at most! -- four of these
states are actually available on a system. The ACPI core allows for eight to
be ready for future systems which might have more than these four available.

	Dominik

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-03-04 12:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-04  5:54 8 cstates but only 4 to use? David W. Hankins
2006-03-04 12:44 ` Dominik Brodowski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.