From: Pavel Machek <pavel@ucw.cz>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: "Scott E. Preece" <preece@motorola.com>,
akpm@osdl.org, linux-pm@lists.osdl.org,
linux-kernel@vger.kernel.org
Subject: Re: [linux-pm] [patch] pm: fix runtime powermanagement's /sys interface
Date: Thu, 5 Jan 2006 22:44:32 +0100 [thread overview]
Message-ID: <20060105214432.GE2095@elf.ucw.cz> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0601051631200.6460-100000@iolanthe.rowland.org>
On Čt 05-01-06 16:37:52, Alan Stern wrote:
> > > And it's not all that complex. Certainly no more complex than forcing
> > > userspace tools to use {"on", "D1, "D2", "suspend"} instead of the
> > > much-more-logical {"D0", "D1", "D2", "D3"}.
> >
> > It is not much more logical. First, noone really needs D1 and
> > D2. Plus, people want to turn their devices on and off, and don't want
> > and should not have to care about details like D1.
>
> Who are you to say what people really need? What about people who want to
> test their PCI device and see if it behaves properly in D1 or D2? How are
> they going to do that if you don't let them put it in that state?
> What about people with platform-specific non-PCI devices that have a whole
> bunch of different internal power states? Why force them to use only two
> of those states?
Its okay with me to add more states _when they are needed_. Just now,
many drivers do not even handle system suspend/resume correctly.
> The kernel isn't supposed to prevent people from doing perfectly legal
> things. The kernel should provide mechanisms to help people do what they
> want.
We are not adding random crap to kernel just because "someone may need
it". And yes, having aliases counts as "random crap". Perfectly legal
but totally useless things count as a random crap, too.
Bring example hardware that needs more than two states, implement
driver support for that, and then we can talk about adding more than
two states into core code.
Pavel
--
Thanks, Sharp!
next prev parent reply other threads:[~2006-01-05 21:44 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-05 15:16 [patch] pm: fix runtime powermanagement's /sys interface Scott E. Preece
2006-01-05 16:41 ` [linux-pm] " Alan Stern
2006-01-05 21:14 ` Pavel Machek
2006-01-05 21:37 ` Alan Stern
2006-01-05 21:44 ` Pavel Machek [this message]
2006-01-05 21:48 ` Patrick Mochel
-- strict thread matches above, loose matches on Subject: below --
2006-01-06 1:37 Patrick Mochel
2006-01-06 15:42 ` Alan Stern
2006-01-07 7:41 ` [linux-pm] " Adam Belay
2006-01-05 22:13 Preece Scott-PREECE
2006-01-05 21:43 Patrick Mochel
2006-01-05 22:06 ` [linux-pm] " Alan Stern
2005-12-27 21:34 Pavel Machek
2005-12-27 21:55 ` Dmitry Torokhov
2005-12-27 22:05 ` Pavel Machek
2005-12-28 4:22 ` Patrick Mochel
2006-01-04 21:34 ` [linux-pm] " Pavel Machek
2006-01-04 22:06 ` Alan Stern
2006-01-04 22:16 ` [linux-pm] " Pavel Machek
2006-01-05 21:42 ` Patrick Mochel
2006-01-05 21:55 ` Pavel Machek
2006-01-05 22:13 ` [linux-pm] " Dominik Brodowski
2006-01-05 22:23 ` Pavel Machek
2006-01-05 22:27 ` Dominik Brodowski
2006-01-05 22:59 ` Pavel Machek
2006-01-05 23:08 ` Pavel Machek
2006-01-05 23:46 ` [linux-pm] " Dominik Brodowski
2006-01-06 0:38 ` Greg KH
2006-01-06 15:03 ` Dominik Brodowski
2006-01-06 16:25 ` Kay Sievers
2006-01-09 20:10 ` [linux-pm] " Dominik Brodowski
2006-01-05 22:15 ` Patrick Mochel
2006-01-05 22:44 ` Pavel Machek
2006-01-05 23:54 ` Patrick Mochel
2006-01-06 0:07 ` [linux-pm] " Pavel Machek
2006-01-06 14:34 ` Tom Marshall
2006-01-06 16:20 ` Pavel Machek
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=20060105214432.GE2095@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.osdl.org \
--cc=preece@motorola.com \
--cc=stern@rowland.harvard.edu \
/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