LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Pavel Machek <pavel@ucw.cz>
Cc: kernel list <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@osdl.org>
Subject: Re: "reboot" swsusp mode leaves moon icon blinking
Date: Tue, 20 Mar 2007 22:03:26 +0100 [thread overview]
Message-ID: <200703202203.27009.rjw@sisk.pl> (raw)
In-Reply-To: <20070320172023.GA2593@elf.ucw.cz>
On Tuesday, 20 March 2007 18:20, Pavel Machek wrote:
> Hi!
>
> > > ...and cause is really simple.
> > >
> > > During resume, we do not know that "reboot" method was used, so we
> > > assume plaform and make the led blink...
> > >
> > > Unfortunately I see no easy solution, and this may/will cause other
> > > problems -- in case of broken bios and user telling us not to call
> > > that bios, we'll call it anyway.
> > >
> > > (Ouch and I think this is regression after 2.6.20?)
> >
> > I'm not sure, will check that later.
> >
> > The solution would be to pass the information about the suspend mode used
> > in the image header, I think (that's what uswsusp does after my recent patch).
>
> Yes, we could do that.
>
> OTOH, we could simply avoid calling the platform code in resume
> path. It worked ok for a long while, and it seems to have no
> downsides...
No, we have always done it, actually, but not in this particular place. ;-)
In theory, avoiding it could be problematic, because of the pm_ops->finish()
that gets called after the image has been restored (if the platform mode was
used for suspending). Still, I think we can try.
Greetings,
Rafael
next prev parent reply other threads:[~2007-03-20 21:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-20 12:32 Pavel Machek
2007-03-20 16:50 ` Johannes Weiner
2007-03-20 17:00 ` Rafael J. Wysocki
2007-03-20 18:01 ` Pavel Machek
2007-03-20 22:11 ` Johannes Weiner
2007-03-20 17:05 ` Rafael J. Wysocki
2007-03-20 17:20 ` Pavel Machek
2007-03-20 21:03 ` Rafael J. Wysocki [this message]
2007-03-20 22:10 ` 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=200703202203.27009.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
--subject='Re: "reboot" swsusp mode leaves moon icon blinking' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).