From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: ACPI code in platform mode hibernation code paths (was: Re: [PATCH] swsusp: do not use pm_ops) Date: Fri, 4 May 2007 14:08:02 +0200 Message-ID: <20070504120802.GF13426@elf.ucw.cz> References: <20070425072350.GA6866@ucw.cz> <200705021542.24988.rjw@sisk.pl> <8f8ff01d0705020711r630b8b92sdd2cd9316eb39edc@mail.gmail.com> <200705022126.47897.rjw@sisk.pl> <20070503224807.GD13426@elf.ucw.cz> <1178276072.7408.7.camel@johannes.berg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from gprs189-60.eurotel.cz ([160.218.189.60]:59779 "EHLO amd.ucw.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752987AbXEDMIK (ORCPT ); Fri, 4 May 2007 08:08:10 -0400 Content-Disposition: inline In-Reply-To: <1178276072.7408.7.camel@johannes.berg> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Johannes Berg Cc: "Rafael J. Wysocki" , Alexey Starikovskiy , linux-pm@lists.linux-foundation.org, Pekka Enberg , Nigel Cunningham , ACPI Devel Maling List Hi! > > Crazy idea... could we kill hibernate_ops-like struct, and just create > > a device for ACPI, using its suspend()/resume()/whatever callbacks to > > do the ACPI magic? > > Doesn't that have the ordering problem again? You must ensure that this > sysdev is suspended as the last one, and that's currently impossible if > ACPI is modular. I do not think acpi has these kinds of ordering requirements... (And I do not see what it has to do with module or not). -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html