From: Len Brown <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: Dominik Brodowski
<linux-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org>
Cc: ACPI Developers
<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
Robert Moore
<robert.moore-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
Bruno Ducrot <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
Subject: Re: Re: [PATCHES] add _CST support
Date: 23 Dec 2004 00:02:13 -0500 [thread overview]
Message-ID: <1103778133.2567.45.camel@d845pe> (raw)
In-Reply-To: <20041223000842.GA8289-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org>
On Wed, 2004-12-22 at 19:08, Dominik Brodowski wrote:
> On Wed, Dec 22, 2004 at 12:44:05AM -0500, Len Brown wrote:
> > On Sat, 2004-11-27 at 16:51, Dominik Brodowski wrote:
> >
> > > - make acpi_cstate_limit aware of c-state types instead of
> numbers, as the latter mean (almost) nothing
> >
> > While both C3 and C4 will be of type-C3, I'd like to still be able
> to disable C4 without disabling C3.
>
> If we can agree not to call it "C3" and "C4", yes... The problem is
> the C-nomination is sort of a _type_ which is overloaded with the
> actual states.
C-states are enumerated C0...Cn
C-state types are enumerated C1, C2, C3.
I don't see any confusion in the name-space duplicates
as long as you know you're talking about C-states or C-state-types.
> I.e. you could have C0 state, C1 state, 2 different C2 states, and 2
> different C3 states. Then you'd have
>
> number type overloaded C-notation
>
> 0 C0 C0
> 1 C1 C1
> 2 C2 C2
> 3 C2 C3 <--- confusion/breakage
> 4 C3 C4
> 5 C3 C5
while it is probably unlikely for a system to supply
multiple C2-type states, it would be perfectly legal
and should not cause either confusion or breakage.
> Also, drivers like the ipw driver will want to disable all of _type_
> C3 sleep, AFAICS. Therefore, if you want to limit it by number instead
> of type as well, I'd suggest to add another differently named
> parameter.
I'd rather delete the workaround than further complicate it.
The workaround specifies the maximum C-state allowed (max_cstate) -- it
doesn't specify the minimum C-state type dis-allowed.
So when ipw2100 says acpi_set_cstate_limit(2), this will always work.
Yes, you could invent a system like this
type c-state
C1 C1
C3 C2
C3 C3
and that would break. But by the time somebody invents that
system, the ipw2100 which needs this workaround will not be present. It
has been replaced by the 2200BG, which has been replaced by the 2915ABG.
-Len
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
next prev parent reply other threads:[~2004-12-23 5:02 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-27 21:51 [PATCHES] add _CST support Dominik Brodowski
[not found] ` <20041127215118.GA30309-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org>
2004-11-27 21:56 ` Dominik Brodowski
2004-12-22 5:44 ` Len Brown
2004-12-23 0:08 ` Dominik Brodowski
[not found] ` <20041223000842.GA8289-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org>
2004-12-23 5:02 ` Len Brown [this message]
2004-12-23 13:07 ` Pavel Machek
[not found] ` <20041223130723.GE731-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>
2004-12-28 3:27 ` Len Brown
2004-12-28 17:50 ` Dominik Brodowski
2004-12-28 21:28 ` Pavel Machek
2004-12-22 6:52 ` Len Brown
2004-12-22 20:37 ` Len Brown
2004-12-23 0:18 ` Dominik Brodowski
[not found] ` <20041223001830.GC8289-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org>
2004-12-23 5:30 ` Len Brown
2004-12-23 0:10 ` Dominik Brodowski
[not found] ` <20041223001024.GB8289-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org>
2004-12-23 5:07 ` Len Brown
2004-12-22 7:22 ` Len Brown
2004-12-22 20:13 ` Len Brown
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=1103778133.2567.45.camel@d845pe \
--to=len.brown-ral2jqcrhueavxtiumwx3w@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org \
--cc=linux-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org \
--cc=robert.moore-ral2JQCrhuEAvxtiuMwx3w@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