From: David Brownell <david-b@pacbell.net>
To: Pavel Machek <pavel@ucw.cz>
Cc: linux-kernel@vger.kernel.org
Subject: Re: fix u32 vs. pm_message_t in usb
Date: Thu, 7 Apr 2005 13:49:23 -0700 [thread overview]
Message-ID: <200504071349.23531.david-b@pacbell.net> (raw)
In-Reply-To: <20050405213832.GJ1380@elf.ucw.cz>
On Tuesday 05 April 2005 2:38 pm, Pavel Machek wrote:
> It seems to me that USB stack still needs some u32-vs-pm_message_t
> changes (in rc2-mm1):
>
> Could you apply them?
I see someone changed the requirements for platform_device too ... :)
This patch is mostly NOPs, but many of them tromp on other patches I have
in the works. So I'd rather hold off for now, using the rest of the
2.6.12-rc series for only real honest-to-gosh bugfixes. (Isn't that
supposed to be the current goal, in any case?)
Something that's not exactly a NOP:
> --- clean-mm/drivers/usb/host/ohci-omap.c 2005-04-05 10:55:21.000000000 +0200
> +++ linux-mm/drivers/usb/host/ohci-omap.c 2005-04-05 12:13:38.000000000 +0200
> @@ -458,9 +458,11 @@
>
> /* states match PCI usage, always suspending the root hub except that
> * 4 ~= D3cold (ACPI D3) with clock off (resume sees reset).
> + *
> + * FIXME: above comment is not right, and code is wrong, too :-(.
The comment is exactly right, and matches the code. Has done so for
most of a year now, in fact.
What's wrong is the way that the pm_message_t changes have discarded
functionality ... including, as a specific example, the ability for
drivers to do the right thing based on what kind of suspend state
they're entering. (Because pm_message_t is effectively a boolean,
rather than a something that's multi-valued.)
I'll repeat myself again, at the risk of being redundant: we need
to actually fix this pm_message_t thing to _work_ rather than paper
over its botches by discarding functionality.
- Dave
next prev parent reply other threads:[~2005-04-07 20:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20050405104202.GD1330@openzaurus.ucw.cz>
2005-04-05 21:38 ` Pavel Machek
2005-04-07 20:49 ` David Brownell [this message]
2005-04-03 18:06 David Brownell
-- strict thread matches above, loose matches on Subject: below --
2005-04-02 21:14 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=200504071349.23531.david-b@pacbell.net \
--to=david-b@pacbell.net \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
/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
all inboxes | Powered by JetHome®