mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: Patrick Mochel <mochel@osdl.org>
Cc: kernel list <linux-kernel@vger.kernel.org>,
	ACPI mailing list <acpi-devel@lists.sourceforge.net>
Subject: Re: [2.5.50, ACPI] link error
Date: Fri, 6 Dec 2002 01:31:01 +0100	[thread overview]
Message-ID: <20021206003101.GC15784@atrey.karlin.mff.cuni.cz> (raw)
In-Reply-To: <Pine.LNX.4.33.0212051752060.974-100000@localhost.localdomain>

Hi!

> > > S3 support is a subset of what is need for S4 support. 
> > 
> > That's not true. acpi_wakeup.S is nasty piece of code, needed for S3
> > but not for S4. Big part of driver support is only needed for S3.
> 
> Ok, acpi_wakeup.S is only for S3.
> 
> As for drivers, I'm dubious of swsusp's handling of device and driver
> support. A suspend cycle is supposed to leave devices in the same state

Some devices do not really have a state (timer -- it needs to be set
to 1kHz, but that's it), and they do not need support for S4 but need
it for S3.

> > > The comment in the config option should tell the user that they 
> > > must choose a suspend implementation (e.g. CONFIG_SUSPEND, which should 
> > > prolly be CONFIG_SWAP_SUSPEND) in order to get complete S4 support. (The 
> > > ACPI side can make an empty call to swsusp if no implementation is 
> > > selected). 
> > 
> > S3 needs process stopper from kernel/suspend.c. I did not want to have
> > #ifdefs all over suspend.c...
> 
> Then break it up into separate files in a separate directory.

Uff, having kernel/suspend/freezer.c and kernel/suspend/disk.c would
seem very ugly to me, and freezer is pretty short in fact... I do not
think we want separate directory for suspend.

> > > Some time ago, I made a BK repo for suspend support. I axed it, since no 
> > > one ever used it. But, it's back again, and I'll be integrating your 
> > > patches and try to dedicate a few extra cycles to resolving some of the 
> > > issues. I'll send an announcement to the list once I've integrated your 
> > > patches. 
> > 
> > I probably will not persuade you to make it CVS, right? [Sorry, I'm
> > not going to touch bitkeeper.]
> 
> I know, and that's fine. I won't touch CVS again, unless there's a hefty 
> sum and a lot of good beer involved. (Or, after I've consumed a lot of 
> good beer). Patches can be made from the repo, most easily after merging 
> to a new kernel version.

:-) there should be some good beer around here ;-).

I'd like to keep it simple for now. I feel alone developing sleep on
2.5, and it is easier for me not to ave to test different
configurations. So I think ACPI_SLEEP requiring SOFTWARE_SUSPEND is
okay for now (code bloat is not too bad). If you are joining and will
work on ACPI_SLEEP && !SOFTWARE_SUSPEND, you can easily catch
non-compilations and similar mistakes, and it will be okay to separate
the two.

								Pavel
-- 
Casualities in World Trade Center: ~3k dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.

  reply	other threads:[~2002-12-06  0:23 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-02 20:24 Jochen Hein
2002-12-03 18:07 ` Eric Altendorf
2002-12-03 18:35   ` Jochen Hein
2002-12-03 20:47     ` Eric Altendorf
2002-12-05 17:31       ` Pavel Machek
2002-12-05 22:21         ` Jeff Garzik
2002-12-05 22:24           ` Pavel Machek
2002-12-05 22:27             ` Jeff Garzik
2002-12-05 22:33               ` Pavel Machek
2002-12-05 22:38                 ` Jeff Garzik
2002-12-05 22:40                   ` Pavel Machek
2002-12-05 22:43                     ` Patrick Mochel
2002-12-06  0:06                       ` Pavel Machek
2002-12-06  0:05                         ` Patrick Mochel
2002-12-06  0:31                           ` Pavel Machek [this message]
2002-12-06  0:36                         ` Jeff Garzik
2002-12-06 18:57                         ` [ACPI] " Ducrot Bruno
2002-12-06 23:05                           ` Ducrot Bruno
2002-12-08 19:49                           ` Pavel Machek
2002-12-08 20:46                             ` Constantinos Antoniou
2002-12-09 10:40                               ` Ducrot Bruno
2002-12-09 10:28                             ` Ducrot Bruno
2002-12-09 11:01                               ` Pavel Machek
2002-12-09 17:42                                 ` Ducrot Bruno
2002-12-07 14:02               ` David Ford
2002-12-07  5:50         ` Eric Altendorf
2002-12-09  7:29           ` Pavel Machek
2002-12-16  3:40             ` Eric Altendorf
2002-12-16 11:16               ` Pavel Machek
2002-12-04 11:41 ` Pavel Machek
2002-12-04 13:50   ` Adrian Bunk
2002-12-04 19:16     ` Jochen Hein
2002-12-04 20:29     ` Roman Zippel
2002-12-04 21:05 Shawn Starr
2002-12-04 21:26 ` Roman Zippel
     [not found]   ` <200212041630.40446.shawn.starr@datawire.net>
2002-12-04 21:44     ` Roman Zippel
     [not found]       ` <200212041653.04475.shawn.starr@datawire.net>
     [not found]         ` <200212041720.14647.shawn.starr@datawire.net>
2002-12-04 22:40           ` Roman Zippel
2002-12-06  8:17 ` Pavel Machek
     [not found] <200212042312.gB4NC8UJ021406@BlackBerry.NET>
2002-12-04 23:37 ` Roman Zippel
     [not found]   ` <200212051057.14882.shawn.starr@datawire.net>
2002-12-05 16:47     ` Roman Zippel

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=20021206003101.GC15784@atrey.karlin.mff.cuni.cz \
    --to=pavel@suse.cz \
    --cc=acpi-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mochel@osdl.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

all inboxes | Powered by JetHome®